Home
last modified time | relevance | path

Searched defs:viewModel (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DDeviceEntryForegroundViewModelTest.kt60 val viewModel by collectLastValue(underTest.viewModel) in aodIconColorWhite() constant
76 val viewModel by collectLastValue(underTest.viewModel) in startsDozing_doNotShowAodVariant() constant
94 val viewModel by collectLastValue(underTest.viewModel) in finishedDozing_showAodVariant() constant
110 val viewModel by collectLastValue(underTest.viewModel) in startTransitionToLockscreenFromDozing_doNotShowAodVariant() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModelTest.kt36 val viewModel = ScreenshotViewModel(accessibilityManager) in testAddAction() constant
52 val viewModel = ScreenshotViewModel(accessibilityManager) in testRemoveAction() constant
71 val viewModel = ScreenshotViewModel(accessibilityManager) in testUpdateActionAppearance() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewBinderTest.kt88 val viewModel = in bindNonConversationSingleLineView() constant
150 val viewModel = in bindGroupConversationSingleLineView() constant
200 val viewModel = in bindConversationSingleLineView_nonConversationViewModel() constant
265 val viewModel = in bindSummarizedGroupConversationSingleLineView() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/mobile/ui/
DMobileViewLoggerTest.kt60 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStarted_dumpHasInfo() constant
72 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStarted_multipleViews_dumpHasInfo() constant
87 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStopped_dumpHasInfo() constant
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/unit/src/com/android/settingslib/spaprivileged/model/app/
DAppListViewModelTest.kt50 val viewModel = AppListViewModelImpl<TestAppRecord>( in createViewModel() constant
66 val viewModel = createViewModel() in <lambda>() constant
78 val viewModel = createViewModel() in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/dialog/
DCastDetailsViewModelTest.kt47 … var viewModel = CastDetailsViewModel(inputHandler, context, MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY) in testClickOnSettingsButton() variable
66 var viewModel = in testShouldShowChooserDialog() variable
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/navscaffold/
DWearNavScaffold.kt88 val viewModel: NavScaffoldViewModel? = currentBackStackEntry?.let { in <lambda>() constant
175 val viewModel: NavScaffoldViewModel = viewModel(it) in scalingLazyColumnComposable() constant
202 val viewModel: NavScaffoldViewModel = viewModel(it) in scrollable() constant
225 val viewModel: NavScaffoldViewModel = viewModel(it) in <lambda>() constant
248 val viewModel: NavScaffoldViewModel = viewModel(it) in <lambda>() constant
274 val viewModel: NavScaffoldViewModel = viewModel() in wearNavComposable() constant
295 val viewModel: NavScaffoldViewModel = viewModel() in composable() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dialog/dagger/
DVolumeDialogPluginComponent.kt36 fun viewModel(): VolumeDialogPluginViewModel in viewModel() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/battery/ui/composable/
DBatteryWithEstimate.kt42 val viewModel = in BatteryWithEstimate() constant
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DMediaCarouselSection.kt45 val viewModel = in KeyguardMediaCarousel() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DComposeDialogComposableProvider.kt46 val viewModel = in BrightnessSliderForDialog() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceActivity.kt46 val viewModel = ViewModelProvider(this, viewModelFactory)[PeopleViewModel::class.java] in onCreate() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/development/ui/compose/
DBuildNumber.kt45 val viewModel = rememberViewModel(traceName = "BuildNumber") { viewModelFactory.create() } in BuildNumber() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/inputdevice/tutorial/ui/viewmodel/
DKeyboardTouchpadTutorialViewModelTest.kt67 private val viewModel by lazy { createViewModel(tutorialScope) } in <lambda>() constant in com.android.systemui.inputdevice.tutorial.ui.viewmodel.KeyboardTouchpadTutorialViewModelTest
75 val viewModel = in createViewModel() constant
270 val viewModel = in activityFinishes_ifTouchpadModuleIsNotPresent() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/touchpad/tutorial/ui/viewmodel/
DTouchpadTutorialViewModelTest.kt43 private val viewModel = constant in com.android.systemui.touchpad.tutorial.ui.viewmodel.TouchpadTutorialViewModelTest
DEasterEggGestureViewModelTest.kt40 private val viewModel = constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DHydratorTest.kt51 val viewModel = in hydratedStateOf() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationViewModelProvider.java30 public ComplicationViewModelProvider(ViewModelStore store, ComplicationViewModel viewModel) { in ComplicationViewModelProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/education/domain/ui/view/
DContextualEduDialogTest.kt62 val viewModel = ContextualEduToastViewModel(message, icon = 0, userId = 0) in sendAccessibilityInfo() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/infinitegrid/
DInfiniteGridLayout.kt66 val viewModel = in <lambda>() constant
138 val viewModel = in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyboard/stickykeys/ui/
DStickyKeysIndicatorCoordinatorTest.kt56 val viewModel = in setup() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DAudioSharingDialogDelegate.kt53 val viewModel = viewModelFactory.create(cachedBluetoothDevice, this) in createDialog() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/
DScreenshotActionsControllerTest.kt38 private val viewModel = mock<ScreenshotViewModel>() constant in com.android.systemui.screenshot.ScreenshotActionsControllerTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/topwindoweffects/ui/compose/
DSqueezeEffect.kt50 val viewModel = rememberViewModel(traceName = "SqueezeEffect") { viewModelFactory.create() } in SqueezeEffect() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/dagger/
DComplicationModule.java62 ViewModelStore store, ComplicationCollectionViewModel viewModel) { in providesComplicationCollectionViewModel()

123456