/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/modules/NeuralNetworks/common/cpu_operations/ |
D | MaximumMinimum.cpp | 42 bool lastIndex = false; in evalGeneric() local 54 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 55 } while (!lastIndex); in evalGeneric() 68 bool lastIndex = false; in evalQuant8() local 82 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalQuant8() 83 } while (!lastIndex); in evalQuant8()
|
D | Pow.cpp | 41 bool lastIndex = false; in evalGeneric() local 53 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric() 54 } while (!lastIndex); in evalGeneric()
|
D | LogicalAndOr.cpp | 39 bool lastIndex = false; in compute() local 50 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 51 } while (!lastIndex); in compute()
|
D | PRelu.cpp | 52 bool lastIndex = false; in eval() local 63 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in eval() 64 } while (!lastIndex); in eval()
|
D | Slice.cpp | 59 bool lastIndex = false; in evalGeneric() local 70 NN_RET_CHECK(indexedOutput.nextIndexInplace(&outputIndex, &lastIndex)); in evalGeneric() 71 } while (!lastIndex); in evalGeneric()
|
D | Comparisons.cpp | 41 bool lastIndex = false; in compute() local 59 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute() 60 } while (!lastIndex); in compute()
|
/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/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | DiagnosticEventBuilder.java | 174 int lastIndex = 0; in getLastIndex() local 181 if (value > lastIndex) { in getLastIndex() 182 lastIndex = value; in getLastIndex() 189 return lastIndex; in getLastIndex()
|
/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/Settings/src/com/android/settings/core/ |
D | RoundCornerPreferenceAdapter.java | 143 int lastIndex = visibleList.size() - 1; in mappingPreferenceGroup() local 144 int newValue = visibleList.get(lastIndex) & ~ROUND_CORNER_BOTTOM; in mappingPreferenceGroup() 145 visibleList.set(lastIndex, newValue); in mappingPreferenceGroup()
|
/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/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/modules/NeuralNetworks/common/ |
D | IndexedShapeWrapper.cpp | 36 bool IndexedShapeWrapper::nextIndexInplace(std::vector<uint32_t>* index, bool* lastIndex) const { in nextIndexInplace() 47 *lastIndex = true; in nextIndexInplace()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | DiagnosticHalService.java | 381 int lastIndex = 0; in getLastIndex() local 388 if (value > lastIndex) { in getLastIndex() 389 lastIndex = value; in getLastIndex() 396 return lastIndex; in getLastIndex()
|
/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()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventLoader.kt | 82 val lastIndex: Int = Math.min(lastDay - startDay, 30) in processRequest() constant 83 for (i in firstIndex..lastIndex) { in processRequest()
|
/packages/modules/NeuralNetworks/common/include/ |
D | IndexedShapeWrapper.h | 41 bool nextIndexInplace(std::vector<uint32_t>* index, bool* lastIndex) const;
|
/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/apps/Settings/src/com/android/settings/accessibility/ |
D | PaletteListPreference.java | 176 final int lastIndex = size - 1; in updateFirstAndLastItemsBackground() local 180 (GradientDrawable) rootView.getChildAt(lastIndex).getBackground(); in updateFirstAndLastItemsBackground()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryChartView.java | 521 final int lastIndex = displayAreas.length - 1; in drawAxisLabels() local 526 drawAxisLabelText(canvas, lastIndex, displayAreas[lastIndex], baselineY); in drawAxisLabels() 527 mLabelDrawnIndexes.add(lastIndex); in drawAxisLabels() 528 drawAxisLabelsBetweenStartIndexAndEndIndex(canvas, displayAreas, 0, lastIndex, baselineY); in drawAxisLabels()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/util/ |
D | WidgetPreviewContainerSize.kt | 77 while (currentIndex <= containerSizes.lastIndex && hasAcceptableSize(currentIndex)) { in findClosestFittingContainer()
|