Searched refs:mLength (Results 1 - 20 of 20) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DResizableIntArray.java24 private int mLength; field in class:ResizableIntArray
31 if (index < mLength) {
34 throw new ArrayIndexOutOfBoundsException("length=" + mLength + "; index=" + index);
38 if (index < mLength) {
41 mLength = index;
47 final int currentLength = mLength;
50 mLength = currentLength + 1;
78 return mLength;
83 mLength = newLength;
89 mLength
[all...]
H A DUserLogRingCharBuffer.java27 public /* for test */ int mLength = 0; field in class:UserLogRingCharBuffer
75 if (mLength < BUFSIZE) {
76 ++mLength;
81 if (mLength < 1) {
85 --mLength;
90 if (mLength <= n || n < 0) {
98 if (mLength <= back
107 if (mLength <= back
117 for (; i < mLength; ++i) {
123 for (; i < mLength;
[all...]
H A DDictionaryInfoUtils.java77 values.put(FILESIZE_COLUMN, mFileAddress.mLength);
288 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength);
/packages/apps/Email/src/com/android/email/
H A DFixedLengthInputStream.java29 private final int mLength; field in class:FixedLengthInputStream
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/inputmethods/LatinIME/native/jni/src/suggest/core/
H A Dsuggest_options.h27 : mOptions(options), mLength(length) {}
53 const int mLength; member in class:latinime::SuggestOptions
56 return 0 <= key && key < mLength;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DAssetFileAddress.java30 public final long mLength; field in class:AssetFileAddress
35 mLength = length;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAssetFileAddress.java30 public final long mLength; field in class:AssetFileAddress
35 mLength = length;
H A DDictionaryFactory.java63 new ReadOnlyBinaryDictionary(f.mFilename, f.mOffset, f.mLength,
145 address.mFilename, address.mOffset, address.mLength, useFullEditDistance,
H A DExpandableDictionary.java60 int mLength = 0; field in class:ExpandableDictionary.NodeArray
68 if (mLength + 1 > mData.length) {
69 Node[] tempData = new Node[mLength + INCREMENT];
70 if (mLength > 0) {
71 System.arraycopy(mData, 0, tempData, 0, mLength);
75 mData[mLength++] = n;
193 final int childrenLength = children.mLength;
410 final int count = roots.mLength;
564 final int childrenLength = children.mLength;
650 final int count = children.mLength;
[all...]
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepMessage.java49 private final int mLength; field in class:SnepMessage
85 mLength = input.getInt();
89 ndefLength = mLength - 4;
93 ndefLength = mLength;
109 mLength = length;
160 return mLength;
/packages/apps/Exchange/src/com/android/exchange/
H A DEasResponse.java48 private final int mLength; field in class:EasResponse
65 mLength = (int) mEntity.getContentLength();
67 mLength = 0;
168 return mLength == 0;
184 return mLength;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerService.java247 private int mLength = 0; field in class:AndroidSpellCheckerService.SuggestionsGatherer
265 final int positionIndex = Arrays.binarySearch(mScores, 0, mLength, score);
270 if (insertIndex == 0 && mLength >= mMaxLength) {
294 if (mLength < mMaxLength) {
295 final int copyLen = mLength - insertIndex;
296 ++mLength;
312 if (0 == mLength) {
329 if (mLength != mSuggestions.size()) {
330 Log.e(TAG, "Suggestion size is not the same as stored mLength");
332 for (int i = mLength
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java77 public final long mLength; field in class:BluetoothOppSendFileInfo
84 mLength = length;
96 mLength = length;
H A DBluetoothOppObexClientSession.java312 if (fileInfo.mFileName == null || fileInfo.mLength == 0) {
320 Log.v(TAG, "length :" + fileInfo.mLength);
328 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength);
352 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength);
402 if (!mInterrupted && (position != fileInfo.mLength)) {
417 if (position != fileInfo.mLength) {
447 while (!mInterrupted && okToProceed && (position != fileInfo.mLength)) {
479 + fileInfo.mLength);
484 } else if (!mInterrupted && position == fileInfo.mLength) {
486 + " length " + fileInfo.mLength);
[all...]
H A DBluetoothOppReceiveFileInfo.java63 public long mLength; field in class:BluetoothOppReceiveFileInfo
74 mLength = length;
82 mLength = length;
H A DBluetoothOppObexServerSession.java464 while ((!mInterrupted) && (position != fileInfo.mLength)) {
504 if (position == fileInfo.mLength) {
508 if (D) Log.d(TAG, "Reading file failed at " + position + " of " + fileInfo.mLength);
532 Log.v(TAG, "length :" + fileInfo.mLength);
H A DBluetoothOppTransfer.java323 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength);
/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentDownloadServiceTests.java197 mMockFile.mLength = length;
211 private long mLength = 0; field in class:AttachmentDownloadServiceTests.MockFile
219 return mLength;
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
H A DTextUtilities.java544 final int mLength; field in class:TextUtilities.SearchTerm
551 mLength = term.length();
650 if (t.mMatchLength == t.mLength) {
651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength);
669 lastOut = t.mMatchStart + t.mLength - 1;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtils.java52 public int mLength; field in class:BinaryDictIOUtils.Position
56 mLength = length;
82 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength);
86 if (index != p.mLength) index = p.mLength;

Completed in 325 milliseconds