Home
last modified time | relevance | path

Searched refs:panel (Results 1 – 25 of 106) sorted by relevance

12345

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachine.kt22 import com.android.car.customization.tool.domain.panel.PanelAction
23 import com.android.car.customization.tool.domain.panel.PanelController
24 import com.android.car.customization.tool.domain.panel.ReloadPanelAction
45 panel = null
54 panel = panelController.handleAction(state.panel, ReloadPanelAction) in reducer()
66 panel = panelController.handleAction(state.panel, action) in reducer()
DPageState.kt19 import com.android.car.customization.tool.domain.panel.Panel
31 val panel: Panel?, constant in com.android.car.customization.tool.domain.PageState
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/
DUnbundledRroPanelReducer.kt22 import com.android.car.customization.tool.domain.panel.Panel in <lambda>()
23 import com.android.car.customization.tool.domain.panel.PanelAction in <lambda>()
24 import com.android.car.customization.tool.domain.panel.PanelActionReducer in <lambda>()
25 import com.android.car.customization.tool.domain.panel.PanelItem in <lambda>()
74 panel: Panel, in <lambda>()
77 is UnbundledAppsRroToggleAction -> toggleRRO(panel, action) in <lambda>()
82 panel: Panel, in <lambda>()
88 items = panel.items.map { item -> in <lambda>()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachineTest.kt22 import com.android.car.customization.tool.domain.panel.OpenPanelAction
23 import com.android.car.customization.tool.domain.panel.Panel
24 import com.android.car.customization.tool.domain.panel.PanelController
66 panel = null in when_the_action_toggle_is_received_the_page_state_is_updated()
75 panel = null in when_the_action_toggle_is_received_the_page_state_is_updated()
107 panel = null in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController()
125 panel = null, in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController()
DTestData.kt25 import com.android.car.customization.tool.domain.panel.OpenPanelAction in <lambda>()
26 import com.android.car.customization.tool.domain.panel.Panel in <lambda>()
27 import com.android.car.customization.tool.domain.panel.PanelAction in <lambda>()
28 import com.android.car.customization.tool.domain.panel.PanelActionReducer in <lambda>()
105 override fun reduce(panel: Panel, action: PanelAction): Panel = Panel(items = emptyList()) in build()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/panel/
DPanelController.kt17 package com.android.car.customization.tool.domain.panel
39 fun handleAction(panel: Panel?, action: PanelAction): Panel? = when (action) { in handleAction()
57 requireNotNull(panel) in handleAction()
58 currentPanelActionReducer?.reduce(panel, action) in handleAction()
DPanelActionReducer.kt17 package com.android.car.customization.tool.domain.panel
43 fun reduce(panel: Panel, action: PanelAction): Panel
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DTaskViewPanel.java17 package com.android.car.portraitlauncher.panel;
22 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_GRIP_BAR_CLI…
23 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_GRIP_BAR_DRA…
24 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_PANEL_READY;
25 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.createReason;
48 import com.android.car.portraitlauncher.panel.animation.ClosePanelAnimator;
49 import com.android.car.portraitlauncher.panel.animation.ExpandPanelAnimator;
50 import com.android.car.portraitlauncher.panel.animation.FadeInPanelAnimator;
51 import com.android.car.portraitlauncher.panel.animation.FadeOutPanelAnimator;
52 import com.android.car.portraitlauncher.panel.animation.FullScreenPanelAnimator;
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryPanel.java116 CategoryTrack panel = (CategoryTrack) panelView; in onCreateView() local
119 panel.setAdapter(mAdapter); in onCreateView()
120 mAdapter.setContainer(panel); in onCreateView()
123 ListView panel = (ListView) main.findViewById(R.id.listItems); in onCreateView() local
124 panel.setAdapter(mAdapter); in onCreateView()
125 mAdapter.setContainer(panel); in onCreateView()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/
DOpenPanelWithIconAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
23 import com.android.car.portraitlauncher.panel.TaskViewPanelOverlay;
50 public OpenPanelWithIconAnimator(ViewGroup panel, Rect bounds, in OpenPanelWithIconAnimator() argument
52 super(panel, bounds, animationScale); in OpenPanelWithIconAnimator()
DFullScreenPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
27 import com.android.car.portraitlauncher.panel.TaskViewPanelOverlay;
59 public FullScreenPanelAnimator(ViewGroup panel, Rect bounds, Point initialOffset, in FullScreenPanelAnimator() argument
61 super(panel, animationScale); in FullScreenPanelAnimator()
DFadeOutPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
28 import com.android.car.portraitlauncher.panel.TaskViewPanelOverlay;
64 public FadeOutPanelAnimator(ViewGroup panel, TaskViewPanelOverlay overlay, View taskView, in FadeOutPanelAnimator() argument
66 super(panel, animationScale); in FadeOutPanelAnimator()
DOpenPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
43 public OpenPanelAnimator(ViewGroup panel, Rect bounds, float animationScale) { in OpenPanelAnimator() argument
44 super(panel, animationScale); in OpenPanelAnimator()
DClosePanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
44 public ClosePanelAnimator(ViewGroup panel, Rect bounds, float animationScale) { in ClosePanelAnimator() argument
45 super(panel, animationScale); in ClosePanelAnimator()
DPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
38 protected PanelAnimator(ViewGroup panel, float animationScale) { in PanelAnimator() argument
39 mPanel = panel; in PanelAnimator()
DFadeInPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
48 public FadeInPanelAnimator(ViewGroup panel, View taskView, Rect toBounds, in FadeInPanelAnimator() argument
50 super(panel, animationScale); in FadeInPanelAnimator()
DBoundsAnimation.java17 package com.android.car.portraitlauncher.panel.animation;
36 BoundsAnimation(ViewGroup panel, Rect toBounds, Runnable onAnimationEnd) { in BoundsAnimation() argument
37 mPanel = panel; in BoundsAnimation()
DExpandPanelAnimator.java17 package com.android.car.portraitlauncher.panel.animation;
52 public ExpandPanelAnimator(ViewGroup panel, Point origin, Rect bounds, View gripBar, in ExpandPanelAnimator() argument
54 super(panel, animationScale); in ExpandPanelAnimator()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DPanelFeatureProviderImplTest.java16 package com.android.settings.panel;
18 import static com.android.settings.panel.SettingsPanelActivity.KEY_MEDIA_PACKAGE_NAME;
19 import static com.android.settings.panel.SettingsPanelActivity.KEY_PANEL_TYPE_ARGUMENT;
80 final PanelContent panel = mProvider.getPanel(mContext, mBundle); in getPanel_volumePanel_returnsCorrectPanel() local
82 assertThat(panel).isInstanceOf(VolumePanel.class); in getPanel_volumePanel_returnsCorrectPanel()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelReducer.kt23 import com.android.car.customization.tool.domain.panel.Panel in <lambda>()
24 import com.android.car.customization.tool.domain.panel.PanelAction in <lambda>()
25 import com.android.car.customization.tool.domain.panel.PanelActionReducer in <lambda>()
26 import com.android.car.customization.tool.domain.panel.PanelHeaderItem in <lambda>()
27 import com.android.car.customization.tool.domain.panel.PanelItem in <lambda>()
104 override fun reduce(panel: Panel, action: PanelAction): Panel = when (action) { in <lambda>()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/panel/
DPanelControllerTest.kt17 package com.android.car.customization.tool.domain.panel
42 panel = null, in openPanel_action_opens_a_panel_and_the_extras_are_collected_correctly()
64 underTest.handleAction(panel = null, OpenPanelAction(EmptyPanelReducer::class)) in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java294 MainPanel panel = new MainPanel(); in loadMainPanel() local
296 transaction.replace(R.id.main_panel_container, panel, MainPanel.FRAGMENT_TAG); in loadMainPanel()
310 EditorPanel panel = new EditorPanel(); in loadEditorPanel()
311 panel.setEditor(currentId); in loadEditorPanel()
315 transaction.replace(R.id.main_panel_container, panel, MainPanel.FRAGMENT_TAG); in loadEditorPanel()
344 InfoPanel panel = new InfoPanel(); in toggleInformationPanel() local
345 panel.show(transaction, InfoPanel.FRAGMENT_TAG); in toggleInformationPanel()
1183 Fragment panel = getSupportFragmentManager().findFragmentByTag(MainPanel.FRAGMENT_TAG); in fillLooks() local
1184 if (panel != null) { in fillLooks()
1185 if (panel instanceof MainPanel) { in fillLooks()
[all …]
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/
DCustomizationToolUI.kt41 import com.android.car.customization.tool.ui.panel.header.PanelHeaderAdapter in <lambda>()
42 import com.android.car.customization.tool.ui.panel.items.PanelItemsAdapter in <lambda>()
152 if (state.panel != null) { in <lambda>()
153 … (mControlPanelHeader.adapter as PanelHeaderAdapter).submitList(state.panel.headerItems) in <lambda>()
154 (mControlPanelItems.adapter as PanelItemsAdapter).submitList(state.panel.items) in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java32 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_ACTIVITY_RES…
33 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_CALM_MODE_ST…
34 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_COLLAPSE_MSG;
35 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_DRIVE_STATE_…
36 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_HOME_SCREEN_…
37 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_IMMERSIVE_RE…
38 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_MEDIA_INTENT;
39 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_PANEL_READY;
40 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_SUW_STATE_CH…
41 import static com.android.car.portraitlauncher.panel.TaskViewPanelStateChangeReason.ON_TASK_MOVED_T…
[all …]
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/panel/header/
DPanelHeaderItemViewHolder.kt17 package com.android.car.customization.tool.ui.panel.header
22 import com.android.car.customization.tool.domain.panel.PanelHeaderItem

12345