/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | ColorCube.java | 37 final int sz = 16; in initCube() local 42 tb.setZ(sz); in initCube() 46 int dat[] = new int[sx * sy * sz]; in initCube() 47 for (int z = 0; z < sz; z++) { in initCube() 53 v |= (0xff * z / (sz - 1)) << 16; in initCube()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | ColorCube.java | 45 final int sz = 16; in initCube() local 50 tb.setZ(sz); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 55 for (int z = 0; z < sz; z++) { in initCube() 61 v |= (0xff * z / (sz - 1)) << 16; in initCube()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ColorCube.java | 45 final int sz = 16; in initCube() local 50 tb.setZ(sz); in initCube() 54 int dat[] = new int[sx * sy * sz]; in initCube() 55 for (int z = 0; z < sz; z++) { in initCube() 61 v |= (0xff * z / (sz - 1)) << 16; in initCube()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 120 if (v->sz < -sw) z0out++; /* out on near */ in poly_clip_to_frustum() 121 if (v->sz > sw) z1out++; /* out on far */ in poly_clip_to_frustum() 145 if (z0out) CLIP_AND_SWAP(sz, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum() 146 if (z1out) CLIP_AND_SWAP(sz, 1.0f, 1.0f, p, q, r); in poly_clip_to_frustum()
|
D | poly.h | 35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 656 float sz = (float) Math.sin(z); in setRotateEulerM() local 661 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM() 665 rm[rmOffset + 4] = cxsy * cz + cx * sz; in setRotateEulerM() 666 rm[rmOffset + 5] = -cxsy * sz + cx * cz; in setRotateEulerM() 670 rm[rmOffset + 8] = -sxsy * cz + sx * sz; in setRotateEulerM() 671 rm[rmOffset + 9] = sxsy * sz + sx * cz; in setRotateEulerM() 718 float sz = fx * upY - fy * upX; in setLookAtM() local 721 float rls = 1.0f / Matrix.length(sx, sy, sz); in setLookAtM() 724 sz *= rls; in setLookAtM() 727 float ux = sy * fz - sz * fy; in setLookAtM() [all …]
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 72 uint32_t sz; member 288 *oSoundBuf += chunkHeader->sz; in parseClipBuf() 289 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf() 293 *oSoundBufSize = chunkHeader->sz; in parseClipBuf() 298 *oSoundBuf += chunkHeader->sz; in parseClipBuf() 299 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 56 float sz = fx * upY - fy * upX; in gluLookAt() local 59 float ux = sy * fz - sz * fy; in gluLookAt() 60 float uy = sz * fx - sx * fz; in gluLookAt() 74 m[8] = sz; in gluLookAt()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 62 float sz = fx * upY - fy * upX; in gluLookAt() local 65 float ux = sy * fz - sz * fy; in gluLookAt() 66 float uy = sz * fx - sx * fz; in gluLookAt() 80 m[8] = sz; in gluLookAt()
|
/frameworks/ml/nn/common/operations/ |
D | EmbeddingLookupTest.cpp | 77 uint32_t sz = 1; in EmbeddingLookupOpModel() local 79 sz *= d; in EmbeddingLookupOpModel() 81 return sz; in EmbeddingLookupOpModel()
|
D | LSHProjectionTest.cpp | 63 uint32_t sz = 1; in LSHProjectionOpModel() local 65 sz *= d; in LSHProjectionOpModel() 67 return sz; in LSHProjectionOpModel()
|
D | HashtableLookupTest.cpp | 91 uint32_t sz = 1; in HashtableLookupOpModel() local 93 sz *= d; in HashtableLookupOpModel() 95 return sz; in HashtableLookupOpModel()
|
D | SVDFTest.cpp | 217 uint32_t sz = 1; in SVDFOpModel() local 219 sz *= d; in SVDFOpModel() 221 return sz; in SVDFOpModel()
|
D | LayerNormLSTMTest.cpp | 152 uint32_t sz = 1; in LayerNormLSTMOpModel() local 154 sz *= d; in LayerNormLSTMOpModel() 156 return sz; in LayerNormLSTMOpModel()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 837 private void prepareRecording(Size sz, int videoFrameRate, int captureRate) in prepareRecording() argument 844 mMediaRecorder.setVideoEncodingBitRate(getVideoBitRate(sz)); in prepareRecording() 847 mMediaRecorder.setVideoSize(sz.getWidth(), sz.getHeight()); in prepareRecording() 860 mVideoSize = sz; in prepareRecording() 940 private void validateRecording(Size sz, int expectedDurationMs) throws Exception { in validateRecording() argument 963 assertTrue("Video size doesn't match, expected " + sz.toString() + in validateRecording() 964 " got " + videoSz.toString(), videoSz.equals(sz)); in validateRecording() 1085 private int getVideoBitRate(Size sz) { 1087 float scaleFactor = sz.getHeight() * sz.getWidth() / (float)(1920 * 1080);
|
/frameworks/base/libs/hwui/ |
D | Matrix.h | 114 void loadScale(float sx, float sy, float sz); 166 void scale(float sx, float sy, float sz) { in scale() argument 168 u.loadScale(sx, sy, sz); in scale()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 1103 Size sz = sizes[0]; in getMaxSize() local 1105 if (size.getWidth() * size.getHeight() > sz.getWidth() * sz.getHeight()) { in getMaxSize() 1106 sz = size; in getMaxSize() 1110 return sz; in getMaxSize() 1265 for (Size sz: videoSizeArr) { in getMaxCameraRecordingSize() 1266 if (sz.getWidth() <= FULLHD.getWidth() && sz.getHeight() <= FULLHD.getHeight()) { in getMaxCameraRecordingSize() 1267 sizes.add(sz); in getMaxCameraRecordingSize() 1271 for (Size sz : videoSizes) { in getMaxCameraRecordingSize() 1273 android.media.MediaRecorder.class, sz); in getMaxCameraRecordingSize() 1276 Log.i(TAG, "External camera " + mCameraId + " has max video size:" + sz); in getMaxCameraRecordingSize() [all …]
|
/frameworks/native/libs/binder/tests/ |
D | schd-dbg.cpp | 265 static void parcel_fill(Parcel& data, int sz, int priority, int cpu) { in parcel_fill() argument 266 ASSERT(sz >= (int)sizeof(uint32_t) * 2); in parcel_fill() 269 sz -= sizeof(uint32_t); in parcel_fill() 270 while (sz > (int)sizeof(uint32_t)) { in parcel_fill() 272 sz -= sizeof(uint32_t); in parcel_fill()
|
D | binderThroughputTest.cpp | 216 int sz = payload_size; in worker_fx() local 218 while (sz >= sizeof(uint32_t)) { in worker_fx() 220 sz -= sizeof(uint32_t); in worker_fx()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 255 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument 256 mSize = sz; in ImageVerifierListener() 1079 for (Size sz: rawSizes) { in getSupportedPreviewSizes() 1080 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes() 1081 sizes.add(sz); in getSupportedPreviewSizes() 1126 for (Size sz : sizes) { in getSortedSizesForFormat() 1127 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat() 1128 sortedSizes.add(sz); in getSortedSizesForFormat() 1167 for (Size sz: rawSizes) { in getSupportedVideoSizes() 1168 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes() [all …]
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 67 float sz = fx * upY - fy * upX; in gluLookAt() local 70 float ux = sy * fz - sz * fy; in gluLookAt() 71 float uy = sz * fx - sx * fz; in gluLookAt() 85 m[8] = sz; in gluLookAt()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | GsmAlphabet.java | 707 for (int i = 0, sz = s.length() 708 ; i < sz && (outByteIndex - offset) < length 810 int sz = s.length(); 813 for (int i = 0; i < sz; i++) { 890 int sz = s.length(); 892 for (int i = 0; i < sz && !lpcList.isEmpty(); i++) {
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 478 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz)); in buildRSVolume() local 479 float min = Math.min(sx,Math.min(sy,sz)); in buildRSVolume() 482 v.mVoxelDim[2] = sz/min; in buildRSVolume() 602 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz)); in buildRSVolume2() local 603 float min = Math.min(sx,Math.min(sy,sz)); in buildRSVolume2() 606 v.mVoxelDim[2] = sz/min; in buildRSVolume2()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 235 final float sz = Math in decode() local 241 sampleSize = (int) sz; in decode() 244 sampleSize = (int) Math.ceil(sz); in decode() 248 sampleSize = (int) Math.pow(2, (int) (0.5 + (Math.log(sz) / Math.log(2)))); in decode()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 198 double sz = -0.5; in calcMatrix() local 199 m[3] = mEyePoint[0] - (m[0] * sw + m[1] * sh + m[2] * sz); in calcMatrix() 200 m[7] = mEyePoint[1] - (m[4] * sw + m[5] * sh + m[6] * sz); in calcMatrix() 201 m[11] = mEyePoint[2] - (m[8] * sw + m[9] * sh + m[10] * sz); in calcMatrix()
|