Home
last modified time | relevance | path

Searched refs:shortcut (Results 1 – 8 of 8) sorted by relevance

/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java94 for (ShortcutInfo shortcut : mShortcutManager.getManifestShortcuts()) { in getShortcuts()
95 ret.add(shortcut); in getShortcuts()
96 seenKeys.add(shortcut.getId()); in getShortcuts()
98 for (ShortcutInfo shortcut : mShortcutManager.getDynamicShortcuts()) { in getShortcuts()
99 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts()
100 ret.add(shortcut); in getShortcuts()
101 seenKeys.add(shortcut.getId()); in getShortcuts()
104 for (ShortcutInfo shortcut : mShortcutManager.getPinnedShortcuts()) { in getShortcuts()
105 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts()
106 ret.add(shortcut); in getShortcuts()
[all …]
DMain.java157 protected void onPostExecute(ShortcutInfo shortcut) { in addUriAsync() argument
159 mShortcutManager.createShortcutResultIntent(shortcut)); in addUriAsync()
185 final ShortcutInfo shortcut = (ShortcutInfo) ((View) v.getParent()).getTag(); in onClick() local
189 if (shortcut.isEnabled()) { in onClick()
190 mHelper.disableShortcut(shortcut); in onClick()
192 mHelper.enableShortcut(shortcut); in onClick()
197 mHelper.removeShortcut(shortcut); in onClick()
202 mHelper.requestPinShortcut(shortcut.getId()); in onClick()
210 private String getType(ShortcutInfo shortcut) { in getType() argument
213 if (shortcut.isDeclaredInManifest()) { in getType()
[all …]
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java96 for (ShortcutInfo shortcut : mShortcutManager.getDynamicShortcuts()) { in getShortcuts()
97 if (!shortcut.isImmutable()) { in getShortcuts()
98 ret.add(shortcut); in getShortcuts()
99 seenKeys.add(shortcut.getId()); in getShortcuts()
102 for (ShortcutInfo shortcut : mShortcutManager.getPinnedShortcuts()) { in getShortcuts()
103 if (!shortcut.isImmutable() && !seenKeys.contains(shortcut.getId())) { in getShortcuts()
104 ret.add(shortcut); in getShortcuts()
105 seenKeys.add(shortcut.getId()); in getShortcuts()
129 for (ShortcutInfo shortcut : getShortcuts()) { in refreshShortcuts()
130 if (shortcut.isImmutable()) { in refreshShortcuts()
[all …]
DMain.java129 final ShortcutInfo shortcut = (ShortcutInfo) ((View) v.getParent()).getTag(); in onClick() local
133 if (shortcut.isEnabled()) { in onClick()
134 mHelper.disableShortcut(shortcut); in onClick()
136 mHelper.enableShortcut(shortcut); in onClick()
141 mHelper.removeShortcut(shortcut); in onClick()
149 private String getType(ShortcutInfo shortcut) { in getType() argument
152 if (shortcut.isDynamic()) { in getType()
157 if (shortcut.isPinned()) { in getType()
162 if (!shortcut.isEnabled()) { in getType()
229 public void bindView(View view, int position, ShortcutInfo shortcut) { in bindView() argument
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DTableLayout8.java61 TextView shortcut = new TextView(this); in appendRow() local
62 shortcut.setText(R.string.table_layout_8_ctrlq); in appendRow()
63 shortcut.setPadding(3, 3, 3, 3); in appendRow()
64 shortcut.setGravity(Gravity.RIGHT | Gravity.TOP); in appendRow()
67 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
DTableLayout7.java70 TextView shortcut = new TextView(this); in appendRow() local
71 shortcut.setText(R.string.table_layout_7_ctrlq); in appendRow()
72 shortcut.setPadding(3, 3, 3, 3); in appendRow()
73 shortcut.setGravity(Gravity.RIGHT | Gravity.TOP); in appendRow()
76 row.addView(shortcut, new TableRow.LayoutParams()); in appendRow()
/development/cmds/monkey/
DREADME.NETWORK.txt87 The tap command is a shortcut for the touch command. It will
92 The press command is a shortcut for the key command. The keycode
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv972 …tform/cts,fake_pxW0RY3ETGK9EuPCcTMP7w@fakeemail.com,Add tests for MenuItem get/set shortcut methods
1174 …fecf2a3c4490fcb68463,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Fix shortcut backup CTS
1244 …9937006e6d452b3b4deeef4c,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Update shortcut CTS
1691 …af166290,platform/cts,fake_pxW0RY3ETGK9EuPCcTMP7w@fakeemail.com,CTS for MenuItem shortcut modifiers
2117 …41a55bb4234301cc7dad,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Fix shortcut backup CTS
2389 …a9863d3198f03dbba1,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Fix shortcut CTS for fugu
2472 …HCQ42NYhfobk58Bw@fakeemail.com,"CTS verifier: ""inline reply must reset shortcut manager rate-limi…
3679 …/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,DO NOT MERGE CTS for the shortcut manager bug 67931…
3728 …258d,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Backporting shortcut manager CTS to mr1
3797 …4fd557cae2f,platform/cts,fake_WYa7hmHCQ42NYhfobk58Bw@fakeemail.com,Skip shortcut backup CTS when d…
[all …]