Home
last modified time | relevance | path

Searched refs:indexToRemove (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DContentListState.kt73 fun onRemove(indexToRemove: Int) { in onRemove()
74 if (list[indexToRemove].isWidgetContent()) { in onRemove()
75 val widget = list[indexToRemove] as CommunalContentModel.WidgetContent in onRemove()
76 list.apply { removeAt(indexToRemove) } in onRemove()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DAllModelTest.kt202 val indexToRemove = 3 in <lambda>() constant
205 val expectedFavorites = (favoritesIndices.filterNot { it == indexToRemove }) in <lambda>()
219 val indexToRemove = 3 in <lambda>() constant
235 val indexToRemove = 4 in <lambda>() constant
/frameworks/native/services/inputflinger/reader/mapper/
DCapturedTouchpadEventConverter.cpp226 const size_t indexToRemove = coordsIndexForSlotNumber.at(slotNumber); in sync() local
232 action = actionWithIndex(AMOTION_EVENT_ACTION_POINTER_UP, indexToRemove); in sync()
238 coords.erase(coords.begin() + indexToRemove); in sync()
239 properties.erase(properties.begin() + indexToRemove); in sync()
244 if (index > indexToRemove) { in sync()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleData.java683 int indexToRemove = indexForKey(key); in doRemove() local
684 if (indexToRemove == -1) { in doRemove()
709 Bubble bubbleToRemove = mBubbles.get(indexToRemove); in doRemove()
720 if (indexToRemove < mBubbles.size() - 1) { in doRemove()
724 mBubbles.remove(indexToRemove); in doRemove()
732 setNewSelectedIndex(indexToRemove); in doRemove()
753 int indexToRemove = mBubbles.indexOf(bubble); in doSuppress() local
755 mStateChange.orderChanged = !(mBubbles.size() - 1 == indexToRemove); in doSuppress()
756 mBubbles.remove(indexToRemove); in doSuppress()
DBubbleOverflowContainerView.java261 final int indexToRemove = mOverflowBubbles.indexOf(toRemove);
263 mAdapter.notifyItemRemoved(indexToRemove);
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManagerGlobal.java256 int indexToRemove = findCallbackLocked(callback); in unregisterDeviceStateCallback() local
257 if (indexToRemove != -1) { in unregisterDeviceStateCallback()
258 mCallbacks.remove(indexToRemove); in unregisterDeviceStateCallback()