/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeRecognitionPoints.java | 157 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/ |
D | ArrayInitializerFormatter.java | 51 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/ |
D | ComposedData.java | 50 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()
|
D | StringUtils.java | 620 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/ |
D | WatchedHistoryManager.java | 69 final long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); 70 if (lastIndex <= mLastIndex) { 78 for (long i = mLastIndex + 1; i <= lastIndex; ++i) { 90 mLastIndex = lastIndex; 235 long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); in getRecordFromSharedPreferences() local 236 long index = lastIndex - reverseIndex; in getRecordFromSharedPreferences()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | GroupingListAdapter.java | 106 int lastIndex = groupMetadata.size() - 1; in addGroup() local 107 if (lastIndex < 0 || cursorPosition <= groupMetadata.keyAt(lastIndex)) { in addGroup()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactSectionIndexer.java | 147 final int lastIndex = sections.size() - 1; in buildIndexerFromDisplayNames() local 148 final String currentSection = lastIndex >= 0 ? sections.get(lastIndex) : null; in buildIndexerFromDisplayNames()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | ConditionContextualCardController.java | 168 final int lastIndex = expandedCards.size() - 1; in getExpandedConditionalCards() local 170 (ConditionalContextualCard) expandedCards.get(lastIndex); in getExpandedConditionalCards() 171 expandedCards.set(lastIndex, card.mutate().setViewType( in getExpandedConditionalCards()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionContextualCardController.java | 168 final int lastIndex = expandedCards.size() - 1; in getExpandedConditionalCards() local 170 (ConditionalContextualCard) expandedCards.get(lastIndex); in getExpandedConditionalCards() 171 expandedCards.set(lastIndex, card.mutate().setViewType( in getExpandedConditionalCards()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | ControlBar.java | 269 final int lastIndex = lastUsedIndex; in updateViewsLayout() local 277 if (lastIndex < (i + 1) * mNumColumns) { in updateViewsLayout() 282 float lastRowX = mSlots[lastIndex].getX(); in updateViewsLayout()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | FrameLayoutWithShadows.java | 358 int lastIndex = getChildCount() - 1; in bringViewShadowToTop() local 359 if (lastIndex == index) { in bringViewShadowToTop() 363 View lastShadowView = getChildAt(lastIndex); in bringViewShadowToTop()
|
D | ScrollAdapterView.java | 969 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/ |
D | EventLoader.java | 105 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/ |
D | ImageListUber.java | 147 int lastIndex = mSkipListSize - 1; in nextMergeSlot() local 148 ++mSkipList[lastIndex]; in nextMergeSlot()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 376 final Integer lastIndex = (Integer)centerWordView.getTag(); in layoutAndReturnStartIndexOfMoreSuggestions() local 377 return (lastIndex == null ? 0 : lastIndex) + 1; in layoutAndReturnStartIndexOfMoreSuggestions()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | UserCapabilityExchangeImpl.java | 240 final int lastIndex = mPublishStateCallbacks.getRegisteredCallbackCount() - 1; in clearPublishStateCallbacks() local 241 for (int index = lastIndex; index >= 0; index--) { in clearPublishStateCallbacks()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 1558 int lastIndex = mController.getCurrentModuleIndex(); in onModeSelected() local 1563 if (lastIndex == currentIndex) { in onModeSelected()
|