/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_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/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/opt/gamesdk/src/tuningfork/ |
D | protobuf_util.cpp | 50 auto sz = vec->size(); in Write() local 51 vec->resize(sz+count); in Write() 52 std::copy(buf, buf+count, &(*vec)[sz]); in Write()
|
/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/libs/services/src/os/ |
D | StatsDimensionsValue.cpp | 96 int sz = mTupleValue.size(); in writeToParcel() local 97 err = out->writeInt32(sz); in writeToParcel() 101 for (int i = 0; i < sz; ++i) { in writeToParcel()
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | repeated_field_unittest.cc | 427 for (int sz = 0; sz < 10; ++sz) { in TEST() local 428 for (int num = 0; num <= sz; ++num) { in TEST() 429 for (int start = 0; start < sz - num; ++start) { in TEST() 432 for (int i = 0; i < sz; ++i) in TEST() 434 EXPECT_EQ(field.size(), sz); in TEST() 443 EXPECT_EQ(field.size(), sz - num); in TEST() 924 for (int sz = 0; sz < 10; ++sz) { in TEST() local 925 for (int num = 0; num <= sz; ++num) { in TEST() 926 for (int start = 0; start < sz - num; ++start) { in TEST() 932 for (int i = 0; i < sz + extra; ++i) { in TEST() [all …]
|
/frameworks/ml/nn/common/operations/ |
D | LSHProjectionTest.cpp | 62 uint32_t sz = 1; in LSHProjectionOpModel() local 64 sz *= d; in LSHProjectionOpModel() 66 return sz; in LSHProjectionOpModel()
|
D | EmbeddingLookupTest.cpp | 77 uint32_t sz = 1; in EmbeddingLookupOpModel() local 78 for (uint32_t d : dims) { sz *= d; } in EmbeddingLookupOpModel() 79 return sz; in EmbeddingLookupOpModel()
|
D | HashtableLookupTest.cpp | 90 uint32_t sz = 1; in HashtableLookupOpModel() local 91 for (uint32_t d : dims) { sz *= d; } in HashtableLookupOpModel() 92 return sz; in HashtableLookupOpModel()
|
/frameworks/base/core/java/android/os/ |
D | StatsDimensionsValue.java | 341 final int sz = parcel.readInt(); in readValueFromParcel() local 342 StatsDimensionsValue[] values = new StatsDimensionsValue[sz]; in readValueFromParcel() 343 for (int i = 0; i < sz; i++) { in readValueFromParcel()
|
/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/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 981 Size sz = sizes[0]; in getMaxSize() local 983 if (size.getWidth() * size.getHeight() > sz.getWidth() * sz.getHeight()) { in getMaxSize() 984 sz = size; in getMaxSize() 988 return sz; in getMaxSize() 1143 for (Size sz: videoSizeArr) { in getMaxCameraRecordingSize() 1144 if (sz.getWidth() <= FULLHD.getWidth() && sz.getHeight() <= FULLHD.getHeight()) { in getMaxCameraRecordingSize() 1145 sizes.add(sz); in getMaxCameraRecordingSize() 1149 for (Size sz : videoSizes) { in getMaxCameraRecordingSize() 1151 android.media.MediaRecorder.class, sz); in getMaxCameraRecordingSize() 1154 Log.i(TAG, "External camera " + mCameraId + " has max video size:" + sz); in getMaxCameraRecordingSize() [all …]
|
/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/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()
|
/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/java/com/android/internal/telephony/ |
D | GsmAlphabet.java | 702 for (int i = 0, sz = s.length() 703 ; i < sz && (outByteIndex - offset) < length 805 int sz = s.length(); 808 for (int i = 0; i < sz; i++) { 885 int sz = s.length(); 887 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()
|