Searched refs:shortcut (Results 1 – 7 of 7) sorted by relevance
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 94 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 …]
|
D | Main.java | 157 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/ |
D | ShortcutHelper.java | 96 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 …]
|
D | Main.java | 129 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/ |
D | TableLayout8.java | 61 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()
|
D | TableLayout7.java | 70 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/ |
D | README.NETWORK.txt | 87 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
|