Home
last modified time | relevance | path

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

12

/frameworks/rs/java/tests/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/java/tests/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/java/tests/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/cmds/bootanimation/
Daudioplay.cpp67 uint32_t sz; member
283 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
284 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
288 *oSoundBufSize = chunkHeader->sz; in parseClipBuf()
293 *oSoundBuf += chunkHeader->sz; in parseClipBuf()
294 *oSoundBufSize -= chunkHeader->sz; in parseClipBuf()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java656 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/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/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp51 float sz = fx * upY - fy * upX; in gluLookAt() local
54 float ux = sy * fz - sz * fy; in gluLookAt()
55 float uy = sz * fx - sx * fz; in gluLookAt()
69 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java829 private void prepareRecording(Size sz, int videoFrameRate, int captureRate) in prepareRecording() argument
836 mMediaRecorder.setVideoEncodingBitRate(getVideoBitRate(sz)); in prepareRecording()
839 mMediaRecorder.setVideoSize(sz.getWidth(), sz.getHeight()); in prepareRecording()
852 mVideoSize = sz; in prepareRecording()
930 private void validateRecording(Size sz, int expectedDurationMs) throws Exception { in validateRecording() argument
953 assertTrue("Video size doesn't match, expected " + sz.toString() + in validateRecording()
954 " got " + videoSz.toString(), videoSz.equals(sz)); in validateRecording()
1075 private int getVideoBitRate(Size sz) {
1077 float scaleFactor = sz.getHeight() * sz.getWidth() / (float)(1920 * 1080);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java250 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
251 mSize = sz; in ImageVerifierListener()
1041 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1042 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1043 sizes.add(sz); in getSupportedPreviewSizes()
1088 for (Size sz : sizes) { in getSortedSizesForFormat()
1089 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1090 sortedSizes.add(sz); in getSortedSizesForFormat()
1129 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1130 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp65 float sz = fx * upY - fy * upX; in gluLookAt() local
68 float ux = sy * fz - sz * fy; in gluLookAt()
69 float uy = sz * fx - sx * fz; in gluLookAt()
83 m[8] = sz; in gluLookAt()
/frameworks/base/libs/hwui/
DMatrix.h122 void loadScale(float sx, float sy, float sz);
176 void scale(float sx, float sy, float sz) { in scale() argument
178 u.loadScale(sx, sy, sz); in scale()
DMatrix.cpp288 void Matrix4::loadScale(float sx, float sy, float sz) { in loadScale() argument
293 data[kScaleZ] = sz; in loadScale()
/frameworks/base/core/java/android/os/
DProcess.java572 int sz = args.size(); in zygoteSendArgsAndGetResult() local
573 for (int i = 0; i < sz; i++) { in zygoteSendArgsAndGetResult()
595 for (int i = 0; i < sz; i++) { in zygoteSendArgsAndGetResult()
702 int sz = gids.length; in startViaZygote() local
703 for (int i = 0; i < sz; i++) { in startViaZygote()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java683 for (int i = 0, sz = s.length()
684 ; i < sz && (outByteIndex - offset) < length
785 int sz = s.length();
788 for (int i = 0; i < sz; i++) {
866 int sz = s.length();
868 for (int i = 0; i < sz && !lpcList.isEmpty(); i++) {
/frameworks/rs/java/tests/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/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/java/tests/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccUtils.java333 int sz = s.length(); in hexStringToBytes() local
335 ret = new byte[sz/2]; in hexStringToBytes()
337 for (int i=0 ; i <sz ; i+=2) { in hexStringToBytes()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java279 int sz = hex.length()/2; in hexStr2Bin() local
282 for (int i=0;i<sz;i++) { in hexStr2Bin()
/frameworks/native/cmds/servicemanager/
Dbinder.h91 uint16_t *bio_get_string16(struct binder_io *bio, size_t *sz);
Dbinder.c616 uint16_t *bio_get_string16(struct binder_io *bio, size_t *sz) in bio_get_string16() argument
622 if (sz) in bio_get_string16()
623 *sz = len; in bio_get_string16()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java58 public abstract void scale(float sx, float sy, float sz); in scale() argument
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp828 outputBufferHeader->nFilledLen = encoded_packet->data.frame.sz; in onQueueFilled()
836 encoded_packet->data.frame.sz); in onQueueFilled()

12