Home
last modified time | relevance | path

Searched refs:oldIndex (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuTargetsCallback.java52 public boolean areItemsTheSame(int oldIndex, int newIndex) { in areItemsTheSame() argument
53 return mOldTargets.get(oldIndex).getId().equals(mNewTargets.get(newIndex).getId()); in areItemsTheSame()
57 public boolean areContentsTheSame(int oldIndex, int newIndex) { in areContentsTheSame() argument
58 if (!TextUtils.equals(mOldTargets.get(oldIndex).getLabel(), in areContentsTheSame()
63 if (!TextUtils.equals(mOldTargets.get(oldIndex).getStateDescription(), in areContentsTheSame()
/aosp14/frameworks/base/services/core/java/com/android/server/location/listeners/
H A DListenerMultiplexer.java285 int oldIndex = mRegistrations.indexOfKey(oldKey); in replaceRegistration() local
286 if (oldIndex >= 0) { in replaceRegistration()
288 oldRegistration = mRegistrations.valueAt(oldIndex); in replaceRegistration()
292 mRegistrations.removeAt(oldIndex); in replaceRegistration()
295 if (oldKey == key && oldIndex >= 0) { in replaceRegistration()
296 mRegistrations.setValueAt(oldIndex, registration); in replaceRegistration()
/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiControlServiceWrapper.java177 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {
178 HdmiControlServiceWrapper.this.setSystemAudioVolume(oldIndex, newIndex, maxIndex);
452 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {} in setSystemAudioVolume() argument
H A DHdmiTvClient.java198 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {
200 mService.setSystemAudioVolume(oldIndex, newIndex, maxIndex);
H A DIHdmiControlService.aidl69 void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex); in setSystemAudioVolume() argument
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationController.java771 final int oldIndex = mLayout.indexOfChild(view); in animateReorder() local
772 swapped |= animateSwap(view, oldIndex, newIndex, updateAllIcons, after); in animateReorder()
780 private boolean animateSwap(View view, int oldIndex, int newIndex, in animateSwap() argument
782 if (newIndex == oldIndex) { in animateSwap()
834 void onChildReordered(View child, int oldIndex, int newIndex) {}
H A DPhysicsAnimationLayout.java152 abstract void onChildReordered(View child, int oldIndex, int newIndex); in onChildReordered() argument
370 final int oldIndex = indexOfChild(view);
381 mController.onChildReordered(view, oldIndex, index);
H A DExpandedAnimationController.java574 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayoutTestCase.java283 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
285 () -> mWrappedController.onChildReordered(child, oldIndex, newIndex)); in onChildReordered()
H A DPhysicsAnimationLayoutTest.java503 void onChildReordered(View child, int oldIndex, int newIndex) {}
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaCarouselScrollHandler.kt475 val oldIndex = visibleMediaIndex regex
477 if (oldIndex != visibleMediaIndex && visibleToUser) {
/aosp14/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
H A DHdmiAudioSystemClientTest.java276 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java3525 int oldIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume() local
3681 && (oldIndex != newIndex || isMuteAdjust)) { in adjustStreamVolume()
4496 int oldIndex; in setStreamVolume() local
4527 oldIndex = streamState.getIndex(device); in setStreamVolume()
4588 && (oldIndex != index)) { in setStreamVolume()
6633 if (step <= oldIndex && oldIndex < 2 * step) { in checkForRingerModeChange()
8597 int oldIndex; in setIndex() local
8601 oldIndex = getIndex(device); in setIndex()
8608 changed = oldIndex != index; in setIndex()
8647 oldIndex = (oldIndex + 5) / 10; in setIndex()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DViewGroup.java5349 final int oldIndex = mTransientIndices.get(i); in addViewInner() local
5350 if (index <= oldIndex) { in addViewInner()
5351 mTransientIndices.set(i, oldIndex + 1); in addViewInner()
5636 final int oldIndex = mTransientIndices.get(i); in removeViewInternal() local
5637 if (index < oldIndex) { in removeViewInternal()
5638 mTransientIndices.set(i, oldIndex - 1); in removeViewInternal()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java2483 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
2494 tv.changeVolume(oldIndex, newIndex - oldIndex, maxIndex); in setSystemAudioVolume()