/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
ResizableIntArray.java | 29 private int mLength; 36 if (index < mLength) { 39 throw new ArrayIndexOutOfBoundsException("length=" + mLength + "; index=" + index); 43 if (index < mLength) { 46 mLength = index; 52 final int currentLength = mLength; 55 mLength = currentLength + 1; 83 return mLength; 88 mLength = newLength; 94 mLength = 0 [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
SizedInputStream.java | 30 private long mLength; 34 mLength = length; 50 if (mLength <= 0) { 52 } else if (byteCount > mLength) { 53 byteCount = (int) mLength; 58 if (mLength > 0) { 59 throw new IOException("Unexpected EOF; expected " + mLength + " more bytes"); 62 mLength -= n;
|
/packages/apps/Email/provider_src/com/android/email/ |
FixedLengthInputStream.java | 29 private final int mLength; 34 this.mLength = length; 39 return mLength - mCount; 44 if (mCount < mLength) { 54 if (mCount < mLength) { 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 73 return mLength; 78 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength);
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
FixedLengthInputStream.java | 28 private final int mLength; 33 this.mLength = length; 38 return mLength - mCount; 43 if (mCount < mLength) { 53 if (mCount < mLength) { 54 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 72 return mLength; 77 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength);
|
/frameworks/base/obex/javax/obex/ |
ApplicationParameter.java | 42 private int mLength; 113 mLength = 0; 117 if ((mLength + len + 2) > mMaxLength) { 118 byte[] array_tmp = new byte[mLength + 4 * len]; 119 System.arraycopy(mArray, 0, array_tmp, 0, mLength); 121 mMaxLength = mLength + 4 * len; 123 mArray[mLength++] = tag; 124 mArray[mLength++] = len; 125 System.arraycopy(value, 0, mArray, mLength, len); 126 mLength += len [all...] |
ObexPacket.java | 25 public int mLength; 30 mLength = length;
|
/frameworks/base/tools/aapt2/util/ |
StringPiece.h | 72 size_t mLength; 83 inline BasicStringPiece<TChar>::BasicStringPiece() : mData(nullptr) , mLength(0) { 88 mData(str.mData), mLength(str.mLength) { 93 mData(str.data()), mLength(str.length()) { 98 mData(str), mLength(str != nullptr ? strlen(str) : 0) { 103 mData(str), mLength(str != nullptr ? strlen16(str) : 0) { 108 mData(str), mLength(len) { 115 mLength = rhs.mLength; [all...] |
/frameworks/av/media/libmedia/ |
MidiIoWrapper.cpp | 40 mLength = lseek(mFd, 0, SEEK_END); 47 mLength = size; 56 mLength = l; 58 mLength = 0; 80 if (offset + size > mLength) { 81 size = mLength - offset; 87 ALOGV("size() = %d", int(mLength)); 88 return mLength;
|
/external/replicaisland/src/com/replica/replicaisland/ |
SpriteAnimation.java | 30 private float mLength; 37 mLength = 0.0f; 43 final float length = mLength; 84 mFrameStartTimes[mFrames.getCount()] = mLength; 86 mLength += frame.holdTime; 90 return mLength;
|
/frameworks/base/core/java/android/bluetooth/le/ |
ResultStorageDescriptor.java | 32 private int mLength; 43 return mLength; 56 mLength = length; 68 dest.writeInt(mLength); 78 mLength = in.readInt();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Stroke.java | 31 private float mLength; 43 mLength += mPoints.get(mPoints.size() - 1).dist(point); 53 return mLength;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_options.h | 27 : mOptions(options), mLength(length) {} 70 const int mLength; 73 return 0 <= key && key < mLength;
|
/frameworks/av/media/libstagefright/ |
FileSource.cpp | 35 mLength(-1), 50 mLength = lseek64(mFd, 0, SEEK_END); 59 mLength(length), 72 if (mLength < 0) { 73 mLength = 0; 75 if (mLength > INT64_MAX - mOffset) { 76 mLength = INT64_MAX - mOffset; 82 mLength = 0; 84 if (mOffset + mLength > s.st_size) { 85 mLength = s.st_size - mOffset [all...] |
/frameworks/rs/ |
rsStream.cpp | 56 mLength = len; 67 while (mPos + numBytes >= mLength) { 77 if (mPos + sizeof(v) >= mLength) { 95 if (mPos + len*sizeof(char) >= mLength) { 108 uint8_t *newData = (uint8_t*)malloc(mLength*2); 109 memcpy(newData, mData, mLength*sizeof(uint8_t)); 110 mLength = mLength * 2;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer1D.java | 27 private int mLength = 0; 57 return mLength; 97 mLength = 1; 99 mLength *= dim;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ImageDescriptor.java | 30 int mLength; 46 mLength = 0; 70 d.mLength = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff)); 73 d.mHighOffset + ", " + d.mLowOffset + ", " + d.mLength);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceRequest.java | 52 private int mLength; 81 mLength = query.length()/2 + 2; 83 mLength = 2; 98 mLength = length; 139 sb.append(String.format(Locale.US, "%02x", (mLength) & 0xff)); 140 sb.append(String.format(Locale.US, "%02x", (mLength >> 8) & 0xff)); 230 (req.mLength != mLength)) { 246 result = 31 * result + mLength; 259 dest.writeInt(mLength); [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
UsbRequest.java | 46 private int mLength; 148 mLength = length; 159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out); 162 mBuffer.position(Math.min(bytesRead, mLength)); 165 mLength = 0;
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
TlvBufferUtils.java | 295 public int mLength; 311 mLength = length; 319 * {@link TlvElement#mLength} is != 1 will result in an exception. 324 if (mLength != 1) { 326 "Accesing a byte from a TLV element of length " + mLength); 334 * {@link TlvElement#mLength} is != 2 will result in an exception. 339 if (mLength != 2) { 341 "Accesing a short from a TLV element of length " + mLength); 349 * whose {@link TlvElement#mLength} is != 4 will result in an exception. 354 if (mLength != 4) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
AssetFileAddress.java | 30 public final long mLength; 35 mLength = length;
|
/frameworks/av/include/media/ |
MidiIoWrapper.h | 42 int64_t mLength;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
Asn1Object.java | 10 private final int mLength; 22 mLength = length; 39 return mLength == Asn1Decoder.IndefiniteLength; 43 return mLength;
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
DictionaryHeaderUtils.java | 28 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength);
|
/frameworks/base/core/java/android/os/ |
MemoryFile.java | 59 private int mLength; // total length of our ashmem region 70 mLength = length; 105 native_munmap(mAddress, mLength); 141 return mLength; 205 || srcOffset < 0 || srcOffset > mLength 206 || count > mLength - srcOffset) { 229 || destOffset < 0 || destOffset > mLength 230 || count > mLength - destOffset) { 269 if (mOffset >= mLength) { 272 return mLength - mOffset [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryFlagParser.java | 31 private long mLength; 46 mLength = endTime - startTime; 77 return mLength;
|