Searched refs:key (Results 126 - 150 of 403) sorted by path

1234567891011>>

/frameworks/base/core/java/android/preference/
H A DPreferenceGroup.java221 * Finds a {@link Preference} based on its key. If two {@link Preference}
222 * share the same key (not recommended), the first to appear will be
223 * returned (to retrieve the other preference with the same key, call this
224 * method on the first preference). If this preference has the key, it will
230 * @param key The key of the preference to retrieve.
231 * @return The {@link Preference} with the key, or null.
233 public Preference findPreference(CharSequence key) { argument
234 if (TextUtils.equals(getKey(), key)) {
242 if (curKey != null && curKey.equals(key)) {
[all...]
H A DPreferenceManager.java51 * The Activity meta-data key for its XML preference hierarchy.
197 * the {@link #METADATA_KEY_PREFERENCES} key.
403 * Finds a {@link Preference} based on its key.
405 * @param key The key of the preference to retrieve.
406 * @return The {@link Preference} with the key, or null.
409 public Preference findPreference(CharSequence key) { argument
414 return mPreferenceScreen.findPreference(key);
/frameworks/base/core/java/android/provider/
H A DContacts.java121 * The key of this setting.
126 public static final String KEY = "key";
168 public static final String DEFAULT_SORT_ORDER = "key ASC";
187 public static String getSetting(ContentResolver cr, String account, String key) { argument
196 ? "_sync_account is null AND key=?"
197 : "_sync_account=? AND key=?";
198 // : "_sync_account=? AND _sync_account_type=? AND key=?";
200 ? new String[]{key}
201 : new String[]{account, key};
203 selectString = "key
220 setSetting(ContentResolver cr, String account, String key, String value) argument
[all...]
H A DContactsContract.java176 * A key to a boolean in the "extras" bundle of the cursor.
244 * The key to set in the outbound Bundle with the URI that should be authorized.
249 * The key to retrieve from the returned Bundle to obtain the pre-authorized URI.
260 * A key in the {@link android.provider.Settings android.provider.Settings} provider
268 * The value for the SORT_ORDER key corresponding to sorting by given name first.
275 * The value for the SORT_ORDER key corresponding to sorting by family name first.
282 * A key in the {@link android.provider.Settings android.provider.Settings} provider
291 * The value for the DISPLAY_ORDER key corresponding to showing the given name first.
298 * The value for the DISPLAY_ORDER key corresponding to showing the family name first.
1134 * Sort key tha
[all...]
H A DMediaStore.java1128 * A non human readable key calculated from the TITLE, used for
1174 * A non human readable key calculated from the ARTIST, used for
1199 * A non human readable key calculated from the ALBUM, used for
1261 * Converts a name to a "key" that can be used for grouping, sorting
1273 * @return The "key" for the given name.
1314 String key = DatabaseUtils.getCollationKey(name);
1316 key = "\001" + key;
1318 return key;
1646 * A non human readable key calculate
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java113 * Result key corresponding to confidence score.
118 * Result key corresponding to literal text.
123 * Result key corresponding to semantic meaning text.
351 * @param key key of the result. This is typically one of
358 public String getResult(int index, String key) { argument
359 return SR_RecognizerResultGetValue(mRecognizer, index, key);
613 private static native String SR_RecognizerGetParameter(int recognizer, String key); argument
614 private static native int SR_RecognizerGetSize_tParameter(int recognizer, String key); argument
615 private static native boolean SR_RecognizerGetBoolParameter(int recognizer, String key); argument
616 SR_RecognizerSetParameter(int recognizer, String key, String value) argument
617 SR_RecognizerSetSize_tParameter(int recognizer, String key, int value) argument
619 SR_RecognizerSetBoolParameter(int recognizer, String key, boolean value) argument
715 SR_RecognizerResultGetValue(int recognizer, int nbest, String key) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java419 * Parameter key to specify the audio stream type to be used when speaking text
429 * Parameter key to identify an utterance in the
440 * Parameter key to specify the speech volume relative to the current stream type
450 * Parameter key to specify how the speech is panned from left to right when speaking text.
460 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)}
472 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)}
1134 final String key = entry.getKey();
1135 if (key != null && key.startsWith(mCurrentEngine)) {
1136 bundle.putString(key, entr
1147 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument
1154 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument
1166 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument
[all...]
H A DTextToSpeechService.java511 protected String getStringParam(String key, String defaultValue) { argument
512 return mParams == null ? defaultValue : mParams.getString(key, defaultValue);
515 protected int getIntParam(String key, int defaultValue) { argument
516 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue);
519 protected float getFloatParam(String key, float defaultValue) { argument
520 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue);
H A DTtsEngines.java428 * Updates the value for a given key in a comma separated list of key value pairs,
429 * each of which are delimited by a colon. If no value exists for the given key,
432 private String updateValueInCommaSeparatedList(String list, String key, argument
437 newPrefList.append(key).append(':').append(newValue);
442 // Whether we found the given key.
447 if (key.equals(value.substring(0, delimiter))) {
454 newPrefList.append(key).append(':').append(newValue);
461 // Copy across the entire key + value as is.
471 newPrefList.append(key)
[all...]
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java239 * Sends a series of key events through instrumentation and waits for idle. The sequence
240 * of keys is a string containing the key names as specified in KeyEvent, without the
241 * KEYCODE_ prefix. For instance: sendKeys("DPAD_LEFT A B C DPAD_CENTER"). Each key can
254 String key = keys[i];
255 int repeater = key.indexOf('*');
259 keyCount = repeater == -1 ? 1 : Integer.parseInt(key.substring(0, repeater));
261 Log.w("ActivityTestCase", "Invalid repeat count: " + key);
266 key = key.substring(repeater + 1);
271 final Field keyCodeField = KeyEvent.class.getField("KEYCODE_" + key);
[all...]
/frameworks/base/core/java/android/text/
H A DAnnotation.java22 * Annotations are simple key-value pairs that are preserved across
30 public Annotation(String key, String value) { argument
31 mKey = key;
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java69 * Gets the Object mapped from the specified key, or <code>null</code>
72 public E get(long key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
81 public E get(long key, E valueIfKeyNotFound) { argument
82 int i = binarySearch(mKeys, 0, mSize, key);
92 * Removes the mapping from the specified key, if there was any.
94 public void delete(long key) { argument
95 int i = binarySearch(mKeys, 0, mSize, key);
108 public void remove(long key) { argument
155 put(long key, E value) argument
259 indexOfKey(long key) argument
306 append(long key, E value) argument
336 binarySearch(long[] a, int start, int len, long key) argument
[all...]
H A DLruCache.java41 * protected int sizeOf(String key, Bitmap value) {
49 * if (cache.get(key) == null) {
50 * cache.put(key, value);
54 * <p>This class does not allow null to be used as a key or value. A return
56 * unambiguous: the key was not in the cache.
106 * Returns the value for {@code key} if it exists in the cache or can be
111 public final V get(K key) { argument
112 if (key == null) {
113 throw new NullPointerException("key == null");
118 mapValue = map.get(key);
165 put(K key, V value) argument
230 remove(K key) argument
265 entryRemoved(boolean evicted, K key, V oldValue, V newValue) argument
282 create(K key) argument
286 safeSizeOf(K key, V value) argument
301 sizeOf(K key, V value) argument
[all...]
H A DSparseArray.java69 * Gets the Object mapped from the specified key, or <code>null</code>
72 public E get(int key) { argument
73 return get(key, null);
77 * Gets the Object mapped from the specified key, or the specified Object
81 public E get(int key, E valueIfKeyNotFound) { argument
82 int i = binarySearch(mKeys, 0, mSize, key);
92 * Removes the mapping from the specified key, if there was any.
94 public void delete(int key) { argument
95 int i = binarySearch(mKeys, 0, mSize, key);
108 public void remove(int key) { argument
155 put(int key, E value) argument
259 indexOfKey(int key) argument
306 append(int key, E value) argument
336 binarySearch(int[] a, int start, int len, int key) argument
[all...]
H A DSparseBooleanArray.java62 * Gets the boolean mapped from the specified key, or <code>false</code>
65 public boolean get(int key) { argument
66 return get(key, false);
70 * Gets the boolean mapped from the specified key, or the specified value
73 public boolean get(int key, boolean valueIfKeyNotFound) { argument
74 int i = binarySearch(mKeys, 0, mSize, key);
84 * Removes the mapping from the specified key, if there was any.
86 public void delete(int key) { argument
87 int i = binarySearch(mKeys, 0, mSize, key);
97 * Adds a mapping from the specified key t
101 put(int key, boolean value) argument
166 indexOfKey(int key) argument
197 append(int key, boolean value) argument
223 binarySearch(int[] a, int start, int len, int key) argument
[all...]
H A DSparseIntArray.java66 * Gets the int mapped from the specified key, or <code>0</code>
69 public int get(int key) { argument
70 return get(key, 0);
74 * Gets the int mapped from the specified key, or the specified value
77 public int get(int key, int valueIfKeyNotFound) { argument
78 int i = binarySearch(mKeys, 0, mSize, key);
88 * Removes the mapping from the specified key, if there was any.
90 public void delete(int key) { argument
91 int i = binarySearch(mKeys, 0, mSize, key);
108 * Adds a mapping from the specified key t
112 put(int key, int value) argument
177 indexOfKey(int key) argument
208 append(int key, int value) argument
234 binarySearch(int[] a, int start, int len, int key) argument
[all...]
H A DSparseLongArray.java68 * Gets the long mapped from the specified key, or <code>0</code>
71 public long get(int key) { argument
72 return get(key, 0);
76 * Gets the long mapped from the specified key, or the specified value
79 public long get(int key, long valueIfKeyNotFound) { argument
80 int i = binarySearch(mKeys, 0, mSize, key);
90 * Removes the mapping from the specified key, if there was any.
92 public void delete(int key) { argument
93 int i = binarySearch(mKeys, 0, mSize, key);
110 * Adds a mapping from the specified key t
114 put(int key, long value) argument
168 indexOfKey(int key) argument
199 append(int key, long value) argument
228 binarySearch(int[] a, int start, int len, long key) argument
[all...]
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java41 * When interpreting key presses received from the framework, applications should
43 * When synthesizing key presses for delivery elsewhere or when translating key presses
52 * synthesize key events. Typically used with {@link #getEvents}.
57 * A numeric (12-key) keyboard.
60 * It may be necessary to tap a key multiple times to generate the desired letter
69 * A keyboard with all the letters, but with more than one letter per key.
141 * key is a "dead key."
147 * a printable representation of the accent character of a "dead key
[all...]
H A DView.java215 * <td>Called when a new hardware key event occurs.
220 * <td>Called when a hardware key up event occurs.
523 * Any time a user hits a directional key, such as a D-pad direction, the view device will
4304 * Register a callback to be invoked when a hardware key is pressed in this view.
4307 * @param l the key listener to attach to this view
5797 * for instance, a dial key that plays dtmf tones.
6282 * respond to an arrow key. This is called when the focused view did not
6283 * consume the key internally, nor could the view system find a new view in
7162 * Dispatch a key event before it is processed by any input method
7164 * key event
15291 getTag(int key) argument
15317 setTag(int key, final Object tag) argument
15334 setTagInternal(int key, Object tag) argument
15343 setKeyedTag(int key, Object tag) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java150 * <p>Here are some key points about the security architecture behind the
162 * be active at a time. The inactive clients can not interact with key
230 * Timeout in milliseconds for delivering a key to an IME.
707 * If false, it has no input connection, so can only handle raw key events.
1041 * within your view changes outside of the normal input method or key
1568 public void dispatchKeyEvent(Context context, int seq, KeyEvent key, argument
1575 if (key.getAction() == KeyEvent.ACTION_DOWN
1576 && key.getKeyCode() == KeyEvent.KEYCODE_SYM) {
1584 mCurMethod.dispatchKeyEvent(seq, key, mInputMethodCallback);
1587 Log.w(TAG, "IME died: " + mCurId + " dropping: " + key,
[all...]
H A DInputMethodSubtype.java73 * supplies tools to deal with a key-value comma-separated list; see
99 * supplies tools to deal with a key-value comma-separated list; see
129 * supplies tools to deal with a key-value comma-separated list; see
304 * @param key The key of extra value
307 public boolean containsExtraValueKey(String key) { argument
308 return getExtraValueHashMap().containsKey(key);
314 * @param key The key of extra value
315 * @return The value of the specified key
317 getExtraValueOf(String key) argument
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java115 * @param key the key of extra value
118 public boolean containsExtraValueKey(String key) { argument
119 return getExtraValueHashMap().containsKey(key);
125 * @param key the key of extra value
126 * @return the value of the specified key
128 public String getExtraValueOf(String key) { argument
129 return getExtraValueHashMap().get(key);
/frameworks/base/core/java/android/webkit/
H A DClientCertRequestHandler.java52 * Proceed with the specified private key and client certificate chain.
79 * Proceed with the specified private key bytes and client certificate chain.
90 * Proceed with the specified private key context and client certificate chain.
92 private void setSslClientCertFromPKCS8(final byte[] key, final byte[][] chainBytes) { argument
95 mBrowserFrame.nativeSslClientCert(mHandle, key, chainBytes);
H A DWebSettingsClassic.java1684 public void setProperty(String key, String value) { argument
1685 if (mWebView.nativeSetProperty(key, value)) {
1690 public String getProperty(String key) { argument
1691 return mWebView.nativeGetProperty(key);
H A DWebViewClassic.java150 * to the text and sends them either as key strokes or text changes.
206 // Some IMEs send key events directly using sendKeyEvents.
403 // Number and telephone do not have both a Tab key and an
411 // TYPE_TEXT_VARIATION_URI prevents Tab key from showing, so
477 * character add or delete, it sends it as a key stroke. If it cannot
478 * be represented as a key stroke, it sends it as a field change.
511 // Send a message so that key strokes and text replacement
528 * Send a single character to the WebView as a key down and up event.
549 * Send a key event for a specific key cod
8610 tileProfilingGetInt(int frame, int tile, String key) argument
8614 tileProfilingGetFloat(int frame, int tile, String key) argument
8718 nativeTileProfilingGetInt(int frame, int tile, String key) argument
8719 nativeTileProfilingGetFloat(int frame, int tile, String key) argument
8737 nativeSetProperty(String key, String value) argument
8738 nativeGetProperty(String key) argument
[all...]

Completed in 544 milliseconds

1234567891011>>