/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArray.java | 29 private int mLength; field in ResizableIntArray 36 if (index < mLength) { in get() 39 throw new ArrayIndexOutOfBoundsException("length=" + mLength + "; index=" + index); in get() 43 if (index < mLength) { in addAt() 46 mLength = index; in addAt() 52 final int currentLength = mLength; in add() 55 mLength = currentLength + 1; in add() 83 return mLength; in getLength() 88 mLength = newLength; in setLength() 94 mLength = 0; in reset() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Timer.java | 88 private final long mLength; field in Timer 112 mLength = length; in Timer() 124 public long getLength() { return mLength; } in getLength() 198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime, in start() 213 return new Timer(mId, PAUSED, mLength, mTotalLength, UNUSED, UNUSED, remainingTime, mLabel, in pause() 226 return new Timer(mId, EXPIRED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, in expire() 239 return new Timer(mId, MISSED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, in miss() 251 return new Timer(mId, RESET, mLength, mLength, UNUSED, UNUSED, mLength, mLabel, in reset() 269 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterReboot() 291 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterTimeSet() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | FixedLengthInputStream.java | 28 private final int mLength; field in FixedLengthInputStream 33 this.mLength = length; in FixedLengthInputStream() 38 return mLength - mCount; in available() 43 if (mCount < mLength) { in read() 53 if (mCount < mLength) { in read() 54 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 72 return mLength; in getLength() 77 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength); in toString()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | FixedLengthInputStream.java | 29 private final int mLength; field in FixedLengthInputStream 34 this.mLength = length; in FixedLengthInputStream() 39 return mLength - mCount; in available() 44 if (mCount < mLength) { in read() 54 if (mCount < mLength) { in read() 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); in read() 73 return mLength; in getLength() 78 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength); in toString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 312 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo() 320 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo() 328 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo() 353 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); in sendFile() 404 if (!mInterrupted && (position != fileInfo.mLength)) { in sendFile() 419 if (position == fileInfo.mLength) { in sendFile() 447 while (!mInterrupted && okToProceed && (position < fileInfo.mLength)) { in sendFile() 468 percent = position * 100 / fileInfo.mLength; in sendFile() 482 + fileInfo.mLength); in sendFile() 487 } else if (!mInterrupted && position == fileInfo.mLength) { in sendFile() [all …]
|
D | BluetoothOppObexServerSession.java | 458 while ((!mInterrupted) && (position != fileInfo.mLength)) { in receiveFile() 471 percent = position * 100 / fileInfo.mLength; in receiveFile() 503 if (position == fileInfo.mLength) { in receiveFile() 507 if (D) Log.d(TAG, "Reading file failed at " + position + " of " + fileInfo.mLength); in receiveFile() 531 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo()
|
D | BluetoothOppSendFileInfo.java | 77 public final long mLength; field in BluetoothOppSendFileInfo 84 mLength = length; in BluetoothOppSendFileInfo() 96 mLength = length; in BluetoothOppSendFileInfo()
|
D | BluetoothOppReceiveFileInfo.java | 69 public long mLength; field in BluetoothOppReceiveFileInfo 80 mLength = length; in BluetoothOppReceiveFileInfo() 88 mLength = length; in BluetoothOppReceiveFileInfo()
|
D | BluetoothOppTransfer.java | 402 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessage.java | 66 private final int mLength; field in SnepMessage 145 mLength = input.getInt(); in SnepMessage() 149 ndefLength = mLength - 4; in SnepMessage() 153 ndefLength = mLength; in SnepMessage() 169 mLength = length; in SnepMessage() 232 return mLength; in getLength()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | AnglesClassifier.java | 101 private float mLength; field in AnglesClassifier.Data 114 mLength = mFirstLength = 0.0f; in Data() 126 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point); in addPoint() 151 mFirstLength = mLength; in addPoint() 176 if (mFirstLength < mLength / 2f) { in getAnglesVariance()
|
D | Stroke.java | 32 private float mLength; field in Stroke 44 mLength += mPoints.get(mPoints.size() - 1).dist(point); in addPoint() 54 return mLength; in getTotalLength()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOUtils.java | 65 public int mLength; field in BinaryDictIOUtils.Position 69 mLength = length; in Position() 94 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength); in readUnigramsAndBigramsBinaryInner() 98 if (index != p.mLength) index = p.mLength; in readUnigramsAndBigramsBinaryInner()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
D | suggest_options.h | 27 : mOptions(options), mLength(length) {} in SuggestOptions() 70 const int mLength; variable 73 return 0 <= key && key < mLength; in isValidKey()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | AssetFileAddress.java | 32 public final long mLength; field in AssetFileAddress 37 mLength = length; in AssetFileAddress() 68 return String.format("%s (offset=%d, length=%d)", mFilename, mOffset, mLength); in toString()
|
D | DictionaryFactory.java | 60 new ReadOnlyBinaryDictionary(f.mFilename, f.mOffset, f.mLength, in createMainDictionaryFromManager()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryFlagParser.java | 30 private long mLength; field in BatteryFlagParser 45 mLength = endTime - startTime; in onParsingStarted() 76 return mLength; in getPeriod()
|
D | BatteryCellParser.java | 28 private long mLength; field in BatteryCellParser 49 mLength = endTime - startTime; in onParsingStarted() 80 return mLength; in getPeriod()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 544 final int mLength; field in TextUtilities.SearchTerm 551 mLength = term.length(); in SearchTerm() 650 if (t.mMatchLength == t.mLength) { in highlightTerms() 651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength); in highlightTerms() 669 lastOut = t.mMatchStart + t.mLength - 1; in highlightTerms()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SentenceLevelAdapter.java | 56 public final int mLength; field in SentenceLevelAdapter.SentenceWordItem 60 mLength = end - start; in SentenceWordItem() 192 lengths[i] = item.mLength;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | AssetFileAddress.java | 30 public final long mLength; field in AssetFileAddress 35 mLength = length; in AssetFileAddress()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version); 463 return new DictionaryInfo(id, locale, description, filenameToStoreOnDb, fileAddress.mLength,
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
D | DictionaryHeaderUtils.java | 28 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength); in getContentVersion()
|