/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | AdnRecord.java | 203 } else if (number.length() 206 "[buildAdnString] Max length of dailing number is 20"); 207 } else if (alphaTag.length() > footerOffset) { 209 "[buildAdnString] Max length of tag is " + footerOffset); 220 footerOffset + ADN_TON_AND_NPI, bcdNumber.length); 223 = (byte) (bcdNumber.length); 230 System.arraycopy(byteTag, 0, adnString, 0, byteTag.length); 243 if (extRecord.length != EXT_RECORD_LENGTH_BYTES) { 276 record, 0, record.length - FOOTER_SIZE_BYTES); 278 int footerOffset = record.length [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
H A D | ValueParser.java | 113 int length = ctlv.getLength(); 115 if (length != 0) { 116 int textLen = length - 1; 220 int length = ctlv.getLength(); 222 if (length != 0) { 224 int itemCount = length / 4; 278 int length = ctlv.getLength(); 279 if (length != 0) { 282 length); 305 // In case the text length i [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/ |
H A D | TestClassReplacement.java | 31 final int count = classes.length; 98 if (oldParameters.length != newParemeters.length) { 102 for (int i = 0 ; i < oldParameters.length ; i++) {
|
/frameworks/base/tools/preload/ |
H A D | PrintPsTree.java | 29 if (args.length != 1) {
|
/frameworks/base/awt/java/awt/geom/ |
H A D | AffineTransform.java | 251 if (matrix.length > 4) { 279 if (matrix.length > 4) { 296 * TYPE_UNIFORM_SCALE - The new basis vectors have equal length<br/> 297 * TYPE_GENERAL_SCALE - The new basis vectors dont' have equal length<br/> 418 * doubles. If the array has length 4, only the linear transformation part 419 * will be written into it. If it has length greater than 4, the translation 432 if (matrix.length > 4) { 864 * @param length 867 * if <code>srcOff + length > src.length</cod 870 transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int length) argument 911 transform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument 951 transform(float[] src, int srcOff, float[] dst, int dstOff, int length) argument 992 transform(float[] src, int srcOff, double[] dst, int dstOff, int length) argument 1025 transform(double[] src, int srcOff, float[] dst, int dstOff, int length) argument 1088 deltaTransform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument 1160 inverseTransform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CookieManager.java | 74 private static final int SECURE_LENGTH = SECURE.length(); 76 private static final int HTTP_ONLY_LENGTH = HTTP_ONLY.length(); 165 int len = domain.length(); 166 int urlLen = urlHost.length(); 182 int len = path.length(); 187 int urlLen = urlPath.length(); 213 int diff = cookie2.path.length() - cookie1.path.length(); 216 diff = cookie2.domain.length() - cookie1.domain.length(); [all...] |
H A D | DataLoader.java | 43 String url = dataUrl.substring("data:".length()); 58 mContentLength = data.length;
|
H A D | FileLoader.java | 71 url.substring(URLUtil.ASSET_BASE.length(), index)) : 73 URLUtil.ASSET_BASE.length())); 76 url.substring(URLUtil.RESOURCE_BASE.length(), index)) : 78 URLUtil.RESOURCE_BASE.length())); 81 url.substring(URLUtil.FILE_BASE.length(), index)) : 83 URLUtil.FILE_BASE.length())); 110 if (mPath == null || mPath.length() == 0) { 170 mContentLength = (new File(mPath)).length();
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 169 assertEquals(5, result.length()); 170 spans = result.getSpans(0, result.length(), String.class); 173 assertEquals(4, spans.length); 183 assertEquals(2, result.length()); 184 spans = result.getSpans(0, result.length(), String.class); 187 assertEquals(3, spans.length); 235 assertEquals(s.trim().length(), TextUtils.getTrimmedLength(s)); 320 // Did preserved output strings preserve length? 321 assertEquals("wid " + i + " pass " + j, keep1.length(), s1.length()); 343 public int length() { method in class:TextUtilsTest.Wrapper [all...] |
/frameworks/base/awt/java/awt/image/ |
H A D | ColorConvertOp.java | 114 int length = convSeq.length; 117 if (length == 0 || src != convSeq[0]) { 122 if (length == 0 || dst != convSeq[length - 1]) { 129 int nProfiles = length + srcFlg + dstFlg; 130 if (nProfiles == length) { 138 for (int i = 0; i < length; i++) { 168 int conversionLength = conversionSequence.length; 332 conversionSequence = new ICC_Profile[midProfiles.length]; [all...] |
H A D | DataBufferByte.java | 43 * the length (number of elements) to use from the data arrays. 49 super(TYPE_BYTE, size, dataArrays.length, offsets); 59 * the length (number of elements) to use from the data arrays. 62 super(TYPE_BYTE, size, dataArrays.length); 73 * the length (number of elements) to use. 90 * the length (number of elements) to use. 103 * the length (number of elements) to use from the data arrays. 121 * the length (number of elements) to use.
|
H A D | DataBufferInt.java | 43 * the length (number of elements) to use from the data arrays. 49 super(TYPE_INT, size, dataArrays.length, offsets); 59 * the length (number of elements) to use from the data arrays. 62 super(TYPE_INT, size, dataArrays.length); 73 * the length (number of elements) to use. 90 * the length (number of elements) to use. 103 * the length (number of elements) to use from the data arrays. 121 * the length (number of elements) to use.
|
H A D | DataBufferShort.java | 43 * the length (number of elements) to use from the data arrays. 49 super(TYPE_SHORT, size, dataArrays.length, offsets); 59 * the length (number of elements) to use from the data arrays. 62 super(TYPE_SHORT, size, dataArrays.length); 73 * the length (number of elements) to use. 90 * the length (number of elements) to use. 102 * the length (number of elements) to use from the data arrays. 120 * the length (number of elements) to use.
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardUtils.java | 133 if (typeString.length() == 0) { 147 && 0 < indexOfAt && indexOfAt < number.length() - 1) 326 int length = value.length(); 327 for (int i = 0; i < length; i++) { 329 if (ch == '\\' && i < length - 1) { 395 final int length = value.length(); 396 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 440 final int length [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 86 return indexOf(s, ch, start, s.length()); 127 return lastIndexOf(s, ch, s.length() - 1); 143 if (last >= s.length()) 144 last = s.length() - 1; 185 return indexOf(s, needle, 0, s.length()); 189 return indexOf(s, needle, start, s.length()); 194 int nlen = needle.length(); 311 if (text.length() == 0) { 328 if (text.length() == 0) { 385 mLength = mString.length(); 494 public int length() { method in class:TextUtils.Reverser [all...] |
/frameworks/base/awt/javax/imageio/stream/ |
H A D | FileCacheImageInputStream.java | 77 if (streamPos >= raf.length()) { 97 if (streamPos >= raf.length()) {
|
H A D | FileImageInputStream.java | 98 public long length() { method in class:FileImageInputStream 100 return raf.length();
|
/frameworks/base/awt/org/apache/harmony/awt/wtk/ |
H A D | NativeEvent.java | 195 if (keyInfo == null || keyInfo.keyChars.length() == 0) { 198 return keyInfo.keyChars.charAt(keyInfo.keyChars.length()-1);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
H A D | PowerCommand.java | 46 if (args.length >= 2) { 47 if ("stayon".equals(args[1]) && args.length == 3) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 34 * offset and length of that entry's data in the file. 39 * and {@link #getDeclaredLength} when a length has not been declared. This means 52 * This must be 0 if length is UNKNOWN_LENGTH. 53 * @param length The number of bytes of the asset, or 57 long length) { 58 if (length < 0 && startOffset != 0) { 64 mLength = length; 113 * {@link #UNKNOWN_LENGTH} if the length was not declared, meaning data 147 throw new IOException("File length too large for a memory file: " + mLength); 229 int count = buffer.length; 56 AssetFileDescriptor(ParcelFileDescriptor fd, long startOffset, long length) argument 291 AutoCloseMemoryFileInputStream(ParcelFileDescriptor fd, int length) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteContentHelper.java | 83 MemoryFile file = new MemoryFile(null, bytes.length); 84 file.writeBytes(bytes, 0, 0, bytes.length);
|
H A D | SQLiteDirectCursorDriver.java | 46 int numArgs = selectionArgs == null ? 0 : selectionArgs.length; 72 final int numArgs = bindArgs.length;
|
/frameworks/base/core/java/android/text/method/ |
H A D | MultiTapKeyListener.java | 35 new MultiTapKeyListener[Capitalize.values().length * 2]; 139 ix = (ix + 1) % (val.length()); 174 for (int i = 0; i < val.length(); i++) { 215 KeyListener[] methods = content.getSpans(0, content.length(), 220 content.setSpan(this, 0, content.length(), 239 Timeout[] timeout = buf.getSpans(0, buf.length(), Timeout.class); 241 for (int i = 0; i < timeout.length; i++) { 256 mBuffer.setSpan(Timeout.this, 0, mBuffer.length(),
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 66 if (s != null && s.length() > 0) { 71 for (int i = 1; i < selectors.length; i++) {
|
H A D | SparseArray.java | 139 if (mGarbage && mSize >= mKeys.length) { 146 if (mSize >= mKeys.length) { 152 // Log.e("SparseArray", "grow " + mKeys.length + " to " + n); 153 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); 154 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); 281 if (mGarbage && mSize >= mKeys.length) { 286 if (pos >= mKeys.length) { 292 // Log.e("SparseArray", "grow " + mKeys.length + " to " + n); 293 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); 294 System.arraycopy(mValues, 0, nvalues, 0, mValues.length); [all...] |