/frameworks/base/libs/hwui/ |
H A D | Vector.h | 39 float length() const { function in struct:android::uirenderer::Vector2 90 float s = 1.0f / length();
|
/frameworks/base/media/java/android/media/ |
H A D | AmrInputStream.java | 70 return read(b, 0, b.length); 74 public int read(byte[] b, int offset, int length) throws IOException { argument 95 if (length > mBufIn - mBufOut) length = mBufIn - mBufOut; 96 System.arraycopy(mBuf, mBufOut, b, offset, length); 97 mBufOut += length; 99 return length;
|
H A D | ResampleInputStream.java | 46 // length of 2:1 fir 78 return read(b, 0, b.length); 82 public int read(byte[] b, int offset, int length) throws IOException { argument 85 // ensure that mBuf is big enough to cover requested 'length' 86 int nIn = ((length / 2) * mRateIn / mRateOut + mFirLength) * 2; 89 } else if (nIn > mBuf.length) { 99 length = len < length ? len : (length / 2) * 2; 102 // TODO: should mBuf.length belo [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 72 public float length() { method in class:Point 77 return p.minus(this).length(); 80 public Point scaledTo(float length) { argument 81 return this.times(length / this.length());
|
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
H A D | Credential.java | 29 public Credential(EAP.AuthInfoID infoID, int length, ByteBuffer payload) argument 31 if (length != 1) { 32 throw new ProtocolException("Bad length: " + length); 38 mCredType = typeID < CredType.values().length ?
|
H A D | NonEAPInnerAuth.java | 33 public NonEAPInnerAuth(int length, ByteBuffer payload) throws ProtocolException { argument 34 if (length != 1) { 35 throw new ProtocolException("Bad length: " + payload.remaining()); 39 mType = typeID < NonEAPType.values().length ?
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Oid.java | 20 public Asn1Oid(int tag, Asn1Class asn1Class, int length, ByteBuffer data) argument 22 super(tag, asn1Class, false, length); 24 if (length == 0) 25 throw new DecodeException("oid-encoding length is zero", data.position()); 30 payload.limit(payload.position() + length); 31 data.position(data.position() + length);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | XMLParser.java | 68 public void characters(char[] ch, int start, int length) throws SAXException { argument 69 mCurrent.addText(ch, start, length);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | URLFetcher.java | 58 * length exceeds {code fileSizeLimit}. 88 * length exceeds {code fileSizeLimit}. 134 public static String inputStreamToString(InputStream inputStream, int length, long sizeLimit) argument 136 if (length < 0) { 137 length = 0; 139 ByteArrayOutputStream baos = new ByteArrayOutputStream(length);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Double2.java | 292 * Get vector length 296 public int length() { method in class:Double2
|
H A D | Double3.java | 313 * Get vector length 317 public int length() { method in class:Double3
|
H A D | Float2.java | 291 * get vector length 295 public int length() { method in class:Float2
|
H A D | Float3.java | 313 * get vector length 317 public int length() { method in class:Float3
|
/frameworks/base/sax/java/android/sax/ |
H A D | RootElement.java | 170 public void characters(char[] buffer, int start, int length) argument 173 bodyBuilder.append(buffer, start, length);
|
/frameworks/base/services/core/java/com/android/server/updates/ |
H A D | SELinuxPolicyInstallReceiver.java | 70 private void installFile(File destination, BufferedInputStream stream, int length) argument 72 byte[] chunk = new byte[length]; 73 stream.read(chunk, 0, length);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebData.java | 109 TestWebData(int length, int lastModified, String name, String type, boolean isDir) { argument 110 testLength = length;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Lines2Activity.java | 89 private void drawVerticalLine(Canvas canvas, Paint p, float length, float x, float y) { argument 90 canvas.drawLine(x, y, x, y + length, p); 93 private void drawDiagonalLine(Canvas canvas, Paint p, float length, float x, float y) { argument 94 canvas.drawLine(x, y, x + length, y + length, p); 161 for (float length = 1; length <= 10; length +=1 ) { 163 drawVerticalLine(canvas, p, length, x, yOffset); 166 drawVerticalLine(canvas, p, length, [all...] |
/frameworks/minikin/include/minikin/ |
H A D | SparseBitSet.h | 56 uint32_t length() const { function in class:android::SparseBitSet
|
/frameworks/minikin/libs/minikin/ |
H A D | FontLanguage.cpp | 31 FontLanguage::FontLanguage(const char* buf, size_t length) : FontLanguage() { argument 33 for (i = 0; i < length; i++) { 47 for (i++; i < length; i = next + 1) { 48 for (next = i; next < length; next++) {
|
H A D | FontLanguageListCache.cpp | 32 // Returns the text length of output. 90 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); local 91 FontLanguage lang(langTag, length); 103 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); local 104 FontLanguage lang(langTag, length);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
H A D | jni_multiclass_pa.cpp | 27 const int length, vector<pair<int, float> >* pairs) { 30 for (int i = 0; i < length; ++i) { 26 CreateIndexValuePairs(const int* indices, const float* values, const int length, vector<pair<int, float> >* pairs) argument
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetShaderSource.cpp | 1 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 10 GLsizei *length = (GLsizei *) 0; local 25 length = length_base + lengthOffset; 48 (GLsizei *)length, 66 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 73 GLsizei *length = (GLsizei *) 0; local 75 length = (GLsizei *)getPointer(_env, length_buf, (jarray*)&_array, &_remaining, &_bufferOffset); 76 if (length == NULL) { 78 length = (GLsizei *) (_lengthBase + _bufferOffset); 83 (GLsizei *)length, [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | G711Codec.cpp | 42 int decode(int16_t *samples, int count, void *payload, int length); 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument 70 if (length > count) { 71 length = count; 73 for (int i = 0; i < length; ++i) { 80 return length; 93 int decode(int16_t *samples, int count, void *payload, int length); 117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument 120 if (length > count) { 121 length [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/ |
H A D | ExpandedEAPMethod.java | 20 public ExpandedEAPMethod(EAP.AuthInfoID authInfoID, int length, ByteBuffer payload) argument 22 if (length != 7) { 23 throw new ProtocolException("Bad length: " + payload.remaining());
|
H A D | NonEAPInnerAuth.java | 33 public NonEAPInnerAuth(int length, ByteBuffer payload) throws ProtocolException { argument 34 if (length != 1) { 35 throw new ProtocolException("Bad length: " + payload.remaining()); 39 mType = typeID < NonEAPType.values().length ?
|