Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/binding/
DAudioEndpointParcelable.cpp57 void updateSharedMemoryIndex(SharedRegion* sharedRegion, int oldIndex, int newIndex) { in updateSharedMemoryIndex() argument
58 if (sharedRegion->sharedMemoryIndex == oldIndex) { in updateSharedMemoryIndex()
63 void updateSharedMemoryIndex(RingBuffer* ringBuffer, int oldIndex, int newIndex) { in updateSharedMemoryIndex() argument
64 updateSharedMemoryIndex(&ringBuffer->readCounterParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
65 updateSharedMemoryIndex(&ringBuffer->writeCounterParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
66 updateSharedMemoryIndex(&ringBuffer->dataParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
69 void updateSharedMemoryIndex(Endpoint* endpoint, int oldIndex, int newIndex) { in updateSharedMemoryIndex() argument
70 updateSharedMemoryIndex(&endpoint->upMessageQueueParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
71 updateSharedMemoryIndex(&endpoint->downMessageQueueParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
72 updateSharedMemoryIndex(&endpoint->upDataQueueParcelable, oldIndex, newIndex); in updateSharedMemoryIndex()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaViewModelCallback.kt36 override fun areItemsTheSame(oldIndex: Int, newIndex: Int): Boolean { in areItemsTheSame()
37 val oldItem = old[oldIndex] in areItemsTheSame()
50 override fun areContentsTheSame(oldIndex: Int, newIndex: Int): Boolean { in areContentsTheSame()
51 val oldItem = old[oldIndex] in areContentsTheSame()
/frameworks/base/services/core/java/com/android/server/location/listeners/
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()
/frameworks/base/core/java/android/hardware/hdmi/
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
DHdmiTvClient.java198 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {
200 mService.setSystemAudioVolume(oldIndex, newIndex, maxIndex);
DIHdmiControlService.aidl69 void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex); in setSystemAudioVolume() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java773 final int oldIndex = mLayout.indexOfChild(view); in animateReorder() local
774 swapped |= animateSwap(view, oldIndex, newIndex, updateAllIcons, after); in animateReorder()
783 private boolean animateSwap(View view, int oldIndex, int newIndex, in animateSwap() argument
785 if (newIndex == oldIndex) { in animateSwap()
837 void onChildReordered(View child, int oldIndex, int newIndex) {}
DPhysicsAnimationLayout.java152 abstract void onChildReordered(View child, int oldIndex, int newIndex); in onChildReordered() argument
379 final int oldIndex = indexOfChild(view);
381 if (oldIndex == index) return;
392 mController.onChildReordered(view, oldIndex, index);
DExpandedAnimationController.java604 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java292 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
294 () -> mWrappedController.onChildReordered(child, oldIndex, newIndex)); in onChildReordered()
DPhysicsAnimationLayoutTest.java510 void onChildReordered(View child, int oldIndex, int newIndex) {}
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt478 val oldIndex = visibleMediaIndex in onMediaScrollingChanged() constant
480 if (oldIndex != visibleMediaIndex && visibleToUser) { in onMediaScrollingChanged()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java276 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java158 VolChangedBroadcastEvent(int stream, String aliasIndexes, int index, int oldIndex) { in VolChangedBroadcastEvent() argument
162 mOldIndex = oldIndex; in VolChangedBroadcastEvent()
DAudioService.java3729 int oldIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume() local
3736 dispatchAbsoluteVolumeAdjusted(streamType, info, oldIndex, direction, in adjustStreamVolume()
3757 Log.e(TAG, "adjustStreamVolume() safe volume index = " + oldIndex); in adjustStreamVolume()
3893 && (oldIndex != newIndex || isMuteAdjust)) { in adjustStreamVolume()
3899 sendVolumeUpdate(streamType, oldIndex, newIndex, flags, device); in adjustStreamVolume()
4733 int oldIndex; in setStreamVolume() local
4764 oldIndex = streamState.getIndex(device); in setStreamVolume()
4853 && (oldIndex != index)) { in setStreamVolume()
4860 sendVolumeUpdate(streamType, oldIndex, index, flags, device); in setStreamVolume()
5025 protected void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags, int device) in sendVolumeUpdate() argument
[all …]
/frameworks/base/core/java/android/view/
DViewGroup.java5327 final int oldIndex = mTransientIndices.get(i); in addViewInner() local
5328 if (index <= oldIndex) { in addViewInner()
5329 mTransientIndices.set(i, oldIndex + 1); in addViewInner()
5614 final int oldIndex = mTransientIndices.get(i); in removeViewInternal() local
5615 if (index < oldIndex) { in removeViewInternal()
5616 mTransientIndices.set(i, oldIndex - 1); in removeViewInternal()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java2661 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
2672 tv.changeVolume(oldIndex, newIndex - oldIndex, maxIndex); in setSystemAudioVolume()