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

12

/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java73 public synchronized ArrayList<K> keys() { method in class:IdentityCache
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DItemInfoMatcher.java56 public static ItemInfoMatcher ofShortcutKeys(final HashSet<ShortcutKey> keys) { argument
61 keys.contains(ShortcutKey.fromShortcutInfo((ShortcutInfo) info));
/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/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
H A DUiDeviceUtils.java58 public static void pressKeys(UiDevice uiDevice, String keys) { argument
59 for (char c : keys.toCharArray()) {
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
H A DLayoutTestsBase.java80 // Helper method to create an {@link ExpectedKey} object that has new "more keys".
110 static ExpectedKey[] joinKeys(final Object ... keys) { argument
111 return AbstractLayoutBase.joinKeys(keys);
166 // Test both keyboards' keys have the same visual outlook and key output.
/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/UnifiedEmail/src/com/android/mail/ui/settings/
H A DGeneralPrefsFragment.java246 private void listenForPreferenceChange(String... keys) { argument
247 for (String key : keys) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DActualKeyboardBuilder.java38 private static ArrayList<Key> filterOutSpacer(final List<Key> keys) { argument
40 for (final Key key : keys) {
50 * Create the keyboard that consists of the array of rows of the actual keyboard's keys.
51 * @param sortedKeys keys list of the actual keyboard that is sorted from top-left to
59 // Grouping keys into rows.
167 * @param keys the keyboard row to be converted to string.
168 * @return the human readable representation of <code>keys</code>.
171 public static String toString(@Nullable final Key[] keys) { argument
172 return KeyStringizer.STRINGIZER.join(keys);
H A DAbstractLayoutBase.java59 // Helper method to create an {@link ExpectedKey} object that has new "more keys".
66 // The additional more keys can be defined independently from other more keys. The position of
67 // the additional more keys in the long press popup keyboard can be controlled by specifying
68 // special marker "%" in the usual more keys definitions.
104 public static ExpectedKey[] joinKeys(final Object ... keys) { argument
105 return ExpectedKeyboardBuilder.joinKeys(keys);
136 // Functional keys.
170 // Punctuation more keys for phone form factor.
174 // Punctuation more keys fo
[all...]
H A DExpectedKeyboardBuilder.java68 private static ExpectedKey[] replaceKeyAt(final ExpectedKey[] keys, final int columnIndex, argument
72 keys[columnIndex] = replacingKeys[0];
73 return keys;
75 final int newLength = keys.length - 1 + replacingKeys.length;
77 final ExpectedKey[] newKeys = Arrays.copyOf(keys, newLength);
78 System.arraycopy(keys, columnIndex + 1, newKeys, columnIndex + replacingKeys.length,
79 keys.length - 1 - columnIndex);
80 // Insert replacing keys at columnIndex.
91 ExpectedKey[] keys = getRowAt(row);
92 for (int columnIndex = 0; columnIndex < keys
116 joinKeys(final Object ... keys) argument
139 setKeysOfRow(final int row, final Object ... keys) argument
220 insertKeysAtRow(final int row, final int column, final Object ... keys) argument
237 addKeysOnTheLeftOfRow(final int row, final Object ... keys) argument
255 addKeysOnTheRightOfRow(final int row, final Object ... keys) argument
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dvaluetest.cpp1115 const char keys[][2] = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j" }; local
1117 x.AddMember(keys[i], Value(kArrayType).PushBack(i, allocator), allocator);
1124 EXPECT_FALSE(x.HasMember(keys[0]));
1129 EXPECT_STREQ(itr->name.GetString(), keys[i]);
1135 EXPECT_FALSE(x.HasMember(keys[9]));
1140 EXPECT_STREQ(itr->name.GetString(), keys[i]);
1146 EXPECT_FALSE(x.HasMember(keys[5]));
1152 EXPECT_STREQ(itr->name.GetString(), keys[i]);
1163 x.AddMember(keys[i], Value(kArrayType).PushBack(i, allocator), allocator);
1174 EXPECT_EQ(i, x[keys[
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DStorageFragment.java222 private static long totalValues(HashMap<String, Long> map, String... keys) { argument
225 for (String key : keys) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DAction.java181 * Returns a list of {@link Action} with the specified keys and titles
186 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles) { argument
187 return createActionsFromArrays(keys, titles, NO_CHECK_SET, null);
191 * Returns a list of {@link Action} with the specified keys and titles
196 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles, argument
198 int keysLength = keys.length;
208 builder.key(keys[i]).title(titles[i]).checkSetId(checkSetId);
210 if (checkedItemKey.equals(keys[i])) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java39 /** Number of key widths from current touch point to search for nearest keys. */
77 // No proximity required. Keyboard might be more keys keyboard.
99 // Don't include special keys into ProximityInfo.
103 private static int getProximityInfoKeysCount(final List<Key> keys) { argument
105 for (final Key key : keys) {
256 // enough space for as many keys as there are on the keyboard. Hence, every
270 We want to compute the distance for keys that are in the cells that are close enough to the
271 key border, as this method is performance-critical. These keys are represented with 'star'
324 of the keys, we can stop as soon as the y value exceeds bottomPixelThreshold, so we don't
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandler.java428 public boolean areAllEmpty(ContentValues values, String[] keys) { argument
429 for (String key : keys) {
438 * Returns true if a value (possibly null) is specified for at least one of the supplied keys.
440 public boolean areAnySpecified(ContentValues values, String[] keys) { argument
441 for (String key : keys) {
/packages/services/Telecomm/src/com/android/server/telecom/
H A DInCallAdapter.java442 public void removeExtras(String callId, List<String> keys) { argument
450 call.removeExtras(Call.SOURCE_INCALL_SERVICE, keys);
H A DConnectionServiceWrapper.java569 public void removeExtras(String callId, List<String> keys) { argument
574 logIncoming("removeExtra %s %s", callId, keys);
577 call.removeExtras(Call.SOURCE_CONNECTION_SERVICE, keys);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPrivateVolumeSettings.java664 private static long totalValues(MeasurementDetails details, int userId, String... keys) { argument
668 for (String key : keys) {
/packages/apps/Settings/src/com/android/settings/search/
H A DIndex.java356 final List<String> keys =
358 addNonIndexableKeys(packageName, keys);
423 public void addNonIndexableKeys(String authority, List<String> keys) { argument
425 mDataToProcess.nonIndexableKeys.put(authority, keys);

Completed in 3487 milliseconds

12