Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/frameworks/base/data/keyboards/
DGeneric.kl16 # Generic key layout file for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key layout to support a specific keyboard; instead, create
20 # a new key layout file with the required keyboard configuration.
23 key 1 ESCAPE
24 key 2 1
25 key 3 2
26 key 4 3
27 key 5 4
28 key 6 5
29 key 7 6
[all …]
DVendor_05ac_Product_0239.kl20 # function key.
24 key 1 ESCAPE
25 key 2 1
26 key 3 2
27 key 4 3
28 key 5 4
29 key 6 5
30 key 7 6
31 key 8 7
32 key 9 8
[all …]
DVendor_22b8_Product_093d.kl19 key 1 BACK
20 key 2 1
21 key 3 2
22 key 4 3
23 key 5 4
24 key 6 5
25 key 7 6
26 key 8 7
27 key 9 8
28 key 10 9
[all …]
DVendor_046d_Product_c532.kl19 # - The GRAVE key is emulated by the keyboard.
27 key 1 ESCAPE
28 key 2 1
29 key 3 2
30 key 4 3
31 key 5 4
32 key 6 5
33 key 7 6
34 key 8 7
35 key 9 8
[all …]
Dqwerty.kl22 key 399 GRAVE
23 key 2 1
24 key 3 2
25 key 4 3
26 key 5 4
27 key 6 5
28 key 7 6
29 key 8 7
30 key 9 8
31 key 10 9
[all …]
DGeneric.kcm16 # Generic key character map for full alphabetic US English PC style external keyboards.
19 # Do not edit the generic key character map to support a specific keyboard; instead, create
20 # a new key character map file with the required keyboard configuration.
27 key A {
34 key B {
41 key C {
50 key D {
57 key E {
65 key F {
72 key G {
[all …]
DVirtual.kcm24 key A {
31 key B {
38 key C {
47 key D {
54 key E {
62 key F {
69 key G {
76 key H {
83 key I {
91 key J {
[all …]
Dqwerty2.kcm21 key A {
30 key B {
39 key C {
48 key D {
57 key E {
66 key F {
75 key G {
84 key H {
93 key I {
102 key J {
[all …]
Dqwerty.kcm24 key A {
33 key B {
42 key C {
51 key D {
60 key E {
69 key F {
78 key G {
87 key H {
96 key I {
105 key J {
[all …]
DVendor_046d_Product_c299.kl20 key 0x121 BUTTON_A
21 key 0x123 BUTTON_B
22 key 0x120 BUTTON_X
23 key 0x122 BUTTON_Y
26 key 0x12b BUTTON_1
27 key 0x128 BUTTON_2
28 key 0x129 BUTTON_3
29 key 0x12a BUTTON_4
32 key 0x12c BUTTON_5
33 key 0x12d BUTTON_6
[all …]
DVendor_054c_Product_0268.kl19 key 0x124 DPAD_UP
20 key 0x125 DPAD_RIGHT
21 key 0x126 DPAD_DOWN
22 key 0x127 DPAD_LEFT
24 key 0x120 BUTTON_SELECT
25 key 0x123 BUTTON_START
26 key 0x12f BUTTON_A
27 key 0x12c BUTTON_B
28 key 0x12e BUTTON_X
29 key 0x12d BUTTON_Y
[all …]
/frameworks/base/core/java/android/os/
DBundle.java140 public static Bundle forPair(String key, String value) { in forPair() argument
143 b.putString(key, value); in forPair()
263 public boolean containsKey(String key) { in containsKey() argument
265 return mMap.containsKey(key); in containsKey()
274 public Object get(String key) { in get() argument
276 return mMap.get(key); in get()
284 public void remove(String key) { in remove() argument
286 mMap.remove(key); in remove()
387 public void putBoolean(String key, boolean value) { in putBoolean() argument
389 mMap.put(key, value); in putBoolean()
[all …]
DSystemProperties.java31 private static native String native_get(String key); in native_get() argument
32 private static native String native_get(String key, String def); in native_get() argument
33 private static native int native_get_int(String key, int def); in native_get_int() argument
34 private static native long native_get_long(String key, long def); in native_get_long() argument
35 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() argument
36 private static native void native_set(String key, String def); in native_set() argument
43 public static String get(String key) { in get() argument
44 if (key.length() > PROP_NAME_MAX) { in get()
47 return native_get(key); in get()
55 public static String get(String key, String def) { in get() argument
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java95 public void put(String key, String value) { in put() argument
96 mValues.put(key, value); in put()
114 public void put(String key, Byte value) { in put() argument
115 mValues.put(key, value); in put()
124 public void put(String key, Short value) { in put() argument
125 mValues.put(key, value); in put()
134 public void put(String key, Integer value) { in put() argument
135 mValues.put(key, value); in put()
144 public void put(String key, Long value) { in put() argument
145 mValues.put(key, value); in put()
[all …]
DSharedPreferences.java58 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
78 Editor putString(String key, String value); in putString() argument
89 Editor putStringSet(String key, Set<String> values); in putStringSet() argument
101 Editor putInt(String key, int value); in putInt() argument
113 Editor putLong(String key, long value); in putLong() argument
125 Editor putFloat(String key, float value); in putFloat() argument
137 Editor putBoolean(String key, boolean value); in putBoolean() argument
153 Editor remove(String key); in remove() argument
248 String getString(String key, String defValue); in getString() argument
262 Set<String> getStringSet(String key, Set<String> defValues); in getStringSet() argument
[all …]
/frameworks/base/core/java/android/util/
DLruCache.java90 public final V get(K key) { in get() argument
91 if (key == null) { in get()
97 mapValue = map.get(key); in get()
112 V createdValue = create(key); in get()
119 mapValue = map.put(key, createdValue); in get()
123 map.put(key, mapValue); in get()
125 size += safeSizeOf(key, createdValue); in get()
130 entryRemoved(false, key, createdValue, mapValue); in get()
144 public final V put(K key, V value) { in put() argument
145 if (key == null || value == null) { in put()
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DLruCache.java61 public final V get(K key) { in get() argument
62 if (key == null) { in get()
68 mapValue = map.get(key); in get()
83 V createdValue = create(key); in get()
90 mapValue = map.put(key, createdValue); in get()
94 map.put(key, mapValue); in get()
96 size += safeSizeOf(key, createdValue); in get()
101 entryRemoved(false, key, createdValue, mapValue); in get()
115 public final V put(K key, V value) { in put() argument
116 if (key == null || value == null) { in put()
[all …]
/frameworks/compile/libbcc/runtime/make/
Dlib_info.mk17 AvailableArchs := $(sort $(foreach key,$(SubDirKeys),\
18 $($(key).OnlyArchs)))
20 AvailableFunctions := $(sort $(foreach key,$(SubDirKeys),\
21 $(basename $($(key).ObjNames))))
24 $(foreach key,$(SubDirKeys),\
25 $(if $(call strneq,,$(strip $($(key).OnlyArchs) $($(key).OnlyConfigs))),,\
26 $(basename $($(key).ObjNames)))))
29 $(foreach key,$(SubDirKeys),\
30 $(if $(call strneq,,$($(key).OnlyConfigs)),,\
31 $(foreach arch,$($(key).OnlyArchs),\
[all …]
Dlib_util.mk30 $(foreach key,$(AvailableIn.$(3)),\
31 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\
32 $(call contains,$($(key).OnlyConfigs),$(1)),\
33 $(call contains,$($(key).OnlyArchs),$(2))),$(key),)))
35 $(foreach key,$(AvailableIn.$(3)),\
36 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\
37 $(call contains,$($(key).OnlyConfigs),$(1))),$(key),)))
39 $(foreach key,$(AvailableIn.$(3)),\
40 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\
41 $(call contains,$($(key).OnlyArchs),$(2))),$(key),)))
[all …]
/frameworks/base/libs/hwui/
DProgramCache.h213 programid key() const { in key() function
214 programid key = 0; in key() local
215 if (hasTexture) key |= PROGRAM_KEY_TEXTURE; in key()
216 if (hasAlpha8Texture) key |= PROGRAM_KEY_A8_TEXTURE; in key()
218 key |= PROGRAM_KEY_BITMAP; in key()
220 key |= PROGRAM_KEY_BITMAP_NPOT; in key()
221 key |= getEnumForWrap(bitmapWrapS) << PROGRAM_BITMAP_WRAPS_SHIFT; in key()
222 key |= getEnumForWrap(bitmapWrapT) << PROGRAM_BITMAP_WRAPT_SHIFT; in key()
225 if (hasGradient) key |= PROGRAM_KEY_GRADIENT; in key()
226 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; in key()
[all …]
/frameworks/base/media/libmedia/
DAudioParameter.cpp43 String8 key = String8(pair, eqIdx); in AudioParameter() local
50 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
51 mParameters.add(key, value); in AudioParameter()
53 mParameters.replaceValueFor(key, value); in AudioParameter()
83 status_t AudioParameter::add(const String8& key, const String8& value) in add() argument
85 if (mParameters.indexOfKey(key) < 0) { in add()
86 mParameters.add(key, value); in add()
89 mParameters.replaceValueFor(key, value); in add()
94 status_t AudioParameter::addInt(const String8& key, const int value) in addInt() argument
99 return add(key, str8); in addInt()
[all …]
/frameworks/base/media/libstagefright/
DMetaData.cpp41 bool MetaData::remove(uint32_t key) { in remove() argument
42 ssize_t i = mItems.indexOfKey(key); in remove()
53 bool MetaData::setCString(uint32_t key, const char *value) { in setCString() argument
54 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); in setCString()
57 bool MetaData::setInt32(uint32_t key, int32_t value) { in setInt32() argument
58 return setData(key, TYPE_INT32, &value, sizeof(value)); in setInt32()
61 bool MetaData::setInt64(uint32_t key, int64_t value) { in setInt64() argument
62 return setData(key, TYPE_INT64, &value, sizeof(value)); in setInt64()
65 bool MetaData::setFloat(uint32_t key, float value) { in setFloat() argument
66 return setData(key, TYPE_FLOAT, &value, sizeof(value)); in setFloat()
[all …]
/frameworks/base/services/java/com/android/server/am/
DPendingIntentRecord.java34 final Key key; field in PendingIntentRecord
175 key = _k; in PendingIntentRecord()
193 if ((key.flags&PendingIntent.FLAG_ONE_SHOT) != 0) { in sendInner()
197 Intent finalIntent = key.requestIntent != null in sendInner()
198 ? new Intent(key.requestIntent) : new Intent(); in sendInner()
200 int changes = finalIntent.fillIn(intent, key.flags); in sendInner()
202 resolvedType = key.requestResolvedType; in sendInner()
205 resolvedType = key.requestResolvedType; in sendInner()
214 switch (key.type) { in sendInner()
217 if (key.allIntents != null && key.allIntents.length > 1) { in sendInner()
[all …]
/frameworks/base/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h50 bool addValue(int key, TValue value) { in addValue() argument
52 if (!isCreatedInternal(key)) { in addValue()
53 map.add(key, value); in addValue()
66 TValue getValue(int key) { in getValue() argument
68 return getValueInternal(key); in getValue()
104 void removeValue(int key) { in removeValue() argument
106 deleteValue(getValueInternal(key)); in removeValue()
107 map.removeItem(key); in removeValue()
117 bool isCreated(int key) { in isCreated() argument
119 return isCreatedInternal(key); in isCreated()
[all …]
/frameworks/base/core/jni/
Dandroid_os_SystemProperties.cpp30 const char* key; in SystemProperties_getSS() local
39 key = env->GetStringUTFChars(keyJ, NULL); in SystemProperties_getSS()
41 len = property_get(key, buf, ""); in SystemProperties_getSS()
50 env->ReleaseStringUTFChars(keyJ, key); in SystemProperties_getSS()
66 const char* key; in SystemProperties_get_int() local
75 key = env->GetStringUTFChars(keyJ, NULL); in SystemProperties_get_int()
77 len = property_get(key, buf, ""); in SystemProperties_get_int()
84 env->ReleaseStringUTFChars(keyJ, key); in SystemProperties_get_int()
94 const char* key; in SystemProperties_get_long() local
103 key = env->GetStringUTFChars(keyJ, NULL); in SystemProperties_get_long()
[all …]

12345678910>>...18