Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DColorCube.java37 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/
DColorCube.java45 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/
DColorCube.java45 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/native/graphics/jni/fuzz/
Dpng_mutator.h236 for (size_t sz = compressed.size() * 4; sz < kMaxBuffer; sz *= 2) { in Uncompress() local
237 v.resize(sz); in Uncompress()
238 unsigned long len = sz; in Uncompress()
252 for (size_t sz = uncompressed.size(); sz < kMaxBuffer; sz *= 2) { in Compress() local
253 v.resize(sz); in Compress()
254 unsigned long len = sz; in Compress()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java830 float sz = (float) Math.sin(z); in setRotateEulerM() local
835 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM()
839 rm[rmOffset + 4] = cxsy * cz + cx * sz; in setRotateEulerM()
840 rm[rmOffset + 5] = -cxsy * sz + cx * cz; in setRotateEulerM()
844 rm[rmOffset + 8] = -sxsy * cz + sx * sz; in setRotateEulerM()
845 rm[rmOffset + 9] = sxsy * sz + sx * cz; in setRotateEulerM()
888 float sz = (float) Math.sin(z); in setRotateEulerM2() local
893 rm[rmOffset + 1] = -cy * sz; in setRotateEulerM2()
897 rm[rmOffset + 4] = sxsy * cz + cx * sz; in setRotateEulerM2()
898 rm[rmOffset + 5] = -sxsy * sz + cx * cz; in setRotateEulerM2()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionForwardProcessor.java110 android.hardware.camera2.extension.Size sz = in initializePipeline() local
112 sz.width = mResolution.getWidth(); in initializePipeline()
113 sz.height = mResolution.getHeight(); in initializePipeline()
114 mProcessor.onResolutionUpdate(sz); in initializePipeline()
DCameraExtensionSessionImpl.java370 android.hardware.camera2.extension.Size sz = in initializeRepeatingRequestPipeline() local
372 sz.width = repeatingSurfaceInfo.mWidth; in initializeRepeatingRequestPipeline()
373 sz.height = repeatingSurfaceInfo.mHeight; in initializeRepeatingRequestPipeline()
374 mPreviewRequestUpdateProcessor.onResolutionUpdate(sz); in initializeRepeatingRequestPipeline()
440 android.hardware.camera2.extension.Size sz = in initializeBurstCapturePipeline() local
442 sz.width = mBurstCaptureImageReader.getWidth(); in initializeBurstCapturePipeline()
443 sz.height = mBurstCaptureImageReader.getHeight(); in initializeBurstCapturePipeline()
452 mImageProcessor.onResolutionUpdate(sz, postviewSize); in initializeBurstCapturePipeline()
454 mImageProcessor.onResolutionUpdate(sz, null); in initializeBurstCapturePipeline()
2113 for (Size sz : sizes) { in findSmallestAspectMatchedSize()
[all …]
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp120 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()
Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member
/frameworks/base/cmds/bootanimation/
Daudioplay.cpp74 uint32_t sz; member
290 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
291 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
295 *oSoundBufSize = chunkHeader->sz; in parseClipBuf()
300 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
301 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp56 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/
Dtritex.cpp62 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/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DAdvancedExtenderImplStub.java109 androidx.camera.extensions.impl.service.Size sz = in getSupportedSizeByFormat() local
111 sz.width = size.getWidth(); in getSupportedSizeByFormat()
112 sz.height = size.getHeight(); in getSupportedSizeByFormat()
113 sizeList.sizes.add(sz); in getSupportedSizeByFormat()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java837 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/extension/
DAdvancedExtender.java423 android.hardware.camera2.extension.Size sz = in initializeParcelable() local
425 sz.width = size.getWidth(); in initializeParcelable()
426 sz.height = size.getHeight(); in initializeParcelable()
427 sizeList.sizes.add(sz); in initializeParcelable()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java217 for (android.hardware.camera2.extension.Size sz : entry.sizes) { in getSupportedSizes()
218 ret.add(new Size(sz.width, sz.height)); in getSupportedSizes()
1067 android.hardware.camera2.extension.Size sz = in getPostviewSupportedSizes() local
1069 sz.width = captureSize.getWidth(); in getPostviewSupportedSizes()
1070 sz.height = captureSize.getHeight(); in getPostviewSupportedSizes()
1087 return getSupportedSizes(extender.getSupportedPostviewResolutions(sz), in getPostviewSupportedSizes()
1104 extenders.second.getSupportedPostviewResolutions(sz), format); in getPostviewSupportedSizes()
1109 extenders.second.getSupportedPostviewResolutions(sz), format); in getPostviewSupportedSizes()
1334 android.hardware.camera2.extension.Size sz = in getEstimatedCaptureLatencyRangeMillis() local
1336 sz.width = captureOutputSize.getWidth(); in getEstimatedCaptureLatencyRangeMillis()
[all …]
/frameworks/base/libs/hwui/
DMatrix.h114 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/
Dschd-dbg.cpp265 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/
DCameraTestUtils.java255 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/
Dgl_basic.cpp67 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/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java235 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/loaders/
DLoaderDicom.java478 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/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java707 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/engine/
DViewMatrix.java198 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()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java863 android.hardware.camera2.extension.Size sz =
865 sz.width = size.getWidth();
866 sz.height = size.getHeight();
867 sizeList.sizes.add(sz);
898 android.hardware.camera2.extension.Size sz =
900 sz.width = size.getWidth();
901 sz.height = size.getHeight();
902 sizeList.sizes.add(sz);
1082 Size sz = new Size(captureSize.width, captureSize.height);
1084 mAdvancedExtender.getSupportedPostviewResolutions(sz);
[all …]

123