Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 18 of 18) 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/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/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/apps/Dialer/src/com/android/dialer/calllog/
DGroupingListAdapter.java124 int lastIndex = mGroupMetadata.size() - 1; in addGroup() local
125 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/util/
DTransitionImageAnimation.java214 int lastIndex = mTransitions.size() - 1; in setProgress() local
215 for (int i = lastIndex; i >= 0; i--) { in setProgress()
223 if (i == lastIndex) { in setProgress()
/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/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/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/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/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1558 int lastIndex = mController.getCurrentModuleIndex(); in onModeSelected() local
1563 if (lastIndex == currentIndex) { in onModeSelected()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1533 int lastIndex = getChildCount() - 1 - emptyExtraPages; in wallpaperOffsetForScroll() local
1536 firstIndex = lastIndex; in wallpaperOffsetForScroll()
1537 lastIndex = temp; in wallpaperOffsetForScroll()
1541 int scrollRange = getScrollForPage(lastIndex) - firstPageScrollX; in wallpaperOffsetForScroll()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.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/ ...