Searched refs:dim (Results 1 - 25 of 30) sorted by last modified time

12

/frameworks/wilhelm/tests/sandbox/
H A DAndroid.mk269 # dim
279 dim.c
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java33 final int dim = mScript_xlw.get_dim();
35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
37 tb.setX(dim);
38 tb.setY(dim);
H A Dlaunchtestxlw.rs20 const int dim = 2048;
25 p += x * dim;
26 for (int i=0; i<dim; i++) {
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_math_agree.java99 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 DUT_math_agree.java99 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/
H A DrsAdapter.cpp66 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/compile/slang/
H A Dslang_rs_export_type.cpp866 #define ENUM_RS_MATRIX_TYPE(type, cname, dim) \
H A Dslang_rs_spec_table.cpp33 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) x,
244 // ENUM_RS_MATRIX_TYPE(type, cname, dim)
306 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) \
307 new RSMatrixDataTypeSpec(#x , name, dim),
H A Dslang_rs_type_spec.h83 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) RS_DT_ ## x,
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp66 GLint dim = w<h ? w : h;
139 //glDrawTexiOES(0, 0, 0, dim, dim);
143 { 0, dim },
144 { dim, dim },
145 { dim, 0 }
160 glScissor(0,dim,dim,h-dim);
[all...]
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp66 GLint dim = w<h ? w : h;
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp335 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp446 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp401 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp267 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp120 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp291 GLint dim = w < h ? w : h;
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp169 void setSourceDim(HwcTestDim dim);
730 HwcTestDim dim(w, startDim.height());
731 Rectangle rect(format, dim);
754 HwcTestDim dim(startDim.width(), h);
755 Rectangle rect(format, dim);
778 HwcTestDim dim(w, startDim.height());
779 Rectangle rect(format, dim);
801 HwcTestDim dim(startDim.width(), h);
802 Rectangle rect(format, dim);
836 HwcTestDim dim(
1043 HwcTestDim dim = searchLimits.sourceCrop; local
1321 setSourceDim(HwcTestDim dim) argument
[all...]
H A DhwcTestLib.cpp261 HwcTestDim dim; local
271 if (!in || ((chStart != '<') && (chStart != '['))) { return dim; }
275 if (!in) { return dim; }
276 dim.setWidth(val);
278 if (!in || (ch != ',')) { return dim; }
282 if (!in) { return dim; }
283 dim.setHeight(val);
287 if (!in) { return dim; }
289 || ((chStart == '[') && (ch != ']'))) { return dim; }
292 if ((dim
[all...]
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp62 GLint dim = w<h ? w : h;
105 glDrawTexiOES(0, 0, 0, dim/2, dim/2);
108 glDrawTexiOES(dim/2, 0, 0, dim/2, dim/2);
111 glDrawTexiOES(0, dim/2, 0, dim/2, dim/2);
114 glDrawTexiOES(dim/
[all...]
/frameworks/base/tools/aidl/
H A DAST.cpp163 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/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java228 int dim = Math.min(512, Math.max(w, h));
229 if (DEBUG) Log.v(TAG, "TCV uses bitmap size=" + dim);
230 mAudioManager.remoteControlDisplayUsesBitmapSize(mIRCD, dim, dim);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameFormat.java426 for (int dim : dimensions) {
427 size *= dim;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h23 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/base/core/java/android/text/method/
H A DDigitsKeyListener.java118 DigitsKeyListener dim = new DigitsKeyListener();
120 dim.mAccepted = new char[accepted.length()];
121 accepted.getChars(0, accepted.length(), dim.mAccepted, 0);
123 return dim;

Completed in 534 milliseconds

12