Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 28) 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/
DAudioPlayer.cpp44 uint32_t sz; member
250 wavData += chunkHeader->sz; in threadLoop()
251 wavLength -= chunkHeader->sz; in threadLoop()
259 wavData += chunkHeader->sz; in threadLoop()
260 wavLength -= chunkHeader->sz; in threadLoop()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp121 if (v->sz < -sw) z0out++; /* out on near */ in poly_clip_to_frustum()
122 if (v->sz > sw) z1out++; /* out on far */ in poly_clip_to_frustum()
146 if (z0out) CLIP_AND_SWAP(sz, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum()
147 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/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/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/libs/hwui/
DMatrix.h127 void loadScale(float sx, float sy, float sz);
170 void scale(float sx, float sy, float sz) { in scale() argument
172 u.loadScale(sx, sy, sz); in scale()
DMatrix.cpp267 void Matrix4::loadScale(float sx, float sy, float sz) { in loadScale() argument
272 data[kScaleZ] = sz; in loadScale()
/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/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/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/base/core/java/android/os/
DProcess.java556 int sz = args.size(); in zygoteSendArgsAndGetResult() local
557 for (int i = 0; i < sz; i++) { in zygoteSendArgsAndGetResult()
652 int sz = gids.length; in startViaZygote() local
653 for (int i = 0; i < sz; i++) { in startViaZygote()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccUtils.java291 int sz = s.length(); in hexStringToBytes() local
293 ret = new byte[sz/2]; in hexStringToBytes()
295 for (int i=0 ; i <sz ; i+=2) { in hexStringToBytes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccUtils.java291 int sz = s.length(); in hexStringToBytes() local
293 ret = new byte[sz/2]; in hexStringToBytes()
295 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.c597 uint16_t *bio_get_string16(struct binder_io *bio, size_t *sz) in bio_get_string16() argument
603 if (sz) in bio_get_string16()
604 *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/base/core/java/android/hardware/
DSensorManager.java1191 final boolean sz = (Z>=0x80); in remapCoordinateSystemImpl()
1200 if (z==i) outR[offset+i] = sz ? -inR[offset+2] : inR[offset+2]; in remapCoordinateSystemImpl()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2711 Size sz = {sc.width, sc.height}; in getFilteredSizes() local
2712 sizes->push(sz); in getFilteredSizes()
2818 Size sz = {sc.width, sc.height}; in getAvailableJpegSizes() local
2819 jpegSizes.add(sz); in getAvailableJpegSizes()
2831 Size sz = {width, height}; in getAvailableJpegSizes() local
2832 jpegSizes.add(sz); in getAvailableJpegSizes()
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc1801 size_t sz = static_cast<size_t>(t - num); in parse_vector_type() local
1811 db.names.back().first += " vector[" + typename C::String(num, sz) + "]"; in parse_vector_type()
1818 db.names.push_back("pixel vector[" + typename C::String(num, sz) + "]"); in parse_vector_type()
4945 size_t sz = db.names.back().size() + 1; in __cxa_demangle() local
4946 if (sz > internal_size) in __cxa_demangle()
4948 char* newbuf = static_cast<char*>(std::realloc(buf, sz)); in __cxa_demangle()
4958 *n = sz; in __cxa_demangle()
4964 std::memcpy(buf, db.names.back().first.data(), sz-1); in __cxa_demangle()
4965 buf[sz-1] = char(0); in __cxa_demangle()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp1038 outputBufferHeader->nFilledLen = encoded_packet->data.frame.sz; in onQueueFilled()
1041 encoded_packet->data.frame.sz); in onQueueFilled()

12