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

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DResizableIntArray.java29 private int mLength; field in class:ResizableIntArray
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
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DFixedLengthInputStream.java28 private final int mLength; field in class:FixedLengthInputStream
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);
/packages/apps/Email/provider_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/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
H A DStroke.java32 private float mLength; field in class:Stroke
44 mLength += mPoints.get(mPoints.size() - 1).dist(point);
54 return mLength;
H A DAnglesClassifier.java101 private float mLength; field in class:AnglesClassifier.Data
114 mLength = mFirstLength = 0.0f;
126 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point);
151 mFirstLength = mLength;
176 if (mFirstLength < mLength / 2f) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
H A Dsuggest_options.h27 : mOptions(options), mLength(length) {}
70 const int mLength; member in class:latinime::SuggestOptions
73 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-overridable/src/com/android/inputmethod/latin/utils/
H A DDictionaryHeaderUtils.java28 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryFlagParser.java30 private long mLength; field in class:BatteryFlagParser
45 mLength = endTime - startTime;
76 return mLength;
H A DBatteryCellParser.java28 private long mLength; field in class:BatteryCellParser
49 mLength = endTime - startTime;
80 return mLength;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAssetFileAddress.java32 public final long mLength; field in class:AssetFileAddress
37 mLength = length;
68 return String.format("%s (offset=%d, length=%d)", mFilename, mOffset, mLength);
H A DDictionaryFactory.java60 new ReadOnlyBinaryDictionary(f.mFilename, f.mOffset, f.mLength,
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DTimer.java88 private final long mLength; field in class:Timer
112 mLength = length;
124 public long getLength() { return mLength; }
198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime,
213 return new Timer(mId, PAUSED, mLength, mTotalLength, UNUSED, UNUSED, remainingTime, mLabel,
226 return new Timer(mId, EXPIRED, mLength, 0L, now(), wallClock(), remainingTime, mLabel,
239 return new Timer(mId, MISSED, mLength, 0L, now(), wallClock(), remainingTime, mLabel,
251 return new Timer(mId, RESET, mLength, mLength, UNUSED, UNUSED, mLength, mLabe
[all...]
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepMessage.java66 private final int mLength; field in class:SnepMessage
145 mLength = input.getInt();
149 ndefLength = mLength - 4;
153 ndefLength = mLength;
169 mLength = length;
232 return mLength;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
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);
353 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength);
404 if (!mInterrupted && (position != fileInfo.mLength)) {
419 if (position == fileInfo.mLength) {
447 while (!mInterrupted && okToProceed && (position < fileInfo.mLength)) {
468 percent = position * 100 / fileInfo.mLength;
482 + fileInfo.mLength);
487 } else if (!mInterrupted && position == fileInfo.mLength) {
[all...]
H A DBluetoothOppReceiveFileInfo.java69 public long mLength; field in class:BluetoothOppReceiveFileInfo
80 mLength = length;
88 mLength = length;
H A DBluetoothOppSendFileInfo.java77 public final long mLength; field in class:BluetoothOppSendFileInfo
84 mLength = length;
96 mLength = length;
H A DBluetoothOppObexServerSession.java458 while ((!mInterrupted) && (position != fileInfo.mLength)) {
471 percent = position * 100 / fileInfo.mLength;
503 if (position == fileInfo.mLength) {
507 if (D) Log.d(TAG, "Reading file failed at " + position + " of " + fileInfo.mLength);
531 Log.v(TAG, "length :" + fileInfo.mLength);
H A DBluetoothOppTransfer.java402 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtils.java65 public int mLength; field in class:BinaryDictIOUtils.Position
69 mLength = length;
94 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength);
98 if (index != p.mLength) index = p.mLength;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DSentenceLevelAdapter.java56 public final int mLength; field in class:SentenceLevelAdapter.SentenceWordItem
60 mLength = end - start;
192 lengths[i] = item.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/utils/
H A DDictionaryInfoUtils.java437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version);
463 return new DictionaryInfo(id, locale, description, filenameToStoreOnDb, fileAddress.mLength,

Completed in 658 milliseconds