Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 87) sorted by relevance

1234

/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java96 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()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java99 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/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DItem.java41 if (item.getId() == id) { in getItem()
58 public int getId() { in getId() method in Item
DMainActivity.java67 intent.putExtra(DetailActivity.EXTRA_PARAM_ID, item.getId()); in onItemClick()
107 return getItem(position).getId(); in getItemId()
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublisher.java109 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/
DShortcutListFragment.java105 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());
DPinShortcutConfirm.java54 description.setText("ID: " + mShortcutInfo.getId() + "\n" in onCreate()
65 switch (v.getId()) { in onClick()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DAddRssItem.java37 if(v.getId() == R.id.submit){
55 setResult(RESULT_CANCELED, (new Intent()).setAction("Canceled" + v.getId()));
DMyRssReader.java83 switch (item.getId()) { in onOptionsItemSelected()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemail.java34 public long getId(); in getId() method
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
DShortcutAdapter.java167 si.getId() + (si.isDynamic() ? " [dynamic]" : "") in bindView()
194 if (v.getId() == getLaunchId()) { in onClick()
196 } else if (v.getId() == getAction2Id()) { in onClick()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbSocket.java34 public int getId() { in getId() method in AdbSocket
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofence.java54 public String getId() { in getId() method in SimpleGeofence
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DEnableProfileActivity.java58 switch (view.getId()) { in onClick()
DSetupProfileFragment.java58 switch (view.getId()) { in onClick()
/development/samples/browseable/ActiveNotifications/src/com.example.android.activenotifications/
DActiveNotificationsFragment.java85 switch (v.getId()) { in onViewCreated()
188 if (notification.getId() == NOTIFICATION_GROUP_SUMMARY_ID) { in getNumberOfNotifications()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButtonBasicFragment.java56 switch (fabView.getId()){ in onCheckedChanged()
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DMainActivity.java46 switch (v.getId()) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarDisplayOptions.java85 switch (v.getId()) { in onClick()
155 switch (parent.getId()) { in onItemSelected()
/development/apps/Development/src/com/android/development/
DAccountsTester.java207 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/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java203 return node.getId(); in pickBestNodeId()
205 bestNodeId = node.getId(); in pickBestNodeId()
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/
DCustomTransitionFragment.java84 switch (v.getId()) { in onClick()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortWrapper.java55 sb.append("#" + mInfo.getId()); in updateString()
/development/samples/MultiWindow/src/com/example/android/multiwindow/
DLaunchingAdjacentActivity.java51 switch (v.getId()) { in onClick()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortWrapper.java55 sb.append("#" + mInfo.getId()); in updateString()

1234