/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | PointerTrackerQueue.java | 70 int newIndex = 0; in remove() local 79 if (newIndex != index) { in remove() 83 newIndex++; in remove() 85 mArraySize = newIndex; in remove() 102 int newIndex, index; in releaseAllPointersOlderThan() local 112 if (newIndex != index) { in releaseAllPointersOlderThan() 116 newIndex++; in releaseAllPointersOlderThan() 133 newIndex++; in releaseAllPointersOlderThan() 135 mArraySize = newIndex; in releaseAllPointersOlderThan() 171 newIndex++; in releaseAllPointersExcept() [all …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | StackAnimationController.java | 782 for (int newIndex = 0; newIndex < bubbleViews.size(); newIndex++) { in animateReorder() 783 View view = bubbleViews.get(newIndex); in animateReorder() 784 updateBadgesAndZOrder(view, newIndex); in animateReorder() 788 for (int newIndex = 0; newIndex < bubbleViews.size(); newIndex++) { in animateReorder() 789 View view = bubbleViews.get(newIndex); in animateReorder() 797 if (newIndex == oldIndex) { in animateSwap() 799 updateBadgesAndZOrder(view, newIndex); in animateSwap() 800 if (newIndex == 0) { in animateSwap() 801 animateInBubble(view, newIndex); in animateSwap() 807 if (newIndex == 0) { in animateSwap() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | PreviewItemManager.java | 387 for (int newIndex = 0; newIndex < newItems.size(); ++newIndex) { 388 int oldIndex = oldItems.indexOf(newItems.get(newIndex)); 389 if (oldIndex >= 0 && newIndex != oldIndex) { 390 PreviewItemDrawingParams p = params.get(newIndex); 391 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems); 414 int prevIndex, int newIndex, int numItems) { 418 newIndex, numItems, DROP_IN_ANIMATION_DURATION, null);
|
H A D | FolderIcon.java | 368 int newIndex = mCurrentPreviewItems.indexOf(item); in onDrop() local 369 if (newIndex >= 0) { in onDrop() 372 index = newIndex; in onDrop()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | HeadsUpTouchHelper.java | 100 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent() local 101 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent() 102 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 103 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent()
|
H A D | PanelViewController.java | 1205 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent() local 1206 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent() 1207 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent() 1208 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent() 1319 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouch() local 1320 final float newY = event.getY(newIndex); in onTouch() 1321 final float newX = event.getX(newIndex); in onTouch() 1322 mTrackingPointer = event.getPointerId(newIndex); in onTouch()
|
/aosp12/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | WatchedSparseBooleanMatrix.java | 374 int newIndex = nextFree(); in indexOfKey() local 376 mMap = GrowingArrayUtils.insert(mMap, mSize, i, newIndex); in indexOfKey() 381 int offset = newIndex / PACKING; in indexOfKey() 382 int mask = ~(1 << (newIndex % PACKING)); in indexOfKey() 383 Arrays.fill(mValues, newIndex * valueRow, (newIndex + 1) * valueRow, 0); in indexOfKey()
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionary.java | 517 int newIndex = index; in findWordInTree() local 518 while (newIndex < codePoints.length && newIndex - index < currentPtNode.mChars.length) { in findWordInTree() 519 if (currentPtNode.mChars[newIndex - index] != codePoints[newIndex]) return null; in findWordInTree() 520 newIndex++; in findWordInTree() 522 index = newIndex; in findWordInTree()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | WordComposer.java | 183 final int newIndex = size(); in applyProcessedEvent() local 191 if (newIndex < MAX_WORD_LENGTH) { in applyProcessedEvent() 197 mInputPointers.addPointerAt(newIndex, keyX, keyY, 0, 0); in applyProcessedEvent() 200 if (0 == newIndex) { in applyProcessedEvent()
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceConfig.java | 615 int newIndex = 0; in constrainNitsAndBacklightArrays() local 617 newIndex = i - newStart; in constrainNitsAndBacklightArrays() 623 if (newIndex == 0) { in constrainNitsAndBacklightArrays() 633 newBacklight[newIndex] = newBacklightVal; in constrainNitsAndBacklightArrays() 634 newNits[newIndex] = newNitsVal; in constrainNitsAndBacklightArrays() 636 mBacklight = Arrays.copyOf(newBacklight, newIndex + 1); in constrainNitsAndBacklightArrays() 637 mNits = Arrays.copyOf(newNits, newIndex + 1); in constrainNitsAndBacklightArrays()
|
/aosp12/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiControlServiceWrapper.java | 177 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) { 178 HdmiControlServiceWrapper.this.setSystemAudioVolume(oldIndex, newIndex, maxIndex); 442 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {} in setSystemAudioVolume() argument
|
H A D | HdmiTvClient.java | 193 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) { 195 mService.setSystemAudioVolume(oldIndex, newIndex, maxIndex);
|
H A D | IHdmiControlService.aidl | 69 void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex); in setSystemAudioVolume() argument
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | EventIndexTest.java | 122 EventIndex newIndex = new EventIndex(mEventIndex); in testCopyConstructor() local 123 List<Range<Long>> newSlots = newIndex.getActiveTimeSlots(); in testCopyConstructor()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownTouchHandler.java | 261 int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouch() local 262 float newY = event.getY(newIndex); in onTouch() 263 trackingPointer = event.getPointerId(newIndex); in onTouch()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
H A D | FilmstripController.java | 275 public void onDataFocusChanged(int prevIndex, int newIndex); in onDataFocusChanged() argument
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaCarouselScrollHandler.kt | 470 private fun onMediaScrollingChanged(newIndex: Int, scrollInAmount: Int) { 474 if (newIndex != visibleMediaIndex || wasScrolledIn != nowScrolledIn) { 476 visibleMediaIndex = newIndex
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
H A D | PhysicsAnimationLayoutTestCase.java | 283 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument 285 () -> mWrappedController.onChildReordered(child, oldIndex, newIndex)); in onChildReordered()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationListContainer.java | 53 void changeViewPosition(ExpandableView child, int newIndex); in changeViewPosition() argument
|
H A D | NotificationChildrenContainer.java | 273 int newIndex = childIndex < 0 ? mAttachedChildren.size() : childIndex; in addNotification() 274 mAttachedChildren.add(newIndex, row); in addNotification() 280 mDividers.add(newIndex, divider); in addNotification()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 662 forwardIndexA = cccA.newIndex; in compareStrictly() 663 forwardIndexB = cccB.newIndex; in compareStrictly() 670 forwardIndexA = cccA.newIndex; in compareStrictly() 679 forwardIndexB = cccB.newIndex; in compareStrictly() 3036 public final int newIndex; field in PhoneNumberUtils.CountryCallingCodeAndNewIndex 3037 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument 3039 this.newIndex = newIndex; in CountryCallingCodeAndNewIndex()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationViewHierarchyManagerTest.java | 276 public void changeViewPosition(ExpandableView child, int newIndex) { in changeViewPosition() argument 278 mRows.add(newIndex, child); in changeViewPosition()
|
/aosp12/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
H A D | HdmiAudioSystemClientTest.java | 274 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationSectionsManagerTest.java | 709 int newIndex = invocation.getArgument(1); in setupMockStack() 711 children.add(newIndex, child); in setupMockStack()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleData.java | 590 int newIndex = Math.min(indexToRemove, mBubbles.size() - 1); in doRemove() local 591 BubbleViewProvider newSelected = mBubbles.get(newIndex); in doRemove()
|