Home
last modified time | relevance | path

Searched refs:mCategory (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DP2pCategoryPreferenceController.java30 protected PreferenceGroup mCategory; field in P2pCategoryPreferenceController
44 mCategory = (PreferenceGroup) screen.findPreference(getPreferenceKey()); in displayPreference()
48 if (mCategory != null) { in removeAllChildren()
49 mCategory.removeAll(); in removeAllChildren()
50 mCategory.setVisible(false); in removeAllChildren()
55 if (mCategory != null) { in addChild()
56 mCategory.addPreference(child); in addChild()
57 mCategory.setVisible(true); in addChild()
62 if (mCategory != null) { in setEnabled()
63 mCategory.setEnabled(enabled); in setEnabled()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppsPreferenceController.java81 private PreferenceCategory mCategory; field in RecentAppsPreferenceController
133 mCategory = (PreferenceCategory) screen.findPreference(getPreferenceKey()); in displayPreference()
137 refreshUi(mCategory.getContext()); in displayPreference()
143 refreshUi(mCategory.getContext()); in updateState()
188 mCategory.setTitle(null); in displayOnlyAppInfo()
192 int prefCount = mCategory.getPreferenceCount(); in displayOnlyAppInfo()
194 final Preference pref = mCategory.getPreference(i); in displayOnlyAppInfo()
196 mCategory.removePreference(pref); in displayOnlyAppInfo()
202 mCategory.setTitle(R.string.recent_app_category_title); in displayRecentApps()
210 int prefCount = mCategory.getPreferenceCount(); in displayRecentApps()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DP2pCategoryPreferenceControllerTest.java46 private PreferenceCategory mCategory; field in P2pCategoryPreferenceControllerTest
52 when(mPreferenceScreen.findPreference(anyString())).thenReturn(mCategory); in setUp()
74 verify(mCategory).removeAll(); in removeAllChildren_shouldRemove()
75 verify(mCategory).setVisible(false); in removeAllChildren_shouldRemove()
83 verify(mCategory).addPreference(pref); in addChild_shouldAdd()
84 verify(mCategory).setVisible(true); in addChild_shouldAdd()
91 verify(mCategory).setEnabled(false); in shouldToggleEnable()
95 verify(mCategory).setEnabled(true); in shouldToggleEnable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppsPreferenceControllerTest.java74 private PreferenceCategory mCategory; field in RecentAppsPreferenceControllerTest
101 when(mScreen.findPreference(anyString())).thenReturn(mCategory); in setUp()
107 when(mCategory.getContext()).thenReturn(mContext); in setUp()
133 mController.updateState(mCategory); in onDisplayAndUpdateState_shouldRefreshUi()
146 verify(mCategory, never()).addPreference(any(Preference.class)); in display_shouldNotShowRecents_showAppInfoPreference()
147 verify(mCategory).setTitle(null); in display_shouldNotShowRecents_showAppInfoPreference()
191 verify(mCategory).setTitle(R.string.recent_app_category_title); in display_showRecents()
194 verify(mCategory, times(1)).addPreference(any(Preference.class)); in display_showRecents()
229 verify(mCategory, never()).addPreference(any(Preference.class)); in display_hasRecentButNoneDisplayable_showAppInfo()
230 verify(mCategory).setTitle(null); in display_hasRecentButNoneDisplayable_showAppInfo()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardData.java69 private final DashboardCategory mCategory; field in DashboardData
76 mCategory = builder.mCategory; in DashboardData()
116 return mCategory; in getCategory()
273 if(mCategory != null) { in buildItemsData()
274 for (int j = 0; j < mCategory.tiles.size(); j++) { in buildItemsData()
275 final Tile tile = mCategory.tiles.get(j); in buildItemsData()
321 private DashboardCategory mCategory; field in DashboardData.Builder
329 mCategory = dashboardData.mCategory; in Builder()
336 this.mCategory = category; in setCategory()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryAdapter.java38 int mCategory; field in CategoryAdapter
76 mCategory = category; in initializeSelection()
180 if (!(mCategory == MainPanel.VERSIONS in remove()
181 || mCategory == MainPanel.LOOKS)) { in remove()
186 if (mCategory == MainPanel.LOOKS) { in remove()
188 } else if (mCategory == MainPanel.VERSIONS) { in remove()
203 if (mCategory == MainPanel.LOOKS) { in reflectImagePreset()
208 } else if (mCategory == MainPanel.BORDERS) { in reflectImagePreset()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DGameControllerPreferenceController.java48 private Preference mCategory; field in GameControllerPreferenceController
70 mCategory = screen.findPreference(CATEGORY_KEY); in displayPreference()
137 mScreen.addPreference(mCategory); in updateGameControllers()
140 if (mCategory != null) { in updateGameControllers()
141 mScreen.removePreference(mCategory); in updateGameControllers()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java65 private String mCategory; field in AppChooserActivity
94 mCategory = category; in onCreate()
95 boolean isPayment = CardEmulation.CATEGORY_PAYMENT.equals(mCategory); in onCreate()
171 dialogIntent.putExtra(TapAgainDialog.EXTRA_CATEGORY, mCategory); in onItemClick()
202 mIsPayment = CardEmulation.CATEGORY_PAYMENT.equals(mCategory); in ListAdapter()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupActionHelper.java68 private final String mCategory; field in SetupActionHelper.OnActionClickListenerForAction
75 mCategory = category; in OnActionClickListenerForAction()
82 SetupActionHelper.onActionClick(mFragment, mCategory, mActionId, mParams); in onClick()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DTimeLogger.java40 private final int mCategory; field in TimeLogger
69 mCategory = checkNotNull(category); in TimeLogger()
91 mMetricsLoggerWrapper.logAction(mContext, mCategory, time); in stop()