Home
last modified time | relevance | path

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

12345

/development/cmds/monkey/
Dexample_script.txt22 key down dpad_down
23 key up dpad_down
24 key down dpad_down
25 key up dpad_down
26 key down dpad_center
27 key up dpad_center
29 key down b
30 key up b
31 key down i
32 key up i
[all …]
/development/tools/emulator/skins/WQVGA432/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/tools/emulator/skins/QVGA/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/tools/emulator/skins/WQVGA400/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/tools/emulator/skins/WVGA800/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/tools/emulator/skins/WVGA854/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/tools/emulator/skins/HVGA/
Dlayout111 image key.png
116 image key.png
121 image key.png
126 image key.png
131 image key.png
136 image key.png
141 image key.png
146 image key.png
151 image key.png
156 image key.png
[all …]
/development/testrunner/
Dam_instrument_parser.py86 key = ''
94 key = re_result.search(line).group(1).strip(string.whitespace)
95 if key.startswith('performance.'):
96 key = key[len('performance.'):]
99 result_dict[key] = float(val)
101 result_dict[key] = val
103 result_dict[key] = val
106 key = 'code'
108 result_dict[key] = val
111 key = 'INSTRUMENTATION_ABORTED'
[all …]
/development/vndk/tools/header-checker/src/repr/json/
Dconverter.cpp41 void JsonObject::Set(const std::string &key, bool value) { in Set() argument
42 SetOmissible(key, value, false); in Set()
46 void JsonObject::Set(const std::string &key, uint64_t value) { in Set() argument
47 SetOmissible<Json::UInt64>(key, value, 0); in Set()
51 void JsonObject::Set(const std::string &key, int64_t value) { in Set() argument
52 SetOmissible<Json::Int64>(key, value, 0); in Set()
56 void JsonObject::Set(const std::string &key, const std::string &value) { in Set() argument
57 SetOmissible<const std::string &>(key, value, ""); in Set()
61 void JsonObject::Set(const std::string &key, const JsonArray &value) { in Set() argument
62 SetOmissible(key, value, json_empty_array); in Set()
Dconverter.h46 void Set(const std::string &key, bool value);
49 void Set(const std::string &key, uint64_t value);
52 void Set(const std::string &key, int64_t value);
55 void Set(const std::string &key, const std::string &value);
58 void Set(const std::string &key, const JsonArray &value);
62 inline void SetOmissible(const std::string &key, T value, T omissible_value) { in SetOmissible() argument
64 (*this)[key] = value; in SetOmissible()
66 removeMember(key); in SetOmissible()
Dir_dumper.cpp294 std::string key; in AddLinkableMessageIR() local
299 key = "record_types"; in AddLinkableMessageIR()
303 key = "enum_types"; in AddLinkableMessageIR()
307 key = "pointer_types"; in AddLinkableMessageIR()
311 key = "qualified_types"; in AddLinkableMessageIR()
316 key = "array_types"; in AddLinkableMessageIR()
320 key = "lvalue_reference_types"; in AddLinkableMessageIR()
325 key = "rvalue_reference_types"; in AddLinkableMessageIR()
330 key = "builtin_types"; in AddLinkableMessageIR()
334 key = "function_types"; in AddLinkableMessageIR()
[all …]
Dir_reader.h41 bool GetBool(const std::string &key) const;
44 int64_t GetInt(const std::string &key) const;
47 uint64_t GetUint(const std::string &key) const;
50 std::string GetString(const std::string &key) const;
53 JsonObjectRef GetObject(const std::string &key) const;
56 JsonArrayRef<JsonObjectRef> GetObjects(const std::string &key) const;
58 JsonArrayRef<std::string> GetStrings(const std::string &key) const;
63 const Json::Value &Get(const std::string &key,
Dir_reader.cpp61 JsonObjectRef::Get(const std::string &key, const Json::Value &default_value, in Get() argument
63 if (!object_.isMember(key)) { in Get()
66 const Json::Value &value = object_[key]; in Get()
74 bool JsonObjectRef::GetBool(const std::string &key) const { in GetBool()
75 return Get(key, json_false, &Json::Value::isBool).asBool(); in GetBool()
78 int64_t JsonObjectRef::GetInt(const std::string &key) const { in GetInt()
79 return Get(key, json_0, &Json::Value::isIntegral).asInt64(); in GetInt()
82 uint64_t JsonObjectRef::GetUint(const std::string &key) const { in GetUint()
83 return Get(key, json_0, &Json::Value::isIntegral).asUInt64(); in GetUint()
86 std::string JsonObjectRef::GetString(const std::string &key) const { in GetString()
[all …]
/development/scripts/
Dcompare-installed-size.py82 for key in bin_sizes[idx]:
83 output.write("%s, %d\n" % (key, bin_sizes[idx][key]))
99 for key in file_sizes:
101 (key, file_sizes[key][0], file_sizes[key][1],
102 file_sizes[key][2],
103 int(file_sizes[key][2]) - int(file_sizes[key][1])))
/development/tools/repo_diff/service/repodiff/constants/
Dconfig.go7 func GetConfigVar(key string) string {
9 key += "_PROD"
11 key += "_DEV"
15 return os.Getenv(key)
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java374 String key = parts[1]; in readJournalLine() local
376 lruEntries.remove(key); in readJournalLine()
380 Entry entry = lruEntries.get(key); in readJournalLine()
382 entry = new Entry(key); in readJournalLine()
383 lruEntries.put(key, entry); in readJournalLine()
444 writer.write(DIRTY + ' ' + entry.key + '\n'); in rebuildJournal()
446 writer.write(CLEAN + ' ' + entry.key + entry.getLengths() + '\n'); in rebuildJournal()
473 public synchronized Snapshot get(String key) throws IOException { in get() argument
475 validateKey(key); in get()
476 Entry entry = lruEntries.get(key); in get()
[all …]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java67 Key key = new LatinKey(res, parent, x, y, parser); in createKeyFromXml() local
68 if (key.codes[0] == 10) { in createKeyFromXml()
69 mEnterKey = key; in createKeyFromXml()
70 } else if (key.codes[0] == ' ') { in createKeyFromXml()
71 mSpaceKey = key; in createKeyFromXml()
72 } else if (key.codes[0] == Keyboard.KEYCODE_MODE_CHANGE) { in createKeyFromXml()
73 mModeChangeKey = key; in createKeyFromXml()
75 } else if (key.codes[0] == LatinKeyboardView.KEYCODE_LANGUAGE_SWITCH) { in createKeyFromXml()
76 mLanguageSwitchKey = key; in createKeyFromXml()
79 return key; in createKeyFromXml()
DLatinKeyboardView.java41 protected boolean onLongPress(Key key) { in onLongPress() argument
42 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { in onLongPress()
46 return super.onLongPress(key); in onLongPress()
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java126 String key = line.substring(0, position); in loadFromFile() local
128 values.put(key, value); in loadFromFile()
129 Log.d(TAG, key + "=" + value); in loadFromFile()
142 for (String key : keys) { in gatherAdminExtras()
143 if (key.startsWith("android.app.extra")) { in gatherAdminExtras()
146 props.put(key, values.get(key)); in gatherAdminExtras()
147 values.remove(key); in gatherAdminExtras()
187 private static <Key, Value> void putIfMissing(HashMap<Key, Value> map, Key key, Value value) { in putIfMissing() argument
188 if (!map.containsKey(key)) { in putIfMissing()
189 map.put(key, value); in putIfMissing()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java208 String key = (String) v.getTag(); in onClick() local
209 removeItem(key); in onClick()
216 public void onItemAdded(String key, String value) { in onItemAdded() argument
217 key = TextUtils.replace(key, in onItemAdded()
230 items.put(key, value); in onItemAdded()
231 insertItemRow(LayoutInflater.from(getActivity()), key, value); in onItemAdded() local
247 String key = restriction.getKey(); in loadRestrictions() local
248 if (RESTRICTION_KEY_SAY_HELLO.equals(key)) { in loadRestrictions()
251 } else if (RESTRICTION_KEY_MESSAGE.equals(key)) { in loadRestrictions()
254 } else if (RESTRICTION_KEY_NUMBER.equals(key)) { in loadRestrictions()
[all …]
DItemAddFragment.java37 void onItemAdded(String key, String value); in onItemAdded() argument
67 mEditKey = (EditText) view.findViewById(R.id.key); in onViewCreated()
84 String key = mEditKey.getText().toString(); in addItem() local
85 if (TextUtils.isEmpty(key)) { in addItem()
95 mListener.onItemAdded(key, value); in addItem()
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_load.py20 for key, value in sorted(json.loads(serialized_env_vars).items()):
21 if key in existing_contents:
23 f.write("export %s=\"%s\"\n" % (key, value))
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java52 for (String key : mStatusTracker.keySet()) { in printStatus()
53 sbStatus.insert(0,key + ": " + mStatusTracker.getStatus(key) + "\n"); in printStatus()
/development/apps/Development/src/com/android/development/
DColumnData.java25 key = k; in ColumnData()
28 public String key; field in ColumnData
/development/tools/repo_diff/service/repodiff/interactors/
Dcommon.go9 func (t TypeMap) getWithDefault(key string, fallback cst.ProjectType) cst.ProjectType {
10 val, ok := t[key]

12345