Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java95 private PanelContent mPanel; field in PanelFragment
225 mPanel = FeatureFactory.getFeatureFactory() in createPanelContent()
229 if (mPanel == null) { in createPanelContent()
234 mPanel.registerCallback(new LocalPanelCallback()); in createPanelContent()
235 if (mPanel instanceof LifecycleObserver) { in createPanelContent()
236 getLifecycle().addObserver((LifecycleObserver) mPanel); in createPanelContent()
250 final IconCompat icon = mPanel.getIcon(); in createPanelContent()
251 final CharSequence title = mPanel.getTitle(); in createPanelContent()
252 final CharSequence subtitle = mPanel.getSubTitle(); in createPanelContent()
263 if (mPanel.isCustomizedButtonUsed()) { in createPanelContent()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java49 private final View[] mPanel; field in PhotoCarousel
108 mPanel = new View[2]; in PhotoCarousel()
176 return (ImageView) ((mPanel[0].getAlpha() < 0.5f) ? mPanel[0] : mPanel[1]); in getBackface()
228 mPanel[0].animate().cancel(); in flip()
229 mPanel[1].animate().cancel(); in flip()
231 float frontY = mPanel[0].getRotationY(); in flip()
232 float backY = mPanel[1].getRotationY(); in flip()
233 float frontA = mPanel[0].getAlpha(); in flip()
234 float backA = mPanel[1].getAlpha(); in flip()
239 mPanel[0].setRotationY(frontY); in flip()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragmentManager.java45 private final View mPanel; field in SideFragmentManager
59 mPanel = mActivity.findViewById(R.id.side_panel); in SideFragmentManager()
61 mShowAnimator.setTarget(mPanel); in SideFragmentManager()
63 mHideAnimator.setTarget(mPanel); in SideFragmentManager()
118 mPanel.setVisibility(View.VISIBLE); in show()
123 mPanel.getViewTreeObserver().removeOnGlobalLayoutListener(this); in show()
131 mPanel.getViewTreeObserver().addOnGlobalLayoutListener(mShowOnGlobalLayoutListener); in show()
155 mPanel.getViewTreeObserver().removeOnGlobalLayoutListener(mShowOnGlobalLayoutListener); in hideAll()
180 mPanel.setVisibility(View.GONE); in hideAllInternal()
201 mPanel.setVisibility(View.VISIBLE); in showSidePanel()
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/animation/
DExpandPanelAnimator.java65 mPanel.setScaleX(INITIAL_SCALE); in animate()
66 mPanel.setScaleY(INITIAL_SCALE); in animate()
68 mPanel.setTranslationX(mOrigin.x - mBounds.centerX()); in animate()
69 mPanel.setTranslationY(mOrigin.y - mBounds.centerY()); in animate()
71 mViewPropertyAnimator = mPanel.animate() in animate()
86 mPanel.setScaleX(FINAL_SCALE); in cancel()
87 mPanel.setScaleY(FINAL_SCALE); in cancel()
88 mPanel.setTranslationX(/* value= */ 0); in cancel()
89 mPanel.setTranslationY(/* value= */ 0); in cancel()
DPanelAnimator.java28 protected ViewGroup mPanel; field in PanelAnimator
39 mPanel = panel; in PanelAnimator()
58 (ViewGroup.MarginLayoutParams) mPanel.getLayoutParams(); in updateBounds()
63 mPanel.setLayoutParams(layoutParams); in updateBounds()
DBoundsAnimation.java28 private View mPanel; field in BoundsAnimation
37 mPanel = panel; in BoundsAnimation()
40 mLayoutParams = (ViewGroup.MarginLayoutParams) mPanel.getLayoutParams(); in BoundsAnimation()
73 mPanel.setLayoutParams(mLayoutParams); in applyTransformation()
DFullScreenPanelAnimator.java78 mAnimation = new BoundsAnimation(mPanel, mBounds, () -> { in animate()
91 mPanel.post(() -> mPanel.startAnimation(mAnimation)); in animate()
DFadeOutPanelAnimator.java84 mPanel.animate().alpha(FADE_OUT_ALPHA).setDuration( in animate()
91 mPanel.setAlpha(FADE_IN_ALPHA); in animate()
122 mPanel.setAlpha(FADE_IN_ALPHA); in cancel()
DOpenPanelAnimator.java51 mAnimation = new BoundsAnimation(mPanel, mBounds, endAction); in animate()
54 mPanel.startAnimation(mAnimation); in animate()
DClosePanelAnimator.java52 mAnimation = new BoundsAnimation(mPanel, mBounds, endAction); in animate()
55 mPanel.startAnimation(mAnimation); in animate()
DFadeInPanelAnimator.java76 mPanel.setScaleX(FINAL_SCALE); in cancel()
77 mPanel.setScaleY(FINAL_SCALE); in cancel()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java91 private PopupWindow mPanel; field in StatusIconPanelViewController
125 mPanel.dismiss();
144 mPanel.dismiss();
165 mPanel.dismiss();
175 mPanel.dismiss();
179 mPanel.dismiss();
227 if (mPanel == null && !createPanel()) { in onInit()
231 if (mPanel.isShowing()) { in onInit()
232 mPanel.dismiss(); in onInit()
250 mPanel.showAsDropDown(mView, mXOffsetPixel, mYOffsetPixel, mPanelGravity); in onInit()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DVolumePanelTest.java42 private VolumePanel mPanel; field in VolumePanelTest
54 mPanel = VolumePanel.create(mContext); in setUp()
59 final List<Uri> uris = mPanel.getSlices(); in getSlices_checkUri()
73 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
78 assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER); in getViewType_checkType()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DNfcPanelTest.java38 private NfcPanel mPanel; field in NfcPanelTest
42 mPanel = NfcPanel.create(ApplicationProvider.getApplicationContext()); in setUp()
47 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices()
55 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
DWifiPanelTest.java38 private WifiPanel mPanel; field in WifiPanelTest
42 mPanel = WifiPanel.create(ApplicationProvider.getApplicationContext()); in setUp()
47 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices()
55 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DDriveModeQcPanelTest.java43 private DriveModeQcPanel mPanel; field in DriveModeQcPanelTest
47 mPanel = new DriveModeQcPanel(getContext(), new InMemoryDriveModeManager(getContext())); in setup()
52 List<QCRow> qcRows = ((QCList) mPanel.getQCItem()).getRows(); in driveModeManagerIsProvided_correctItemsAreReturned()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/
DMediaCardController.java60 private LinearLayout mPanel; field in MediaCardController
149 mPanel = mView.findViewById(R.id.button_panel_background); in MediaCardController()
361 mPanel.setEnabled(true); in setOverflowState()
391 mPanel.setEnabled(true); in setQueueState()
422 mPanel.setEnabled(true); in setHistoryState()
439 mPanel.setEnabled(false); in unselectPanel()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java37 private final NinePatchTexture mPanel; field in UndoBarView
74 mPanel = new NinePatchTexture(context, R.drawable.panel_undo_holo); in UndoBarView()
105 mPanel.draw(canvas, mBarMargin, 0, w - mBarMargin * 2, mBarHeight); in render()