/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | P2pCategoryPreferenceController.java | 30 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/ |
D | RecentAppsPreferenceController.java | 81 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/ |
D | P2pCategoryPreferenceControllerTest.java | 46 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/ |
D | RecentAppsPreferenceControllerTest.java | 74 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/ |
D | DashboardData.java | 69 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/ |
D | CategoryAdapter.java | 38 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/ |
D | GameControllerPreferenceController.java | 48 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/ |
D | AppChooserActivity.java | 65 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/ |
D | SetupActionHelper.java | 68 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/ |
D | TimeLogger.java | 40 private final int mCategory; field in TimeLogger 69 mCategory = checkNotNull(category); in TimeLogger() 91 mMetricsLoggerWrapper.logAction(mContext, mCategory, time); in stop()
|