/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 35 size_t dim = nInDims - 1; local 37 while (dim-- > 0) { 38 mInDimOffsets[dim] = mInDimOffsets[dim + 1] * mInDims[dim + 1]; 45 size_t dim = mNumInDims; local 46 while (dim-- > 0) { 47 if (CC_UNLIKELY(intCoord[dim] < 0)) { 48 fracCoord[dim] = 0; 49 } else if (CC_UNLIKELY(intCoord[dim] > 59 getCoefRecurse(size_t index, const uint32_t fracCoord[], audio_coef_t out[], size_t dim) argument [all...] |
H A D | AudioCoefInterpolator.h | 84 // dim The input dimensions we are currently interpolating. This 87 audio_coef_t out[], size_t dim);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | vec_types.h | 23 template < class T, int dim> 26 T data[dim]; 28 VecBase<T,dim>& operator = (const VecBase<T, dim> &x) { 29 memcpy(data, x.data, sizeof(T)*dim); 42 for (int i = 0; i < dim; ++i) 48 template < class T, int dim> 49 class Vec : public VecBase<T,dim> { 52 Vec<T,dim>& operator = (const Vec<T, dim> [all...] |
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | launchtest.rs | 20 const int dim = 2048; 24 for (int i=0; i<dim; i++) {
|
H A D | LaunchTest.java | 31 final int dim = mScript.get_dim(); 33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim); 35 tb.setX(dim); 36 tb.setY(dim);
|
/frameworks/native/opengl/tests/textures/ |
H A D | textures.cpp | 63 GLint dim = w<h ? w : h; 106 glDrawTexiOES(0, 0, 0, dim/2, dim/2); 109 glDrawTexiOES(dim/2, 0, 0, dim/2, dim/2); 112 glDrawTexiOES(0, dim/2, 0, dim/2, dim/2); 115 glDrawTexiOES(dim/ [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ToGrayValuesFilter.java | 85 int[] dim = inputImage.getDimensions(); 91 int modular = dim[0] % 4; 92 int[] outDim = new int[] {dim[0] - modular, dim[1]}; 98 mShader.setSourceQuad(Quad.fromRect(0f, 0f, ((float)outDim[0])/dim[0], 1f)); 106 outputFrame = outPort.fetchAvailableFrame(dim).asFrameBuffer2D();
|
H A D | Frame.java | 162 int[] dim = mBackingStore.getDimensions(); 163 return dim != null ? Arrays.copyOf(dim, dim.length) : null;
|
H A D | FrameBuffer1D.java | 98 for (int dim : dimensions) { 99 mLength *= dim;
|
H A D | BrightnessFilter.java | 81 int[] dim = inputImage.getDimensions(); 82 FrameImage2D outputImage = outPort.fetchAvailableFrame(dim).asFrameImage2D();
|
H A D | BackingStore.java | 156 for (int dim : mDimensions) { 157 result *= dim; 701 for (int dim : mDimensions) { 702 size *= dim; 904 for (int dim : mDimensions) { 905 elementCount *= dim;
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 68 GLint dim = w<h ? w : h; 141 //glDrawTexiOES(0, 0, 0, dim, dim); 145 { 0, dim }, 146 { dim, dim }, 147 { dim, 0 } 162 glScissor(0,dim,dim,h-dim); [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | DigitsKeyListener.java | 118 DigitsKeyListener dim = new DigitsKeyListener(); 120 dim.mAccepted = new char[accepted.length()]; 121 accepted.getChars(0, accepted.length(), dim.mAccepted, 0); 123 return dim;
|
/frameworks/rs/ |
H A D | rsAdapter.cpp | 66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { argument 68 switch (dim) { 140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { argument 142 switch (dim) {
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 99 private float[] randvec_float(int dim) { argument 100 float[] fv = new float[dim]; 101 for (int i = 0; i < dim; ++i) 105 private byte[] randvec_char(int dim) { argument 106 byte[] cv = new byte[dim]; 110 private short[] randvec_uchar(int dim) { argument 111 short[] ucv = new short[dim]; 112 for (int i = 0; i < dim; ++i) 116 private short[] randvec_short(int dim) { argument 117 short[] sv = new short[dim]; 122 randvec_ushort(int dim) argument 128 randvec_int(int dim) argument 134 randvec_uint(int dim) argument 140 randvec_long(int dim) argument [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 99 private float[] randvec_float(int dim) { argument 100 float[] fv = new float[dim]; 101 for (int i = 0; i < dim; ++i) 105 private byte[] randvec_char(int dim) { argument 106 byte[] cv = new byte[dim]; 110 private short[] randvec_uchar(int dim) { argument 111 short[] ucv = new short[dim]; 112 for (int i = 0; i < dim; ++i) 116 private short[] randvec_short(int dim) { argument 117 short[] sv = new short[dim]; 122 randvec_ushort(int dim) argument 128 randvec_int(int dim) argument 134 randvec_uint(int dim) argument 140 randvec_long(int dim) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 168 void setSourceDim(HwcTestDim dim); 729 HwcTestDim dim(w, startDim.height()); 730 Rectangle rect(format, dim); 753 HwcTestDim dim(startDim.width(), h); 754 Rectangle rect(format, dim); 777 HwcTestDim dim(w, startDim.height()); 778 Rectangle rect(format, dim); 800 HwcTestDim dim(startDim.width(), h); 801 Rectangle rect(format, dim); 835 HwcTestDim dim( 1042 HwcTestDim dim = searchLimits.sourceCrop; local 1320 setSourceDim(HwcTestDim dim) argument [all...] |
H A D | hwcTestLib.cpp | 265 HwcTestDim dim; local 275 if (!in || ((chStart != '<') && (chStart != '['))) { return dim; } 279 if (!in) { return dim; } 280 dim.setWidth(val); 282 if (!in || (ch != ',')) { return dim; } 286 if (!in) { return dim; } 287 dim.setHeight(val); 291 if (!in) { return dim; } 293 || ((chStart == '[') && (ch != ']'))) { return dim; } 296 if ((dim [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 307 for (int dim = 0; dim <= 1; dim++) { 308 if (coef[dim] > 0) adjustment[dim] = FloatMath.ceil(adjustment[dim]);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | qpisf_2s.c | 41 Word16 dim, /* input : dimention of vector */ 446 Word16 dim, /* input : dimention of vector */ 463 for (j = 0; j < dim; j++) 479 p_dico = &dico[index * dim]; 480 for (j = 0; j < dim; j++) 492 Word16 dim, /* input : dimention of vector */ 516 for (j = 0; j < dim; j++) 443 Sub_VQ( Word16 * x, Word16 * dico, Word16 dim, Word16 dico_size, Word32 * distance ) argument 489 VQ_stage1( Word16 * x, Word16 * dico, Word16 dim, Word16 dico_size, Word16 * index, Word16 surv ) argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardTransportControlView.java | 278 final int dim = Math.max(dm.widthPixels, dm.heightPixels); 279 mRemoteController.setArtworkConfiguration(true, dim, dim); 366 final int dim = Math.max(dm.widthPixels, dm.heightPixels); 367 mRemoteController.setArtworkConfiguration(true, dim, dim);
|
/frameworks/base/tools/aidl/ |
H A D | AST.cpp | 163 string dim; local 165 dim += "[]"; 167 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(), 742 string dim; local 744 dim += "[]"; 747 dim.c_str());
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | gl2_perf.cpp | 121 GLint dim = w < h ? w : h;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 242 // Set the dim to 0 so we can animate it in 258 // Apply the current dim 271 // Animate the dim/overlay 273 // Animate the thumbnail alpha before the dim animation (to prevent updating the 284 // Immediately start the dim animation 391 // Animate the dim 393 ObjectAnimator anim = ObjectAnimator.ofInt(this, "dim", 0); 517 /** Returns the current dim. */ 518 public void setDim(int dim) { argument 519 mDimAlpha = dim; [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | Android.mk | 275 # dim 285 dim.c
|