Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java157 final int lastIndex = size - 1; in isStartOfAGesture() local
158 final int deltaTime = mEventTimes.get(lastIndex) - mDetectFastMoveTime; in isStartOfAGesture()
163 mXCoordinates.get(lastIndex), mYCoordinates.get(lastIndex), in isStartOfAGesture()
181 final int lastIndex = getLength() - 1; in duplicateLastPointWith() local
182 if (lastIndex >= 0) { in duplicateLastPointWith()
183 final int x = mXCoordinates.get(lastIndex); in duplicateLastPointWith()
184 final int y = mYCoordinates.get(lastIndex); in duplicateLastPointWith()
207 final int lastIndex = getLength() - 1; in appendPoint() local
211 if (lastIndex >= 0 && mEventTimes.get(lastIndex) > time) { in appendPoint()
213 x, y, time, mXCoordinates.get(lastIndex), mYCoordinates.get(lastIndex), in appendPoint()
[all …]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java51 final int lastIndex = mCurrentIndex - 1; in flush() local
52 if (mStartIndexOfBuffer == lastIndex) { in flush()
55 } else if (mStartIndexOfBuffer == lastIndex - 1) { in flush()
62 mIndent, mResourceNames[lastIndex], mLastElement); in flush()
69 mIndent, mResourceNames[lastIndex]); in flush()
/packages/apps/TV/src/com/android/tv/data/
DWatchedHistoryManager.java54 final long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1);
55 if (lastIndex <= mLastIndex) {
64 for (long i = mLastIndex + 1; i <= lastIndex; ++i) {
75 mLastIndex = lastIndex;
260 long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); in getRecordFromSharedPreferences() local
261 long index = lastIndex - reverseIndex; in getRecordFromSharedPreferences()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DComposedData.java50 final int lastIndex = mTypedWord.length() in copyCodePointsExceptTrailingSingleQuotesAndReturnCodePointCount() local
52 if (lastIndex <= 0) { in copyCodePointsExceptTrailingSingleQuotesAndReturnCodePointCount()
59 final int codePointSize = Character.codePointCount(mTypedWord, 0, lastIndex); in copyCodePointsExceptTrailingSingleQuotesAndReturnCodePointCount()
64 lastIndex, true /* downCase */); in copyCodePointsExceptTrailingSingleQuotesAndReturnCodePointCount()
DStringUtils.java620 final int lastIndex = charSequence.length() - 1; in getTrailingSingleQuotesCount() local
621 int i = lastIndex; in getTrailingSingleQuotesCount()
625 return lastIndex - i; in getTrailingSingleQuotesCount()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DGroupingListAdapter.java106 int lastIndex = mGroupMetadata.size() - 1; in addGroup() local
107 if (lastIndex < 0 || cursorPosition <= mGroupMetadata.keyAt(lastIndex)) { in addGroup()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactSectionIndexer.java147 final int lastIndex = sections.size() - 1; in buildIndexerFromDisplayNames() local
148 final String currentSection = lastIndex >= 0 ? sections.get(lastIndex) : null; in buildIndexerFromDisplayNames()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java358 int lastIndex = getChildCount() - 1; in bringViewShadowToTop() local
359 if (lastIndex == index) { in bringViewShadowToTop()
363 View lastShadowView = getChildAt(lastIndex); in bringViewShadowToTop()
DScrollAdapterView.java969 int lastIndex = lastExpandableIndex();
970 View child = getChildAt(lastIndex - 1);
987 int childIndex = lastIndex - 1 - i;
2580 int lastIndex = lastExpandableIndex();
2600 for (int idx = firstIndex; idx < lastIndex; idx += mItemsOnOffAxis) {
2605 if (idx < lastIndex - mItemsOnOffAxis) {
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerController.java547 int lastIndex = mCurrentChannel.length() - 1;
548 String lastCharacter = String.valueOf(mCurrentChannel.charAt(lastIndex));
553 mCurrentChannel.deleteCharAt(lastIndex);
/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.java105 int lastIndex = Math.min(lastDay - startDay, 30); in processRequest() local
107 for(int i = firstIndex; i <= lastIndex; i++) { in processRequest()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java147 int lastIndex = mSkipListSize - 1; in nextMergeSlot() local
148 ++mSkipList[lastIndex]; in nextMergeSlot()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java414 int lastIndex = 0; in parseCSV() local
417 while ((lastIndex = value.indexOf(",", lastIndex + 1)) > 0) { in parseCSV()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java376 final Integer lastIndex = (Integer)centerWordView.getTag(); in layoutAndReturnStartIndexOfMoreSuggestions() local
377 return (lastIndex == null ? 0 : lastIndex) + 1; in layoutAndReturnStartIndexOfMoreSuggestions()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1558 int lastIndex = mController.getCurrentModuleIndex(); in onModeSelected() local
1563 if (lastIndex == currentIndex) { in onModeSelected()
/packages/apps/TV/libs/
Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...