/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 357 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { argument 359 device->configuration.addProperty(key, value); 512 const KeyInfo* key = getKey(device, scanCode, usageCode); local 513 if (key) { 515 *outKeycode = key->keyCode; 518 *outFlags = key->flags; 1252 << "Ignored device should return unknown key code state."; 1261 << "Ignored device should never mark any key codes."; 1262 ASSERT_EQ(0, flags[0]) << "Flag for unsupported key should be unchanged."; 1263 ASSERT_EQ(1, flags[1]) << "Flag for unsupported key shoul 1397 addConfigurationProperty(const char* key, const char* value) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 1658 ResourcesKey key = new ResourcesKey(resDir, 1668 WeakReference<Resources> wr = mActiveResources.get(key); 1690 //Slog.i(TAG, "Resource: key=" + key + ", display metrics=" + metrics); 1694 if (!isDefaultDisplay || key.mOverrideConfiguration != null) { 1699 if (key.mOverrideConfiguration != null) { 1700 config.updateFrom(key.mOverrideConfiguration); 1713 WeakReference<Resources> wr = mActiveResources.get(key); 1723 mActiveResources.put(key, new WeakReference<Resources>(r)); 4545 final ProviderKey key 4972 getIntCoreSetting(String key, int defaultValue) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 1183 // 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
|
H A D | WebViewClassic.java | 150 * 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...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 235 static status_t idmapLookup(const uint32_t* map, size_t sizeBytes, uint32_t key, uint32_t* outValue) argument 244 const uint32_t type = Res_GETTYPE(key) + 1; // add one, idmap stores "public" type id 245 const uint32_t entry = Res_GETENTRY(key); 701 // string key to UTF-8. 2232 res.append("12key"); 2514 ALOGE("Style contains key with bad package: 0x%08x\n", attrRes); 2534 ALOGE("Style contains key with bad type: 0x%08x\n", attrRes); 2552 ALOGE("Style contains key with bad entry: 0x%08x\n", attrRes); 2981 dtohl(entry->key.index), &outName->nameLen); 3734 i, ei, dtohl(entry->key [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 3403 onNewPlaybackInfoForRcc(msg.arg1 /* rccId */, msg.arg2 /* key */, 4296 // sanity check on the incoming key event 4298 Log.e(TAG, "not dispatching invalid media key event " + keyEvent); 4322 * @param keyEvent a non-null KeyEvent whose key code is one of the supported media buttons 4323 * @param needWakeLock true if a PARTIAL_WAKE_LOCK needs to be held while this key event 4346 * @param keyEvent a non-null KeyEvent whose key code is one of the supported media buttons 4347 * @param needWakeLock true if a PARTIAL_WAKE_LOCK needs to be held while this key event 4386 * The different actions performed in response to a voice button key event. 4397 * Filter key events that may be used for voice-based interactions 4398 * @param keyEvent a non-null KeyEvent whose key cod 5431 onNewPlaybackInfoForRcc(int rccId, int key, int value) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 1473 int key = EffectChain::kKeyForSuspendAll; local 1475 key = type->timeLow; 1477 index = sessionEffects.indexOfKey(key); 1488 sessionEffects.add(key, desc); 1489 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key); 1498 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key); 9580 // use effect type UUID timelow as key as there is no real risk of identical
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 2876 private static final int getContinuationPoint(final String[] keys, final String key) { argument 2878 if (key == null) { 2881 final int insertPoint = Arrays.binarySearch(keys, key); 5809 * If the public key of the package's signature does not match 5810 * our expected public key, then this is a different package and 5827 + " does not have the expected public key; ignoring"); 8046 * The key steps in deleting a package are
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 215 * <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...] |