Searched refs:mPanelFragment (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | SettingsPanelActivityTest.java | 61 private PanelFragment mPanelFragment; field in SettingsPanelActivityTest 76 mSettingsPanelActivity.mPanelFragment = mPanelFragment; in setUp() 77 when(mFragmentManager.findFragmentById(R.id.main_content)).thenReturn(mPanelFragment); in setUp() 127 when(mPanelFragment.isPanelCreating()).thenReturn(false); in onStop_panelIsNotCreating_shouldForceUpdate() 128 mSettingsPanelActivity.mPanelFragment = mPanelFragment; in onStop_panelIsNotCreating_shouldForceUpdate() 138 when(mPanelFragment.isPanelCreating()).thenReturn(true); in onStop_panelIsCreating_shouldNotForceUpdate() 139 mSettingsPanelActivity.mPanelFragment = mPanelFragment; in onStop_panelIsCreating_shouldNotForceUpdate() 157 when(mPanelFragment.isPanelCreating()).thenReturn(false); in onNewIntent_panelIsNotCreating_shouldUpdatePanel() 161 verify(mPanelFragment).updatePanelWithAnimation(); in onNewIntent_panelIsNotCreating_shouldUpdatePanel() 166 when(mPanelFragment.isPanelCreating()).thenReturn(true); in onNewIntent_panelIsCreating_shouldNotUpdatePanel() [all …]
|
D | PanelSlicesAdapterTest.java | 70 private PanelFragment mPanelFragment; field in PanelSlicesAdapterTest 91 mPanelFragment = in setUp() 118 new PanelSlicesAdapter(mPanelFragment, mData, 0 /* metrics category */); in sizeOfAdapter_shouldNotExceedMaxNum() 132 new PanelSlicesAdapter(mPanelFragment, mData, 0 /* metrics category */); in mediaOutputIndicatorSlice_shouldNotAllowDividerAbove() 149 new PanelSlicesAdapter(mPanelFragment, mData, 0 /* metrics category */); in sliderPanelType_shouldAllowDividerBelow() 165 new PanelSlicesAdapter(mPanelFragment, mData, 0 /* metrics category */); in defaultPanelType_shouldAllowDividerBelow() 179 new PanelSlicesAdapter(mPanelFragment, mData, 0 /* metrics category */); in mediaOutputIndicatorSlice_notSliderPanel_noSliderLayout() 193 new PanelSlicesAdapter(mPanelFragment, mData, 0); in onCreateViewHolder_viewTypeSlider_verifyLayout() 206 new PanelSlicesAdapter(mPanelFragment, mData, 0); in onCreateViewHolder_viewTypeDefault_verifyLayout()
|
D | PanelFragmentTest.java | 66 private PanelFragment mPanelFragment; field in PanelFragmentTest 90 mPanelFragment = in initFakeActivity() 93 doReturn(mActivity).when(mPanelFragment).getActivity(); in initFakeActivity() 97 doReturn(bundle).when(mPanelFragment).getArguments(); in initFakeActivity() 103 mPanelFragment.onCreateView(LayoutInflater.from(mContext), in onCreateView_countdownLatch_setup() 106 mPanelFragment.mPanelSlicesLoaderCountdownLatch; in onCreateView_countdownLatch_setup() 128 mPanelFragment.onDestroyView(); in onDestroy_logCloseEvent() 140 final View.OnClickListener listener = mPanelFragment.getSeeMoreListener(); in panelSeeMoreClick_logsCloseEvent() 144 mPanelFragment.onDestroyView(); in panelSeeMoreClick_logsCloseEvent() 157 final View.OnClickListener listener = mPanelFragment.getCloseListener(); in panelDoneClick_logsCloseEvent() [all …]
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | SettingsPanelActivity.java | 52 PanelFragment mPanelFragment; field in SettingsPanelActivity 93 if (mPanelFragment != null && !mPanelFragment.isPanelCreating()) { in onStop() 124 mPanelFragment = (PanelFragment) fragment; in createOrUpdatePanel() 125 if (mPanelFragment.isPanelCreating()) { in createOrUpdatePanel() 137 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel() 138 mPanelFragment.updatePanelWithAnimation(); in createOrUpdatePanel() 147 mPanelFragment = new PanelFragment(); in createOrUpdatePanel() 148 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel() 149 fragmentManager.beginTransaction().add(R.id.main_content, mPanelFragment).commit(); in createOrUpdatePanel()
|
D | PanelSlicesAdapter.java | 59 private final PanelFragment mPanelFragment; field in PanelSlicesAdapter 63 mPanelFragment = fragment; in PanelSlicesAdapter() 98 return mPanelFragment.getPanelViewType(); in getItemViewType() 136 sliceLiveData.observe(mPanelFragment.getViewLifecycleOwner(), sliceView); in onBind()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ChannelPanelActivity.java | 46 NotificationSettings mPanelFragment; field in ChannelPanelActivity 103 mPanelFragment = callingIntent.hasExtra(Settings.EXTRA_CONVERSATION_ID) in createOrUpdatePanel() 106 mPanelFragment.setArguments(new Bundle(mBundle)); in createOrUpdatePanel() 108 android.R.id.list_container, mPanelFragment).commit(); in createOrUpdatePanel()
|