Searched defs:keys (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java73 public synchronized ArrayList<K> keys() { method in class:IdentityCache
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlContainer.java27 boolean isZoomSupported, String[] keys, String[] otherSettingKeys);
26 initialize(Context context, PreferenceGroup group, boolean isZoomSupported, String[] keys, String[] otherSettingKeys) argument
H A DOtherSettingsPopup.java96 public void initialize(PreferenceGroup group, String[] keys) { argument
98 for (int i = 0; i < keys.length; ++i) {
99 ListPreference pref = group.findPreference(keys[i]);
H A DIndicatorControl.java89 protected void addControls(String[] keys, String[] otherSettingKeys) { argument
90 if (keys != null) {
91 for (int i = 0; i < keys.length; i++) {
93 (IconListPreference) mPreferenceGroup.findPreference(keys[i]);
133 int resId, String[] keys) {
135 context, resId, mPreferenceGroup, keys);
132 addOtherSettingIndicator(Context context, int resId, String[] keys) argument
H A DIndicatorControlWheelContainer.java60 boolean isZoomSupported, String[] keys, String[] otherSettingKeys) {
62 keys, otherSettingKeys);
59 initialize(Context context, PreferenceGroup group, boolean isZoomSupported, String[] keys, String[] otherSettingKeys) argument
H A DSecondLevelIndicatorControlBar.java60 String[] keys, String[] otherSettingKeys) {
64 addControls(keys, otherSettingKeys);
148 int resId, String[] keys) {
150 super.addOtherSettingIndicator(context, resId, keys);
59 initialize(Context context, PreferenceGroup group, String[] keys, String[] otherSettingKeys) argument
147 addOtherSettingIndicator(Context context, int resId, String[] keys) argument
H A DIndicatorControlWheel.java158 boolean isZoomSupported, String[] keys, String[] otherSettingKeys) {
180 addControls(keys, otherSettingKeys);
157 initialize(Context context, PreferenceGroup group, boolean isZoomSupported, String[] keys, String[] otherSettingKeys) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DJsonUtils.java67 /* package */ static void writeJson(final Key[] keys, final JsonWriter jsonWriter) argument
70 for (Key key : keys) {
H A DLogStatement.java34 * A LogStatement contains a name, keys, and flags about whether the {@code Object[] values}
35 * associated with the {@code String[] keys} are likely to reveal information about the user. The
84 final boolean isPotentiallyRevealing, final String... keys) {
88 mKeys = (keys == null) ? NULL_KEYS : keys;
111 * keys. So the values must be passed in as an argument.
113 * @param queryKey the String that is tested by {@code String.equals()} to the keys in the
119 * @returns {@true} if {@code queryKey} exists in the keys for this LogStatement, and {@code
122 * @throws IllegalArgumentException if {@code values.length} is not equal to keys().length()
127 throw new IllegalArgumentException("Mismatched number of keys an
83 LogStatement(final String name, final boolean isPotentiallyPrivate, final boolean isPotentiallyRevealing, final String... keys) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLookupKeyTest.java225 String[] keys) {
234 assertEquals(keys[i], segment.key);
224 assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, String[] keys) argument
/packages/apps/Camera/src/com/android/camera/ui/
H A DMoreSettingPopup.java121 public void initialize(PreferenceGroup group, String[] keys) { argument
123 for (int i = 0; i < keys.length; ++i) {
124 ListPreference pref = group.findPreference(keys[i]);
/packages/apps/Camera2/src/com/android/camera/ui/
H A DMoreSettingPopup.java121 public void initialize(PreferenceGroup group, String[] keys) { argument
123 for (int i = 0; i < keys.length; ++i) {
124 ListPreference pref = group.findPreference(keys[i]);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewIconCache.java97 /** Removes all the keys to applications that aren't in the passed in collection */
98 public void retainAllApps(ArrayList<ApplicationInfo> keys) { argument
100 for (ApplicationInfo info : keys) {
105 /** Removes all the keys to shortcuts that aren't in the passed in collection */
106 public void retainAllShortcuts(List<ResolveInfo> keys) { argument
108 for (ResolveInfo info : keys) {
113 /** Removes all the keys to widgets that aren't in the passed in collection */
114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { argument
116 for (AppWidgetProviderInfo info : keys) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewIconCache.java97 /** Removes all the keys to applications that aren't in the passed in collection */
98 public void retainAllApps(ArrayList<AppInfo> keys) { argument
100 for (AppInfo info : keys) {
105 /** Removes all the keys to shortcuts that aren't in the passed in collection */
106 public void retainAllShortcuts(List<ResolveInfo> keys) { argument
108 for (ResolveInfo info : keys) {
113 /** Removes all the keys to widgets that aren't in the passed in collection */
114 public void retainAllAppWidgets(List<AppWidgetProviderInfo> keys) { argument
116 for (AppWidgetProviderInfo info : keys) {
H A DLauncherBackupHelper.java157 * <P>The journal is a timestamp and a list of keys that were saved as of that time.
181 ArrayList<Key> keys = new ArrayList<Key>();
183 backupFavorites(in, data, out, keys);
184 backupScreens(in, data, out, keys);
185 backupIcons(in, data, out, keys);
186 backupWidgets(in, data, out, keys);
191 out.key = keys.toArray(BackupProtos.Key.EMPTY_ARRAY);
276 * @param keys keys to mark as clean in the notes for next backup
280 ArrayList<Key> keys)
279 backupFavorites(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument
324 restoreFavorite(Key key, byte[] buffer, int dataSize, ArrayList<Key> keys) argument
347 backupScreens(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument
392 restoreScreen(Key key, byte[] buffer, int dataSize, ArrayList<Key> keys) argument
414 backupIcons(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument
502 restoreIcon(Key key, byte[] buffer, int dataSize, ArrayList<Key> keys) argument
531 backupWidgets(Journal in, BackupDataOutput data, Journal out, ArrayList<Key> keys) argument
617 restoreWidget(Key key, byte[] buffer, int dataSize, ArrayList<Key> keys) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java35 /** Number of key widths from current touch point to search for nearest keys. */
56 final int mostCommonKeyHeight, final Key[] keys,
72 mKeys = keys;
75 // No proximity required. Keyboard might be more keys keyboard.
98 // Don't include special keys into ProximityInfo.
102 private static int getProximityInfoKeysCount(final Key[] keys) { argument
104 for (final Key key : keys) {
145 final Key[] keys = mKeys;
146 final int keyCount = getProximityInfoKeysCount(keys);
156 for (int infoIndex = 0, keyIndex = 0; keyIndex < keys
54 ProximityInfo(final String localeStr, final int gridWidth, final int gridHeight, final int minWidth, final int height, final int mostCommonKeyWidth, final int mostCommonKeyHeight, final Key[] keys, final TouchPositionCorrection touchPositionCorrection) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandler.java357 public boolean areAllEmpty(ContentValues values, String[] keys) { argument
358 for (String key : keys) {
367 * Returns true if a value (possibly null) is specified for at least one of the supplied keys.
369 public boolean areAnySpecified(ContentValues values, String[] keys) { argument
370 for (String key : keys) {
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageVolumePreferenceCategory.java308 private static long totalValues(HashMap<String, Long> map, String... keys) { argument
310 for (String key : keys) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DDividedImageCanvas.java114 * @param keys
116 public void setDivisionIds(List<Object> keys) { argument
117 if (keys.size() > MAX_DIVISIONS) {
118 throw new IllegalArgumentException("too many divisionIds: " + keys);
121 boolean needClear = getDivisionCount() != keys.size();
123 for (int i = 0; i < keys.size(); i++) {
124 String divisionId = transformKeyToDivisionId(keys.get(i));
137 for (Object key : keys) {
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java222 * by checking for specific keys and converting the associated values.
2122 Set<String> keys, Cursor cursor) {
2124 for (String key : keys) {
2121 verifyContentValueAgainstCursor(ContentValues cv, Set<String> keys, Cursor cursor) argument
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1596 private void checkAllowedInException(Set<String> keys) { argument
1597 for (String str : keys) {

Completed in 408 milliseconds