Searched defs:group (Results 1 - 25 of 48) sorted by relevance

12

/packages/apps/StorageManager/src/com/android/storagemanager/
H A DPreferenceListCache.java34 * @param group The preference group to source preferences from.
36 public PreferenceListCache(PreferenceGroup group) { argument
37 mGroup = group;
39 final int N = group.getPreferenceCount();
41 Preference p = group.getPreference(i);
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupDetailDisplayUtils.java17 package com.android.contacts.group;
H A DGroupListItem.java16 package com.android.contacts.group;
19 * Meta-data for a contact group. We load all groups associated with the contact's
H A DGroupBrowseListAdapter.java17 package com.android.contacts.group;
59 // If there's no selected group already and the cursor is valid, then by default, select the
60 // first group
126 // Figure out if this is the first group for this account name / account type pair by
161 // Add a header if this is the first group in an account and hide the divider
182 // Bind the group data
H A DGroupBrowseListFragment.java17 package com.android.contacts.group;
48 import com.android.contacts.group.GroupBrowseListAdapter.GroupListItemViewCache;
59 * Action callbacks that can be sent by a group list.
64 * Opens the specified group for viewing.
66 * @param groupUri for the group that the user wishes to view.
195 * The listener for the group meta data loader for all groups.
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlContainer.java26 public abstract void initialize(Context context, PreferenceGroup group, argument
H A DIndicatorControlBar.java54 public void initialize(Context context, PreferenceGroup group, argument
56 setPreferenceGroup(group);
H A DIndicatorControlBarContainer.java68 public void initialize(Context context, PreferenceGroup group, argument
72 mIndicatorControlBar.initialize(context, group, isZoomSupported);
74 mSecondLevelIndicatorControlBar.initialize(context, group,
H A DOtherSettingsPopup.java96 public void initialize(PreferenceGroup group, String[] keys) { argument
99 ListPreference pref = group.findPreference(keys[i]);
H A DIndicatorControl.java79 public void setPreferenceGroup(PreferenceGroup group) { argument
80 mPreferenceGroup = group;
81 // Preset the current mode from the title of preference group.
82 String title = group.getTitle();
H A DIndicatorControlWheelContainer.java59 public void initialize(Context context, PreferenceGroup group, argument
61 mIndicatorControlWheel.initialize(context, group, isZoomSupported,
H A DSecondLevelIndicatorControlBar.java59 public void initialize(Context context, PreferenceGroup group, argument
62 setPreferenceGroup(group);
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pPersistentGroup.java28 public WifiP2pPersistentGroup(Context context, WifiP2pGroup group) { argument
30 mGroup = group;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DTwoStatePreferenceHelper.java34 public static void replaceCheckBoxPreferencesBySwitchPreferences(final PreferenceGroup group) { argument
41 replaceAllCheckBoxPreferencesBySwitchPreferences(group);
45 final PreferenceGroup group) {
47 final int count = group.getPreferenceCount();
49 preferences.add(group.getPreference(index));
51 group.removeAll();
55 addSwitchPreferenceBasedOnCheckBoxPreference((CheckBoxPreference)preference, group);
57 group.addPreference(preference);
66 final PreferenceGroup group) {
79 group
44 replaceAllCheckBoxPreferencesBySwitchPreferences( final PreferenceGroup group) argument
65 addSwitchPreferenceBasedOnCheckBoxPreference(final CheckBoxPreference checkBox, final PreferenceGroup group) argument
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
H A DAllAppPermissionsFragment.java131 PermissionGroupInfo group = getGroup(perm.group, pm);
133 findOrCreate(group != null ? group : perm, pm, prefs);
134 pref.addPreference(getPreference(perm, group, pm));
136 PermissionGroupInfo group = getGroup(perm.group, pm);
137 otherGroup.addPreference(getPreference(perm, group, pm));
166 private PermissionGroupInfo getGroup(String group, PackageManager pm) { argument
168 return pm.getPermissionGroupInfo(group,
174 findOrCreate(PackageItemInfo group, PackageManager pm, ArrayList<Preference> prefs) argument
187 getPreference(PermissionInfo perm, PermissionGroupInfo group, PackageManager pm) argument
[all...]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DComparableTester.java31 * where each group contains objects that are
107 private void assertZero(Collection<T> group) { argument
109 for (T lhs : group) {
110 for (T rhs : group) {
H A DComparatorTester.java32 * where each group contains objects that are
119 private void assertZero(Collection<T> group) { argument
121 for (T leftItem : group) {
122 for (T rightItem : group) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
H A DAllAppPermissionsFragment.java160 PermissionGroupInfo group = getGroup(perm.group, pm);
162 PreferenceGroup pref = findOrCreate(group != null ? group : perm, pm, prefs);
163 pref.addPreference(getPreference(perm, group));
169 getOtherGroup().addPreference(getPreference(perm, group));
196 private PermissionGroupInfo getGroup(String group, PackageManager pm) { argument
198 return pm.getPermissionGroupInfo(group, 0);
204 private PreferenceGroup findOrCreate(PackageItemInfo group, PackageManager pm, argument
206 PreferenceGroup pref = (PreferenceGroup) findPreference(group
218 getPreference(final PermissionInfo perm, final PermissionGroupInfo group) argument
226 getMutablePreference(final PermissionInfo perm, PermissionGroupInfo group) argument
253 getImmutablePreference(final PermissionInfo perm, PermissionGroupInfo group) argument
278 getTintedPermissionIcon(Context context, PermissionInfo perm, PermissionGroupInfo group) argument
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
H A DAppPermissionsFragmentWear.java143 final AppPermissionGroup group = groups.get(i);
144 if (!Utils.shouldShowPermission(group, packageName)) {
148 boolean isPlatform = group.getDeclaringPackage().equals(Utils.OS_PKG);
152 group.getLabel(),
153 getPermissionGroupIcon(group),
155 setting.data = group;
183 final AppPermissionGroup group = setting.data;
185 if (group == null) {
192 // of this permission group
193 if (group
257 addToggledGroup(AppPermissionGroup group) argument
277 getPermissionGroupIcon(AppPermissionGroup group) argument
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
H A DUtils.java81 public static boolean shouldShowPermission(AppPermissionGroup group, String packageName) { argument
84 if (group.isSystemFixed() && !LocationUtils.isLocationGroupAndProvider(
85 group.getName(), packageName)) {
89 final boolean isPlatformPermission = group.getDeclaringPackage().equals(OS_PKG);
92 && !Utils.isModernPermissionGroup(group.getName())) {
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java178 public void onCheckedChanged(RadioGroup group, int checkedId) { argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DAccessibilityFragment.java112 private void refreshServices(PreferenceGroup group) { argument
135 servicePref = new Preference(group.getContext());
146 group.addPreference(servicePref);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSettingsAdapter.java81 BluetoothMapAccountItem group = mMainGroup.get(groupPosition);
82 if (mProupList.get(group).size() > 0)
99 private ArrayList<BluetoothMapAccountItem> getChild(BluetoothMapAccountItem group) { argument
100 return mProupList.get(group);
/packages/apps/Camera2/src/com/android/camera/settings/
H A DCameraSettingsActivity.java306 private void fillEntriesAndSummaries(PreferenceGroup group) { argument
307 for (int i = 0; i < group.getPreferenceCount(); ++i) {
308 Preference pref = group.getPreference(i);
318 * Recursively traverses the tree from the given group as the route and
322 private boolean recursiveDelete(PreferenceGroup group, Preference preference) { argument
323 if (group == null) {
324 Log.d(TAG, "attempting to delete from null preference group");
331 if (group.removePreference(preference)) {
336 for (int i = 0; i < group.getPreferenceCount(); ++i) {
337 Preference pref = group
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogGroupBuilderTest.java142 // Does not group with other types of calls, include voicemail themselves.
154 // Does not group with other types of calls, include voicemail themselves.
173 // Does not group with other types of calls.
198 // Does not group with voicemail and missed calls.
219 // Does not group with voicemail and missed calls.
357 /** Asserts that calls of the given types are grouped together into a single group. */
431 /** Asserts that the group matches the given values. */
432 private void assertGroupIs(int cursorPosition, int size, GroupSpec group) { argument
433 assertEquals(cursorPosition, group.cursorPosition);
434 assertEquals(size, group
[all...]

Completed in 869 milliseconds

12