Searched refs:keys (Results 1 - 25 of 33) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLocaleUtilsTest.java67 Iterator<String> keys = mContactLocaleUtils.getNameLookupKeys(CHINESE_NAME,
69 verifyKeys(keys, CHINESE_NAME_KEY);
71 keys = mContactLocaleUtils.getNameLookupKeys(CHINESE_LATIN_MIX_NAME_1,
73 verifyKeys(keys, CHINESE_LATIN_MIX_NAME_1_KEY);
75 keys = mContactLocaleUtils.getNameLookupKeys(CHINESE_LATIN_MIX_NAME_2,
77 verifyKeys(keys, CHINESE_LATIN_MIX_NAME_2_KEY);
97 Iterator<String> keys = mContactLocaleUtils.getNameLookupKeys(CHINESE_NAME,
99 verifyKeys(keys, CHINESE_NAME_KEY);
100 keys = mContactLocaleUtils.getNameLookupKeys(CHINESE_NAME, FullNameStyle.CJK);
101 verifyKeys(keys, CHINESE_NAME_KE
[all...]
H A DContactLookupKeyTest.java224 String[] keys) {
233 assertEquals(keys[i], segment.key);
223 assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, String[] keys) argument
/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 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 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 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 DIndicatorControlWheelContainer.java60 boolean isZoomSupported, String[] keys, String[] otherSettingKeys) {
62 keys, otherSettingKeys);
59 initialize(Context context, PreferenceGroup group, boolean isZoomSupported, String[] keys, String[] otherSettingKeys) argument
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java32 /** Number of key widths from current touch point to search for nearest keys. */
53 final int mostCommonKeyHeight, final Key[] keys,
69 mKeys = keys;
72 // No proximity required. Keyboard might be more keys keyboard.
113 final Key[] keys = mKeys;
123 final int keyCount = keys.length;
134 final Key key = keys[i];
149 final Key key = keys[i];
193 final Key[] keys = mKeys;
197 final Key[] neighborKeys = new Key[keys
51 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/apps/VideoEditor/src/com/android/videoeditor/service/
H A DIntentPool.java66 for (String keys : extras.keySet()) {
67 intent.removeExtra(keys);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DLogUnit.java44 public void addLogStatement(final String[] keys, final Object[] values, argument
46 mKeysList.add(keys);
H A DResearchLog.java210 void outputEvent(final String[] keys, final Object[] values) { argument
212 if (keys.length == 0) {
216 if (keys.length != values.length + 1) {
217 Log.d(TAG, "Key and Value list sizes do not match. " + keys[0]);
229 mJsonWriter.name(EVENT_TYPE_KEY).value(keys[0]);
232 mJsonWriter.name(keys[i + 1]);
H A DResearchLogger.java653 * @param keys an array containing a descriptive name for the event, followed by the keys
655 * less than the keys array
657 private synchronized void enqueuePotentiallyPrivateEvent(final String[] keys, argument
659 assert values.length + 1 == keys.length;
661 mCurrentLogUnit.addLogStatement(keys, values, true /* isPotentiallyPrivate */);
677 * @param keys an array containing a descriptive name for the event, followed by the keys
679 * less than the keys array
681 private synchronized void enqueueEvent(final String[] keys, fina argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadHandler.java62 Iterator<Long> keys = mDownloadsQueue.keySet().iterator();
64 while (mDownloadsInProgress.size() < mMaxConcurrentDownloadsAllowed && keys.hasNext()) {
65 Long id = keys.next();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLocaleUtils.java50 * The classes to generate the Chinese style sort and search keys.
56 * The below additional name lookup keys will be generated.
59 * The name lookup keys are generated to make sure the name can be found by from any
93 HashSet<String> keys = new HashSet<String>();
100 // build the lookup keys for itself.
119 keys.add(keyOrignal.toString());
120 keys.add(keyPinyin.toString());
121 keys.add(keyInitial.toString());
123 return keys.iterator();
H A DDataRowHandler.java359 public boolean areAllEmpty(ContentValues values, String[] keys) { argument
360 for (String key : keys) {
369 * Returns true if a value (possibly null) is specified for at least one of the supplied keys.
371 public boolean areAnySpecified(ContentValues values, String[] keys) { argument
372 for (String key : keys) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DJsonBackedSuggestionExtras.java39 Iterator<String> it = mExtras.keys();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
H A DAccessibilityEntityProvider.java165 final Key[] keys = keyboard.mKeys;
166 for (Key key : keys) {
305 * Assigns virtual view IDs to keyboard keys and populates the related maps.
315 final Key[] keys = keyboard.mKeys;
316 for (Key key : keys) {
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java58 * A view that renders a virtual {@link Keyboard}. It handles rendering of keys and
70 * For keys that repeat, this is only called once.
78 * For keys that repeat, this is only called once.
86 * @param keyCodes the codes for all the possible alternative keys
89 * will include other characters that may be on the same key or adjacent keys.
472 List<Key> keys = mKeyboard.getKeys();
473 mKeys = keys.toArray(new Key[keys.size()]);
593 * codes for adjacent keys. When disabled, only the primary key code will be
638 * Compute the average distance between adjacent keys (horizontall
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java73 public synchronized ArrayList<K> keys() { method in class:IdentityCache
/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLongSparseArray.java128 long[] keys = mKeys;
136 keys[o] = keys[i];
270 * specified key, or a negative number if no keys map to the
273 * and that multiple keys can map to the same value and this will
305 * the key is greater than all existing keys in the array.
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDelta.java672 * Return set of all keys defined through this object.
675 final HashSet<String> keys = Sets.newHashSet();
679 keys.add(entry.getKey());
685 keys.add(entry.getKey());
689 return keys;
769 * object, and any defined keys have equal values.
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java539 final String[] keys = keyStore.saw(Credentials.VPN);
540 if (keys != null) {
541 for (String key : keys) {
/packages/experimental/procstatlog/
H A Dprocstatreport.py411 for num, interface in enumerate(sorted(interface_rx.keys())):
522 for num, device in enumerate(sorted(disk_reads.keys())):
523 if [d for d in disk_reads.keys()

Completed in 479 milliseconds

12