Home
last modified time | relevance | path

Searched refs:selectedIndex (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/service/quickaccesswallet/
DGetWalletCardsResponse.java46 public GetWalletCardsResponse(@NonNull List<WalletCard> walletCards, int selectedIndex) { in GetWalletCardsResponse() argument
48 this.mSelectedIndex = selectedIndex; in GetWalletCardsResponse()
67 int selectedIndex = source.readInt(); in readFromParcel() local
68 return new GetWalletCardsResponse(walletCards, selectedIndex); in readFromParcel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt131 selectedIndex = 0, in <lambda>()
146 selectedIndex = 1, in <lambda>()
158 selectedIndex = 1, in <lambda>()
174 selectedIndex = 0, in <lambda>()
196 selectedIndex: Int = 0, in <lambda>()
206 tracker.set(userInfos, selectedIndex) in <lambda>()
216 selectedIndex = 0, in <lambda>()
222 selectedIndex = 1, in <lambda>()
233 setUpUsers(count = 2, selectedIndex = 1) in <lambda>()
250 setUpUsers(count = 2, selectedIndex = 0) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/selector/ui/composable/
DVolumePanelRadioButtons.kt124 val isSelected = itemIndex == scope.selectedIndex in VolumePanelRadioButtonBar()
173 val textColor = colors.getLabelColor(itemIndex == scope.selectedIndex) in VolumePanelRadioButtonBar()
189 selectedIndex = scope.selectedIndex, in VolumePanelRadioButtonBar()
206 private val selectedIndex: Int, constant in com.android.systemui.volume.panel.component.selector.ui.composable.BarMeasurePolicy
252 selectedIndex * indicatorWidth + (spacingPx * selectedIndex) in measure()
351 var selectedIndex: Int = UNSET_INDEX variable in com.android.systemui.volume.panel.component.selector.ui.composable.VolumePanelRadioButtonBarScopeImpl
355 get() = selectedIndex != UNSET_INDEX
369 selectedIndex = mutableItems.size in item()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletView.java173 int selectedIndex, in showCardCarousel() argument
177 mCardCarousel.setData(data, selectedIndex, mIsDeviceLocked != isDeviceLocked); in showCardCarousel()
184 mIcon.setImageDrawable(getHeaderIcon(mContext, data.get(selectedIndex))); in showCardCarousel()
185 mCardLabel.setText(getLabelText(data.get(selectedIndex))); in showCardCarousel()
187 renderActionButton(data.get(selectedIndex), isDeviceLocked, mIsUdfpsEnabled); in showCardCarousel()
DWalletScreenController.java145 int selectedIndex = response.getSelectedIndex(); in onWalletCardsRetrieved() local
146 if (selectedIndex >= paymentCardData.size()) { in onWalletCardsRetrieved()
154 selectedIndex, in onWalletCardsRetrieved()
DWalletCardCarousel.java210 boolean setData(List<WalletCardViewInfo> data, int selectedIndex, boolean hasLockStateChanged) { in setData() argument
212 scrollToPosition(selectedIndex); in setData()
213 WalletCardViewInfo selectedCard = data.get(selectedIndex); in setData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTile.java237 int selectedIndex = response.getSelectedIndex(); in onWalletCardsRetrieved() local
238 if (selectedIndex >= cards.size()) { in onWalletCardsRetrieved()
244 mSelectedCard = cards.get(selectedIndex); in onWalletCardsRetrieved()
/frameworks/base/core/java/android/widget/
DGallery.java1296 int selectedIndex = mSelectedPosition - mFirstPosition; in onKeyUp() local
1297 performItemClick(getChildAt(selectedIndex), mSelectedPosition, mAdapter in onKeyUp()
1388 int selectedIndex = mSelectedPosition - mFirstPosition; in getChildDrawingOrder() local
1391 if (selectedIndex < 0) return i; in getChildDrawingOrder()
1395 return selectedIndex; in getChildDrawingOrder()
1396 } else if (i >= selectedIndex) { in getChildDrawingOrder()
DListView.java2823 final int selectedIndex = mSelectedPosition - mFirstPosition; in handleNewSelectionChange() local
2827 bottomViewIndex = selectedIndex; in handleNewSelectionChange()
2832 topViewIndex = selectedIndex; in handleNewSelectionChange()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationControllerTest.java99 mStackViewState.selectedIndex = 0; in getStackViewState()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java698 int selectedIndex = ringerModeToIndex(mAudioManager.getRingerMode());
701 itemView.setSelected(selectedIndex == i);
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt998 val selectedIndex = in WidgetContent() constant
1034 if (selectedIndex != null && selectedIndex != index) { in WidgetContent()
1037 contentListState.onMove(selectedIndex!!, index) in WidgetContent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt308 assertUsers(models = value(), count = 2, selectedIndex = 1) in <lambda>()
1190 selectedIndex: Int = 0, in <lambda>()
1199 isSelected = index == selectedIndex, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java652 + (state.selectedIndex * (mBubbleSize + mSpacingBetweenBubbles)); in getExpandedBubbleYForIme()
DBubbleStackView.java2875 float selectedY = mPositioner.getExpandedBubbleXY(getState().selectedIndex, in setImeVisible()
3717 mStackViewState.selectedIndex = getBubbleIndex(mExpandedBubble);
3759 public int selectedIndex;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java2112 int selectedIndex = ringerModeToIndex(mAudioManager.getRingerMode());
2115 itemView.setSelected(selectedIndex == i);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...