/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 96 seenKeys.add(shortcut.getId()); in getShortcuts() 99 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts() 101 seenKeys.add(shortcut.getId()); in getShortcuts() 105 if (!seenKeys.contains(shortcut.getId())) { in getShortcuts() 107 seenKeys.add(shortcut.getId()); in getShortcuts() 141 Log.i(TAG, "Refreshing shortcut: " + shortcut.getId()); in refreshShortcuts() 144 mContext, shortcut.getId()); in refreshShortcuts() 220 mShortcutManager.removeDynamicShortcuts(Arrays.asList(shortcut.getId())); in removeShortcut() 224 mShortcutManager.disableShortcuts(Arrays.asList(shortcut.getId())); in disableShortcut() 228 mShortcutManager.enableShortcuts(Arrays.asList(shortcut.getId())); in enableShortcut()
|
D | Main.java | 187 switch (v.getId()) { in onClick() 202 mHelper.requestPinShortcut(shortcut.getId()); in onClick()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 99 seenKeys.add(shortcut.getId()); in getShortcuts() 103 if (!shortcut.isImmutable() && !seenKeys.contains(shortcut.getId())) { in getShortcuts() 105 seenKeys.add(shortcut.getId()); in getShortcuts() 139 Log.i(TAG, "Refreshing shortcut: " + shortcut.getId()); in refreshShortcuts() 142 mContext, shortcut.getId()); in refreshShortcuts() 213 mShortcutManager.removeDynamicShortcuts(Arrays.asList(shortcut.getId())); in removeShortcut() 217 mShortcutManager.disableShortcuts(Arrays.asList(shortcut.getId())); in disableShortcut() 221 mShortcutManager.enableShortcuts(Arrays.asList(shortcut.getId())); in enableShortcut()
|
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutPublisher.java | 109 if (!map.containsKey(si.getId())) { in getAllShortcuts() 110 map.put(si.getId(), si); in getAllShortcuts() 115 if (!map.containsKey(si.getId())) { in getAllShortcuts() 116 map.put(si.getId(), si); in getAllShortcuts() 121 if (!map.containsKey(si.getId())) { in getAllShortcuts() 122 map.put(si.getId(), si); in getAllShortcuts() 143 ret = s1.getId().compareTo(s2.getId()); 284 if (SETUP_SHORTCUT_ID.equals(si.getId())) continue; in onUpdatePressed() 287 updateList.add(addRandomIntents(this, new ShortcutInfo.Builder(this, si.getId())) in onUpdatePressed() 299 mShortcutManager.removeDynamicShortcuts(Arrays.asList(si.getId())); in deleteDynamic()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutListFragment.java | 105 pinned.add(si.getId()); in togglePin() 108 pinned.remove(selected.getId()); in togglePin() 110 pinned.add(selected.getId()); in togglePin() 120 mLauncherApps.startShortcut(si.getPackage(), si.getId(), null, null, in launch() 184 ret = s1.getId().compareTo(s2.getId());
|
D | PinShortcutConfirm.java | 54 description.setText("ID: " + mShortcutInfo.getId() + "\n" in onCreate() 65 switch (v.getId()) { in onClick()
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | Item.java | 41 if (item.getId() == id) { in getItem() 58 public int getId() { in getId() method in Item
|
D | MainActivity.java | 67 intent.putExtra(DetailActivity.EXTRA_PARAM_ID, item.getId()); in onItemClick() 107 return getItem(position).getId(); in getItemId()
|
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/ |
D | ShortcutAdapter.java | 167 si.getId() + (si.isDynamic() ? " [dynamic]" : "") in bindView() 194 if (v.getId() == getLaunchId()) { in onClick() 196 } else if (v.getId() == getAction2Id()) { in onClick()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | AddRssItem.java | 37 if(v.getId() == R.id.submit){ 55 setResult(RESULT_CANCELED, (new Intent()).setAction("Canceled" + v.getId()));
|
D | MyRssReader.java | 83 switch (item.getId()) { in onOptionsItemSelected()
|
/development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/ |
D | ActiveNotificationsFragment.java | 85 switch (v.getId()) { in onViewCreated() 188 if (notification.getId() == NOTIFICATION_GROUP_SUMMARY_ID) { in getNumberOfNotifications()
|
/development/apps/Development/src/com/android/development/ |
D | AccountsTester.java | 207 if (R.id.accounts_tester_get_all_accounts == v.getId()) { in onClick() 209 } else if (R.id.accounts_tester_get_accounts_by_type == v.getId()) { in onClick() 212 } else if (R.id.accounts_tester_add_account == v.getId()) { in onClick() 227 } else if (R.id.accounts_tester_edit_properties == v.getId()) { in onClick() 232 } else if (R.id.accounts_tester_get_auth_token_by_type_and_feature == v.getId()) { in onClick()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | Voicemail.java | 34 public long getId(); in getId() method
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarDisplayOptions.java | 85 switch (v.getId()) { in onClick() 155 switch (parent.getId()) { in onItemSelected()
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestWearService.java | 203 return node.getId(); in pickBestNodeId() 205 bestNodeId = node.getId(); in pickBestNodeId()
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbSocket.java | 34 public int getId() { in getId() method in AdbSocket
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | SimpleGeofence.java | 54 public String getId() { in getId() method in SimpleGeofence
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | EnableProfileActivity.java | 58 switch (view.getId()) { in onClick()
|
D | SetupProfileFragment.java | 58 switch (view.getId()) { in onClick()
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | MainActivity.java | 46 switch (v.getId()) {
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
D | FloatingActionButtonBasicFragment.java | 56 switch (fabView.getId()){ in onCheckedChanged()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerFragment.java | 76 switch (buttonView.getId()) { 98 switch (v.getId()) {
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Transitions.java | 61 switch (view.getId()) { in selectScene()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiPortWrapper.java | 55 sb.append("#" + mInfo.getId()); in updateString()
|