Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 120) 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/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/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/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/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/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/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/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/ndk/platforms/android-3/include/linux/
Dlockdep.h24 #define lockdep_init_map(lock, name, key) do { (void)(key); } while (0) argument
25 #define lockdep_set_class(lock, key) do { (void)(key); } while (0) argument
26 #define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0) argument
/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.java237 String key = (String) v.getTag(); in onClick() local
238 removeItem(key); in onClick()
245 public void onItemAdded(String key, String value) { in onItemAdded() argument
246 key = TextUtils.replace(key, in onItemAdded()
259 items.put(key, value); in onItemAdded()
260 insertItemRow(LayoutInflater.from(getActivity()), key, value); in onItemAdded() local
276 String key = restriction.getKey(); in loadRestrictions() local
277 if (RESTRICTION_KEY_SAY_HELLO.equals(key)) { in loadRestrictions()
280 } else if (RESTRICTION_KEY_MESSAGE.equals(key)) { in loadRestrictions()
283 } 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/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java119 String key = entry.getKey(); in resolveRestrictions() local
120 Log.d(TAG, "key: " + key); in resolveRestrictions()
121 if (key.equals(KEY_CAN_SAY_HELLO)) { in resolveRestrictions()
123 } else if (key.equals(KEY_MESSAGE)) { in resolveRestrictions()
125 } else if (key.equals(KEY_NUMBER)) { in resolveRestrictions()
127 } else if (key.equals(KEY_RANK)) { in resolveRestrictions()
129 } else if (key.equals(KEY_APPROVALS)) { in resolveRestrictions()
131 } else if (key.equals(KEY_PROFILE)) { in resolveRestrictions()
133 } else if (key.equals(KEY_ITEMS)) { in resolveRestrictions()
205 String key = profileEntry.getKey(); in updateProfile() local
[all …]
/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/samples/BackupRestore/src/com/example/android/backuprestore/
DMultiRecordExampleAgent.java146 void writeBackupEntity(BackupDataOutput data, ByteArrayOutputStream bufStream, String key) in writeBackupEntity() argument
149 data.writeEntityHeader(key, buf.length); in writeBackupEntity()
166 String key = data.getKey(); in onRestore() local
178 if (FILLING_KEY.equals(key)) { in onRestore()
180 } else if (MAYO_KEY.equals(key)) { in onRestore()
182 } else if (TOMATO_KEY.equals(key)) { in onRestore()
/development/tools/idegen/src/com/android/idegen/
DMakeFileParser.java61 public Iterable<String> getValues(String key) {
62 String str = values.get(key);
131 String key = arr[0].trim(); in arr[0].trim()
136 appendValue(key, value);
257 private void appendValue(String key, String newValue) {
258 String value = values.get(key);
260 values.put(key, newValue);
262 values.put(key, value + VALUE_DELIMITER + newValue);
/development/apps/Development/src/com/android/development/
DColumnData.java25 key = k; in ColumnData()
28 public String key; field in ColumnData
DInstrumentationList.java178 for (String key : results.keySet()) {
180 "INSTRUMENTATION_STATUS_RESULT: " + key + "=" + results.get(key));
188 for (String key : results.keySet()) {
190 "INSTRUMENTATION_RESULT: " + key + "=" + results.get(key));
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DRemoteControlClientCompat.java194 public MetadataEditorCompat putString(int key, String value) { in putString() argument
197 mPutStringMethod.invoke(mActualMetadataEditor, key, value); in putString()
215 public MetadataEditorCompat putBitmap(int key, Bitmap bitmap) { in putBitmap() argument
218 mPutBitmapMethod.invoke(mActualMetadataEditor, key, bitmap); in putBitmap()
241 public MetadataEditorCompat putLong(int key, long value) { in putLong() argument
244 mPutLongMethod.invoke(mActualMetadataEditor, key, value); in putLong()
/development/ndk/platforms/android-21/include/linux/
Dagpgart.h81 int key; member
89 int key; member
94 int key; member
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DAdvancedPreferences.java86 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
88 if (key.equals(KEY_MY_PREFERENCE)) { in onSharedPreferenceChanged()
90 + sharedPreferences.getInt(key, 0), Toast.LENGTH_SHORT).show(); in onSharedPreferenceChanged()

12345