/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 43 initialIntents = new Intent[pa.length]; 44 for (int i=0; i<pa.length; i++) {
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | DomainNameValidator.java | 58 if (certificate == null || thisDomain == null || thisDomain.length() == 0) { 74 boolean rval = (domain != null && domain.length() != 0); 209 if (thisDomain == null || thisDomain.length() == 0 || 210 thatDomain == null || thatDomain.length() == 0) { 222 int thisDomainTokensNum = thisDomainTokens.length; 223 int thatDomainTokensNum = thatDomainTokens.length; 266 if (thatDomainToken.length() - 1 <= thisDomainToken.length()) {
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 68 int start = builder.length(); 75 builder.length(),
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | VNodeBuilder.java | 206 int length = quotedPrintable.length(); 208 for (int i = 0; i < length; i++) { 216 if (i < length - 1) { 227 if (finalLine.length() > 0) { 235 line = line.substring(0, line.length() - 1); 280 if (targetCharset == null || targetCharset.length() == 0) { 299 int len = typeListB.length();
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 381 * @param length the number of bytes, beginning at offset, to parse 388 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { argument 389 if ((offset | length) < 0 || data.length < offset + length) { 392 return nativeDecodeByteArray(data, offset, length, opts); 401 * @param length the number of bytes, beginning at offset, to parse 404 public static Bitmap decodeByteArray(byte[] data, int offset, int length) { argument 405 return decodeByteArray(data, offset, length, null); 591 int length, Option 590 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
H A D | PathMeasure.java | 22 * Create an empty PathMeasure object. To uses this to measure the length 37 * path's length, and the position and tangent of any position along the 67 * Return the total length of the current contour, or 0 if no path is 77 * or a zero-length path was specified, in which case position and tangent 86 if (pos != null && pos.length < 2 || 87 tan != null && tan.length < 2) { 98 * corresponding matrix. Returns false if there is no path, or a zero-length 112 * segment(s). If the segment is zero-length, return false, else return
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_file.h | 74 * Returns the length of a file (by name, opened or unopened). 79 * @return #DRM_FILE_WOULDBLOCK, #DRM_FILE_FAILURE or the file length. 224 * @param length Number of bytes to be copied. 226 * or the number of bytes that were read, i.e. in the range 0..length. 230 int32_t length); 242 * @param length Number of bytes to be written. 246 * that were written. This number must be in the range 0..length. 251 int32_t length); 270 * than the length of the file then the file should be extended. The contents
|
/frameworks/base/media/libstagefright/include/ |
H A D | ID3.h | 45 const void *getAlbumArt(size_t *length, String8 *mime) const; 54 const uint8_t *getData(size_t *length) const;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SimTlv.java | 38 public SimTlv(byte[] record, int offset, int length) { argument 42 this.tlvLength = length; 97 // one byte length 0 - 0x7f 101 // two byte length 0x80 - 0xff
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | RegexTest.java | 177 assertEquals(3, strings.length); 183 assertEquals(2, strings.length); 188 assertEquals(3, strings.length); 194 assertEquals(3, strings.length); 202 assertEquals(3, strings.length); 208 assertEquals(5, strings.length); 216 assertEquals(5, strings.length); 224 assertEquals(3, strings.length);
|
H A D | PipedStreamTest.java | 156 ret = in.read(readBytes, nread, readBytes.length - nread); 194 out.write(writeBytes, 0, writeBytes.length); 239 while (nread < readBytes.length) { 240 ret = in.read(readBytes, nread, readBytes.length - nread); 259 for (int i = 0; i < (writeBytes.length - 4); i += 4) { 266 out.write(writeBytes, 0, writeBytes.length); 291 for (int i = 0; i < (readBytes.length - 4); i += 4) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | TestActivity.java | 57 String[] labels = new String[mTests.length]; 58 for (int i=0; i<mTests.length; i++) {
|
/frameworks/base/awt/java/awt/event/ |
H A D | MouseEvent.java | 101 return text.length() == 0 ? text.toString() : text.substring(0, text 102 .length() - 1); 107 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$ 111 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$ 115 text += ((text.length() > 0) ? "+" : "") + //$NON-NLS-1$ //$NON-NLS-2$
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptC.java | 53 mProgramLength = mProgram.length; 76 int bytesLeft = buf.length - currentPos; 78 byte[] buf2 = new byte[buf.length * 2]; 79 System.arraycopy(buf, 0, buf2, 0, buf.length); 81 bytesLeft = buf.length - currentPos;
|
/frameworks/base/libs/utils/ |
H A D | FileMap.cpp | 89 bool FileMap::create(const char* origFileName, int fd, off_t offset, size_t length, bool readOnly) argument 115 adjLength = length + adjust; 140 assert(length > 0); 159 adjLength = length + adjust; 186 mDataLength = length;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | Base64Test.java | 56 assertEquals(len, actual.length); 72 assertEquals(expected.length, actual.length); 73 for (int i = 0; i < expected.length; ++i) { 323 byte[] actual = new byte[plain.length * 2]; 333 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) { 352 int l = writeLengths[rng.nextInt(writeLengths.length)]; 372 while ((b = b64is.read(actual, ap, actual.length-ap)) != -1) { 391 int l = writeLengths[rng.nextInt(writeLengths.length)]; 446 for (int i = 0; i < plain.length; [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
H A D | JavaArcRasterizer.java | 32 for(int i = 0; i < line.length; i++) { 44 for(int i = 0; i < line.length; i++) { 56 for(int i = 0; i < line.length; i++) { 68 for(int i = 0; i < line.length; i++) { 80 for(int i = 0; i < line.length; i++) { 92 for(int i = 0; i < line.length; i++) { 104 for(int i = 0; i < line.length; i++) { 116 for(int i = 0; i < line.length; i++) { 128 for(int i = 0; i < line.length; i++) { 136 for(int i = 0; i < line.length; [all...] |
/frameworks/base/awt/java/awt/ |
H A D | Polygon.java | 174 * given arrays of x, y vertex coordinates. The length of each coordinate 185 * if the length of xpoints or ypoints is less than n. 190 if (npoints > xpoints.length || npoints > ypoints.length) { 191 // awt.111=Parameter npoints is greater than array length 234 if (npoints == xpoints.length) { 237 tmp = new int[xpoints.length + BUFFER_CAPACITY]; 238 System.arraycopy(xpoints, 0, tmp, 0, xpoints.length); 241 tmp = new int[ypoints.length + BUFFER_CAPACITY]; 242 System.arraycopy(ypoints, 0, tmp, 0, ypoints.length); [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
H A D | AndroidFontManager.java | 98 for (int i=0; i < LOGICAL_FONT_NAMES.length; i++){ 100 for (int j=0; j < STYLE_NAMES.length; j++){ 164 for (int i = 0; i < LINUX_WEIGHT_NAMES.length;i++){ 179 for (int i = 0; i < LINUX_SLANT_NAMES.length;i++){ 228 for (int i = 0; i < faces.length; i++) { 244 Font[] fonts = new Font[faces.length]; 245 for (int i =0; i < fonts.length;i++){
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 38 public final float length; field in class:GestureStroke 82 length = len; 90 length = len; 97 return new GestureStroke(boundingBox, length, points, timestamps); 123 final int count = localPoints.length; 177 final int count = pts.length; 204 final int count = points.length;
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 152 int len = text.length(); 155 for (int i = 0; i < text.length(); i = next) { 161 for(int j = 0; j < style.length; j++) { 239 for (int j = 0; j < style.length; j++) { 291 while (color.length() < 6) { 301 for (int j = style.length - 1; j >= 0; j--) { 421 Object[] obj = mSpannableStringBuilder.getSpans(0, mSpannableStringBuilder.length(), ParagraphStyle.class); 422 for (int i = 0; i < obj.length; i++) { 483 } else if (tag.length() == 2 && 534 } else if (tag.length() 739 characters(char ch[], int start, int length) argument 777 ignorableWhitespace(char ch[], int start, int length) argument [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Tokenizer.java | 51 int cursor = text.length(); 65 if (address.length() > 0) { 69 } else if (name.length() > 0) { 146 if (address.length() > 0) { 150 } else if (name.length() > 0) { 175 int len = sb.length(); 238 int len = text.length();
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RuntimeInit.java | 158 result.append(version.length() > 0 ? version : "1.0"); 163 if (model.length() > 0) { 169 if (id.length() > 0) { 267 for ( /* curArg */ ; curArg < argv.length; curArg++) { 281 if (curArg == argv.length) { 290 String[] startArgs = new String[argv.length - curArg]; 292 System.arraycopy(argv, curArg, startArgs, 0, startArgs.length);
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 39 * 4 bytes data length (LEN) 197 if (data.length > BYTES_PER_MINTHUMB - HEADER_SIZE) { 204 mBuffer.putInt(data.length); 246 if (size > 1 + 8 + 4) { // flag, magic, length 250 int length = mBuffer.getInt(); 252 if (size >= 1 + 8 + 4 + length && data.length >= length) { 253 mBuffer.get(data, 0, length);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | WapPushOverSms.java | 97 * Content-general-form = Value-length Media-type 99 * Value-length = Short-length | (Length-quote Length) 100 * Short-length = <Any octet 0-30> (octet <= WAP_PDU_SHORT_LENGTH_MAX) 187 System.arraycopy(pdu, headerStartIndex, header, 0, header.length); 191 data = new byte[pdu.length - dataIndex]; 192 System.arraycopy(pdu, dataIndex, data, 0, data.length); 207 System.arraycopy(pdu, headerStartIndex, header, 0, header.length); 222 System.arraycopy(pdu, headerStartIndex, header, 0, header.length); 224 byte[] data = new byte[pdu.length [all...] |