/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | MediaOutputPanelTest.java | 78 private MediaOutputPanel mPanel; field in MediaOutputPanelTest 102 mPanel = MediaOutputPanel.create(mContext, TEST_PACKAGENAME); in setUp() 103 mPanel.mLocalMediaManager = mLocalMediaManager; in setUp() 104 mPanel.registerCallback(mCallback); in setUp() 109 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices() 116 final List<Uri> uris = mPanel.getSlices(); in getSlices_verifyPackageName_isEqual() 123 assertThat(mPanel.getSeeMoreIntent()).isNull(); in getSeeMoreIntent_isNull() 128 mPanel.onStart(); in onStart_shouldRegisterCallback() 137 mPanel.onStart(); in onStart_activeSession_verifyOnHeaderChanged() 145 mPanel.onStart(); in onStart_noMatchedActiveSession_verifyNeverOnHeaderChanged() [all …]
|
D | MediaOutputGroupPanelTest.java | 45 private MediaOutputGroupPanel mPanel; field in MediaOutputGroupPanelTest 54 mPanel = MediaOutputGroupPanel.create(mContext, TEST_PACKAGENAME); in setUp() 59 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices() 66 final List<Uri> uris = mPanel.getSlices(); in getSlices_verifyPackageName_isEqual() 73 assertThat(mPanel.getSeeMoreIntent()).isNull(); in getSeeMoreIntent_isNull() 78 assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER_LARGE_ICON); in getViewType_checkType()
|
D | VolumePanelTest.java | 41 private VolumePanel mPanel; field in VolumePanelTest 53 mPanel = VolumePanel.create(mContext); in setUp() 58 final List<Uri> uris = mPanel.getSlices(); in getSlices_checkUri() 71 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull() 76 assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER); in getViewType_checkType()
|
D | NfcPanelTest.java | 37 private NfcPanel mPanel; field in NfcPanelTest 41 mPanel = NfcPanel.create(RuntimeEnvironment.application); in setUp() 46 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices() 54 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
|
D | WifiPanelTest.java | 36 private WifiPanel mPanel; field in WifiPanelTest 40 mPanel = WifiPanel.create(RuntimeEnvironment.application); in setUp() 45 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices() 53 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
|
D | InternetConnectivityPanelTest.java | 39 private InternetConnectivityPanel mPanel; field in InternetConnectivityPanelTest 43 mPanel = InternetConnectivityPanel.create(RuntimeEnvironment.application); in setUp() 48 final List<Uri> uris = mPanel.getSlices(); in getSlices_containsNecessarySlices() 58 assertThat(mPanel.getSeeMoreIntent()).isNotNull(); in getSeeMoreIntent_notNull()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelFragment.java | 91 private PanelContent mPanel; field in PanelFragment 201 mPanel = FeatureFactory.getFactory(activity) in createPanelContent() 205 if (mPanel == null) { in createPanelContent() 209 mPanel.registerCallback(new LocalPanelCallback()); in createPanelContent() 210 if (mPanel instanceof LifecycleObserver) { in createPanelContent() 211 getLifecycle().addObserver((LifecycleObserver) mPanel); in createPanelContent() 223 final IconCompat icon = mPanel.getIcon(); in createPanelContent() 224 final CharSequence title = mPanel.getTitle(); in createPanelContent() 235 mHeaderSubtitle.setText(mPanel.getSubTitle()); in createPanelContent() 236 if (mPanel.getHeaderIconIntent() != null) { in createPanelContent() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoCarousel.java | 49 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/ |
D | SideFragmentManager.java | 45 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/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/ |
D | PanelFragment.java | 51 private PanelContent mPanel; field in PanelFragment 78 mPanel = FeatureFactory.getFactory(activity) in onCreateView() 87 mPanel.getMetricsCategory(), in onCreateView() 91 mAdapter = new PanelSlicesAdapter(this, mPanel); in onCreateView() 101 mTitleView.setText(mPanel.getTitle()); in onCreateView() 107 if (mPanel.getSeeMoreIntent() == null) { in onCreateView() 120 mPanel.getMetricsCategory(), in getSeeMoreListener() 124 activity.startActivityForResult(mPanel.getSeeMoreIntent(), 0); in getSeeMoreListener() 135 mPanel.getMetricsCategory(), in getCloseListener()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
D | HvacPanelController.java | 85 private View mPanel; field in HvacPanelController 168 mPanel = mContainer.findViewById(R.id.hvac_center_panel); in HvacPanelController() 170 mHvacFanControlBackground = mPanel.findViewById(R.id.fan_control_bg); in HvacPanelController() 173 mPanel.setClickable(true); in HvacPanelController() 539 int currentHeight = mPanel.getLayoutParams().height; 540 mPanel.getLayoutParams().height = height; 541 mPanel.setTop(mPanel.getTop() + height - currentHeight); 542 mPanel.requestLayout();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 37 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()
|