Searched refs:key (Results 151 - 175 of 403) sorted by path

1234567891011>>

/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java1183 // key was pressed (down and up)
1363 key((KeyEvent) msg.obj, msg.arg1, true);
1367 key((KeyEvent) msg.obj, msg.arg1, false);
2021 private void key(KeyEvent evt, int canTakeFocusDirection, boolean isDown) { method in class:WebViewCore
2023 Log.v(LOGTAG, "CORE key at " + System.currentTimeMillis() + ", "
2052 // but do not bubble up the ENTER key, which would open the search
/frameworks/base/core/java/android/widget/
H A DAbsListView.java249 * If there is a value for a given key, the checked state for that ID is true
1558 final long key = in.readLong();
1560 checkIdState.put(key, value);
5476 * Sends a key to the text filter window
5479 * @param event The actual key event
H A DAlphabetIndexer.java171 int key = letter;
173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) {
246 alphaMap.put(key, pos);
H A DGridLayout.java1331 private void include(List<Arc> arcs, Interval key, MutableInt size, argument
1339 if (key.size() == 0) {
1347 if (span.equals(key)) {
1352 arcs.add(new Arc(key, size));
1355 private void include(List<Arc> arcs, Interval key, MutableInt size) { argument
1356 include(arcs, key, size, true);
1426 Interval key = links.keys[i];
1427 include(result, key, links.values[i], false);
2035 In place of a HashMap from span to Int, use an array of key/value pairs - stored in Arcs.
2090 public void put(K key, argument
[all...]
H A DRelativeLayout.java1479 final int key = view.getId();
1487 dependencies.remove(key);
H A DRemoteViews.java262 String key = newActions.get(i).getUniqueKey();
264 if (map.containsKey(key) && mergeBehavior == Action.MERGE_REPLACE) {
265 mActions.remove(map.get(key));
266 map.remove(key);
H A DRemoteViewsAdapter.java785 Pair<Intent.FilterComparison, Integer> key = new Pair<Intent.FilterComparison, Integer>
789 if (sCachedRemoteViewsCaches.containsKey(key)) {
790 mCache = sCachedRemoteViewsCaches.get(key);
827 final Pair<Intent.FilterComparison, Integer> key = new Pair<Intent.FilterComparison,
831 // If we already have a remove runnable posted for this key, remove it.
832 if (sRemoteViewsCacheRemoveRunnables.containsKey(key)) {
833 sCacheRemovalQueue.removeCallbacks(sRemoteViewsCacheRemoveRunnables.get(key));
834 sRemoteViewsCacheRemoveRunnables.remove(key);
846 sCachedRemoteViewsCaches.put(key, mCache);
853 if (sCachedRemoteViewsCaches.containsKey(key)) {
[all...]
H A DSpellChecker.java363 final Long key = Long.valueOf(TextUtils.packRangeInLong(start, end));
364 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key);
371 mSuggestionSpanCache.remove(key);
487 final Long key = Long.valueOf(TextUtils.packRangeInLong(start, end));
488 final SuggestionSpan tempSuggestionSpan = mSuggestionSpanCache.get(key);
496 mSuggestionSpanCache.put(key, suggestionSpan);
/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl26 String copyResourceToContainer(in Uri packageURI, String containerId, String key,
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java100 // the record key. Wind through the data file, extracting individual
108 String key = changeSet.getKey();
109 String base64Key = new String(Base64.encode(key.getBytes()));
114 if (DEBUG) Log.v(TAG, "Got change set key=" + key + " size=" + dataSize
133 Log.e(TAG, "Unable to update key file " + entityFile.getAbsolutePath());
232 if (DEBUG) Log.v(TAG, " getRestoreData() found " + blobs.length + " key files");
241 String key = new String(Base64.decode(f.getName()));
242 if (DEBUG) Log.v(TAG, " ... key=" + key
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java96 public static String mountSdDir(String cid, String key, int ownerUid) { argument
98 int rc = getMountService().mountSecureContainer(cid, key, ownerUid);
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java41 public String key; field in class:LegacyVpnInfo
52 out.writeString(key);
62 info.key = in.readString();
H A DVpnProfile.java49 public final String key; // -1 field in class:VpnProfile
69 public VpnProfile(String key) { argument
70 this.key = key;
74 key = in.readString();
95 out.writeString(key);
114 public static VpnProfile decode(String key, byte[] value) { argument
116 if (key == null) {
126 VpnProfile profile = new VpnProfile(key);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl27 void addNotification(IBinder key, in StatusBarNotification notification);
28 void updateNotification(IBinder key, in StatusBarNotification notification);
29 void removeNotification(IBinder key);
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java49 public void printPair(String key, Object value) { argument
50 print(key + "=" + String.valueOf(value) + " ");
H A DTypedProperties.java402 public Object get(Object key) { argument
403 Object value = super.get(key);
/frameworks/base/core/java/com/android/internal/widget/
H A DILockSettings.aidl21 void setBoolean(in String key, in boolean value, in int userId);
22 void setLong(in String key, in long value, in int userId);
23 void setString(in String key, in String value, in int userId);
24 boolean getBoolean(in String key, in boolean defaultValue, in int userId);
25 long getLong(in String key, in long defaultValue, in int userId);
26 String getString(in String key, in String defaultValue, in int userId);
H A DLockSettingsService.java62 private static final String LOCK_PATTERN_FILE = "gesture.key";
63 private static final String LOCK_PASSWORD_FILE = "password.key";
125 public void setBoolean(String key, boolean value, int userId) throws RemoteException { argument
128 writeToDb(key, value ? "1" : "0", userId);
132 public void setLong(String key, long value, int userId) throws RemoteException { argument
135 writeToDb(key, Long.toString(value), userId);
139 public void setString(String key, String value, int userId) throws RemoteException { argument
142 writeToDb(key, value, userId);
146 public boolean getBoolean(String key, boolean defaultValue, int userId) throws RemoteException { argument
149 String value = readFromDb(key, nul
155 getLong(String key, long defaultValue, int userId) argument
163 getString(String key, String defaultValue, int userId) argument
309 writeToDb(String key, String value, int userId) argument
313 writeToDb(SQLiteDatabase db, String key, String value, int userId) argument
330 readFromDb(String key, String defaultValue, int userId) argument
[all...]
H A DPasswordEntryKeyboard.java32 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
90 LatinKey key = new LatinKey(res, parent, x, y, parser);
91 final int code = key.codes[0];
93 // Log.w(TAG, "Key code for " + key.label + " is not latin-1");
94 key.label = " ";
95 key.setEnabled(false);
97 switch (key.codes[0]) {
99 mEnterKey = key;
102 mF1Key = key;
105 mSpaceKey = key;
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java69 String key = (String) vars[i];
71 if ("simultaneousTween".equals(key)) {
73 } else if ("ease".equals(key)) {
75 } else if ("onUpdate".equals(key) || "onUpdateListener".equals(key)) {
77 } else if ("onComplete".equals(key) || "onCompleteListener".equals(key)) {
79 } else if ("delay".equals(key)) {
81 } else if ("syncWith".equals(key)) {
84 props.add(PropertyValuesHolder.ofFloat(key,
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java505 Character key = Character.valueOf(ch);
506 if (seenCharacters.containsKey(key)) {
511 Format start = formatStart.get(key);
515 formatStart.remove(key);
516 seenCharacters.put(key, Boolean.TRUE);
520 formatStart.put(key, start);
522 seenCharacters.put(key, Boolean.FALSE);
528 for (Character key : seenCharacters.keySet()) {
529 if (seenCharacters.get(key) == Boolean.TRUE) {
530 Format end = new Format(key
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp98 // Create the key
99 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
102 sp<TextLayoutValue> value = mCache.get(key);
104 // Value not found for the key, we need to add a new value in the cache
114 reinterpret_cast<const UChar*>(key.getText()), start, count,
122 size_t size = key.getSize() + value->getSize();
142 bool putOne = mCache.put(key, value);
145 "same key but it should not since we checked earlier!"
147 start, count, contextCount, String8(key.getText() + start, count).string());
158 String8(key
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp70 String8 key; local
72 err = reader->ReadEntityHeader(&key, &dataSize);
77 jstring keyStr = env->NewStringUTF(key.string());
140 s_keyField = env->GetFieldID(clazz, "key", "Ljava/lang/String;");
142 "Unable to find key field in android.app.backup.BackupDataInput.EntityHeader");
H A Dandroid_backup_BackupDataOutput.cpp46 writeEntityHeader_native(JNIEnv* env, jobject clazz, int w, jstring key, int dataSize) argument
51 const char* keyUTF = env->GetStringUTFChars(key, NULL);
57 env->ReleaseStringUTFChars(key, keyUTF);
H A Dandroid_os_SystemProperties.cpp34 const char* key; local
39 jniThrowNullPointerException(env, "key must not be null.");
43 key = env->GetStringUTFChars(keyJ, NULL);
45 len = property_get(key, buf, "");
54 env->ReleaseStringUTFChars(keyJ, key);
70 const char* key; local
76 jniThrowNullPointerException(env, "key must not be null.");
80 key = env->GetStringUTFChars(keyJ, NULL);
82 len = property_get(key, buf, "");
90 env->ReleaseStringUTFChars(keyJ, key);
100 const char* key; local
130 const char* key; local
166 const char* key; local
[all...]

Completed in 1200 milliseconds

1234567891011>>