/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 432 int currentIndex = 0; 434 while ((currentIndex = specWithoutDp.indexOf(MARKER_START_CHAR, lastIndex)) != -1) { 438 sb.append(specWithoutDp, lastIndex, currentIndex); 440 if (specWithoutDp.startsWith(LEFT_MARKER, currentIndex)) { 444 currentIndex += LEFT_MARKER.length(); 445 } else if (specWithoutDp.startsWith(RIGHT_MARKER, currentIndex)) { 449 currentIndex += RIGHT_MARKER.length(); 450 } else if (specWithoutDp.startsWith(BOTTOM_MARKER, currentIndex)) { 452 currentIndex += BOTTOM_MARKER.length(); 458 } else if (specWithoutDp.startsWith(CENTER_VERTICAL_MARKER, currentIndex)) { [all …]
|
/frameworks/base/libs/hwui/ |
D | PathParser.cpp | 56 int currentIndex = start; in extract() local 61 for (; currentIndex < end; currentIndex++) { in extract() 64 char currentChar = s[currentIndex]; in extract() 72 if (currentIndex != start && !isPrevExponential) { in extract() 97 *outEndPosition = currentIndex; in extract()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 330 int currentIndex = from; in findIndexBackward() local 333 if (currentIndex < 0 || N < currentIndex) { in findIndexBackward() 342 return currentIndex; // Reached to the requested length in code points. in findIndexBackward() 345 --currentIndex; in findIndexBackward() 346 if (currentIndex < 0) { in findIndexBackward() 352 final char c = cs.charAt(currentIndex); in findIndexBackward() 374 int currentIndex = from; in findIndexForward() local 377 if (currentIndex < 0 || N < currentIndex) { in findIndexForward() 387 return currentIndex; // Reached to the requested length in code points. in findIndexForward() 390 if (currentIndex >= N) { in findIndexForward() [all …]
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 296 int currentIndex) { in shouldExcludeLastLifecycleState() argument 297 final ClientTransactionItem item = items.get(currentIndex); in shouldExcludeLastLifecycleState() 304 final int nextLifecycleItemIndex = findNextLifecycleItemIndex(items, currentIndex + 1, in shouldExcludeLastLifecycleState() 317 return currentIndex == lastCallbackRequestingStateIndex(items, currentIndex, in shouldExcludeLastLifecycleState()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | StartSequentialEffectStep.java | 53 public final int currentIndex; field in StartSequentialEffectStep 69 currentIndex = index; in StartSequentialEffectStep() 85 "StartSequentialEffectStep for effect #" + currentIndex); in play() 87 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() 129 int nextIndex = currentIndex + 1; in nextStep()
|
D | FinishSequentialEffectStep.java | 52 "FinishSequentialEffectStep for effect #" + startedStep.currentIndex); in play()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.cpp | 648 uint32_t currentIndex = 0; in generateFrameTimeline() local 651 currentIndex < VsyncEventData::kFrameTimelinesCapacity; multiplier++) { in generateFrameTimeline() 662 if (currentIndex == 0) { in generateFrameTimeline() 675 outVsyncEventData.preferredFrameTimelineIndex = currentIndex; in generateFrameTimeline() 678 outVsyncEventData.frameTimelines[currentIndex] = in generateFrameTimeline() 682 currentIndex++; in generateFrameTimeline() 685 if (currentIndex == 0) { in generateFrameTimeline() 690 outVsyncEventData.frameTimelines[currentIndex] = in generateFrameTimeline() 695 currentIndex++; in generateFrameTimeline() 698 outVsyncEventData.frameTimelinesLength = currentIndex; in generateFrameTimeline()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenOptions.kt | 336 private var currentIndex: Int = -1 variable in ArgIterator 339 get() = args.get(currentIndex) 345 if ((currentIndex + 1) >= args.size) { in nextArgOptional() 348 return args.get(++currentIndex) in nextArgOptional()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculator.kt | 380 currentIndex = firstViewInShelfIndex in <lambda>() 495 currentIndex: Int in <lambda>() 497 if (currentIndex == 0) { in <lambda>() 500 return stack.calculateGapHeight(previous, current, currentIndex) + dividerHeight in <lambda>()
|
D | NotificationStackScrollLayout.java | 1036 int currentIndex = 0; in getSpeedBumpIndex() local 1044 currentIndex++; in getSpeedBumpIndex() 1052 speedBumpIndex = currentIndex; in getSpeedBumpIndex() 3132 int currentIndex = indexOfChild(child); in changeViewPosition() local 3134 if (currentIndex == -1) { in changeViewPosition() 3145 if (child != null && child.getParent() == this && currentIndex != newIndex) { in changeViewPosition()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | DragAndDropTargetState.kt | 258 val currentIndex = contentListState.list.indexOf(placeHolder) in movePlaceholderTo() constant 259 if (currentIndex != index) { in movePlaceholderTo() 260 contentListState.onMove(currentIndex, index) in movePlaceholderTo()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | WireBuffer.java | 80 int currentIndex = mIndex; in endWithSize() local 83 mIndex = currentIndex; in endWithSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaCarouselScrollHandler.kt | 440 val currentIndex = if (playerWidthPlusPadding > 0) pos / playerWidthPlusPadding else 0 in onFling() constant 442 var destIndex = if (flungTowardEnd) currentIndex + 1 else currentIndex in onFling()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 281 int currentIndex = startIndex; in initFromDirName() local 283 String8 part = parts[currentIndex]; in initFromDirName() 350 return ++currentIndex; in initFromDirName() 355 if (++currentIndex == size) { in initFromDirName() 359 return currentIndex; in initFromDirName() 362 part = parts[currentIndex]; in initFromDirName() 365 if (++currentIndex == size) { in initFromDirName() 371 return currentIndex; in initFromDirName()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 266 final int currentIndex = getIndex(imi, subtype); in getNextInputMethodLocked() local 267 if (currentIndex < 0) { in getNextInputMethodLocked() 273 final int candidateIndex = (currentIndex + offset) % numSubtypes; in getNextInputMethodLocked()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodSubtypeSwitchingControllerTest.java | 176 final int currentIndex = i; in assertRotationOrder() local 177 final int nextIndex = (currentIndex + 1) % numItems; in assertRotationOrder() 179 expectedRotationOrderOfImeSubtypeList[currentIndex]; in assertRotationOrder()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 700 int currentIndex = (mNextSensorRegIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() local 702 const int startIndex = currentIndex; in dump() 704 const SensorRegistrationInfo& reg_info = mLastNSensorRegistrations[currentIndex]; in dump() 707 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() 712 currentIndex = (currentIndex - 1 + SENSOR_REGISTRATIONS_BUF_SIZE) % in dump() 714 } while(startIndex != currentIndex); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 829 int currentIndex = parent.indexOfChild(child); in switchToParent() local 830 if (currentIndex == index) { in switchToParent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivitySnapshotController.java | 523 final int currentIndex = currTF != null in getActivityBelow() local 529 if (prevAdjacentIndex > currentIndex) { in getActivityBelow()
|
D | TaskDisplayArea.java | 569 final int currentIndex = mChildren.indexOf(rootTask); 570 if (currentIndex > minPosition) { 571 minPosition = currentIndex;
|
D | RootWindowContainer.java | 2709 final int[] currentIndex = {0}; in getRootTaskInfo() local 2712 int i = currentIndex[0]; in getRootTaskInfo() 2720 currentIndex[0] = ++i; in getRootTaskInfo()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 931 final boolean setLayoutDirection(int layoutDirection, int currentIndex) { in setLayoutDirection() argument 941 if (i == currentIndex) { in setLayoutDirection()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_CachedAppOptimizer.cpp | 171 int currentIndex() { return currentIndex_; } in currentIndex() function in android::VmaBatchCreator
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 455 int currentIndex = mCurrentMatrixIndex; in save() local 460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 2803 private static int tryGetTrunkPrefixOmittedIndex(String str, int currentIndex) { in tryGetTrunkPrefixOmittedIndex() argument 2805 for (int i = currentIndex ; i < length ; i++) { in tryGetTrunkPrefixOmittedIndex()
|