Searched refs:item (Results 201 - 225 of 549) sorted by relevance

1234567891011>>

/packages/services/Telephony/src/com/android/phone/
H A DSimContacts.java287 MenuItem item = menu.findItem(MENU_IMPORT_ALL);
288 if (item != null) {
289 item.setVisible(mCursor != null && mCursor.getCount() > 0);
295 public boolean onOptionsItemSelected(MenuItem item) { argument
296 switch (item.getItemId()) {
325 return super.onOptionsItemSelected(item);
329 public boolean onContextItemSelected(MenuItem item) { argument
330 switch (item.getItemId()) {
332 ContextMenu.ContextMenuInfo menuInfo = item.getMenuInfo();
339 return super.onContextItemSelected(item);
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetDataLoader.java239 public MediaSet item; field in class:AlbumSetDataLoader.UpdateInfo
298 long itemVersion = info.item.getDataVersion();
301 mData[pos] = info.item;
371 info.item = mSource.getSubMediaSet(info.index);
372 if (info.item == null) continue;
373 info.cover = info.item.getCoverMediaItem();
374 info.totalCount = info.item.getTotalMediaItemCount();
H A DPhotoPage.java106 public static final String KEY_MEDIA_ITEM_PATH = "media-item-path";
154 // This is the original mSetPathString before adding the camera preview item.
178 // The item that is deleted (but it can still be undeleted before commiting)
180 private boolean mDeleteIsFocus; // whether the deleted item was in focus
418 // Don't display "empty album" action item for capture intents.
431 mSetPathString = "/combo/item/{" + screenNailSetPath +
437 mSetPathString = "/combo/item/{" + FilterSource.FILTER_CAMERA_SHORTCUT +
479 public void onPhotoChanged(int index, Path item) {
505 if (item != null) {
733 // If by swiping or deletion the user ends up on an action item
1009 onItemSelected(MenuItem item) argument
1523 getMediaTypeString(MediaItem item) argument
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsCategory.java305 AppOpEntry item = getItem(position);
307 item.getAppEntry().getIcon());
308 ((TextView)view.findViewById(R.id.app_name)).setText(item.getAppEntry().getLabel());
311 item.getTimeText(mResources, false));
314 item.getPrimaryOpMode() == AppOpsManager.MODE_ALLOWED);
316 ((TextView) view.findViewById(R.id.op_name)).setText(item.getSummaryText(mState));
318 item.getTimeText(mResources, false));
340 // We have a menu item to show in action bar.
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp_controller.cpp368 // Inspect if the first element is a folder/item or player listing. They are
387 const btrc_folder_items_t* item = &(folder_items[i]); local
388 ALOGV("%s item type %d", __func__, item->item_type);
389 switch (item->item_type) {
394 sCallbackEnv->NewStringUTF((const char*)item->media.name));
409 (jbyte*)item->media.uid);
414 sCallbackEnv->NewIntArray(item->media.num_attrs));
422 item->media.num_attrs,
429 for (int j = 0; j < item
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java1444 // First we check if we already know the exact location where we want to add this item.
1529 private void prepareAppWidget(AppWidgetHostView hostView, LauncherAppWidgetInfo item) { argument
1530 hostView.setTag(item);
1531 item.onBindAppWidget(this, hostView);
2061 throw new IllegalStateException("Unknown item type: " + info.itemType);
2129 * Unbinds the view for the specified item, and removes the item and all its children.
2133 * @param deleteFromDb whether or not to delete this item from the db.
2378 ItemInfo item = (ItemInfo) v.getTag();
2380 boolean success = startActivitySafely(v, intent, item);
2666 startActivitySafely(View v, Intent intent, ItemInfo item) argument
3387 bindAppWidget(LauncherAppWidgetInfo item) argument
3395 inflateAppWidget(LauncherAppWidgetInfo item) argument
[all...]
H A DUninstallDropTarget.java74 private static ComponentName getUninstallTarget(Context context, ItemInfo item) { argument
77 if (item != null &&
78 item.itemType == LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION) {
79 intent = item.getIntent();
80 user = item.user;
95 // Differ item deletion
131 Log.e(TAG, "Failed to parse intent to start uninstall activity for item=" + info);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeleteDropTarget.java228 ItemInfo item = (ItemInfo) d.dragInfo;
230 if (isAllAppsApplication(d.dragSource, item)) {
232 mLauncher.startApplicationUninstallActivity((ApplicationInfo) item, item.user);
234 LauncherModel.deleteItemFromDatabase(mLauncher, item);
237 FolderInfo folderInfo = (FolderInfo) item;
242 mLauncher.removeAppWidget((LauncherAppWidgetInfo) item);
243 LauncherModel.deleteItemFromDatabase(mLauncher, item);
245 final LauncherAppWidgetInfo launcherAppWidgetInfo = (LauncherAppWidgetInfo) item;
/packages/apps/Calendar/src/com/android/calendar/
H A DContactsAsyncHelper.java72 public AttendeeItem item; field in class:ContactsAsyncHelper.WorkerArgs
191 AttendeeItem item, Runnable run, Uri photoUri) {
205 args.item = item;
244 args.item.mBadge = (Drawable) args.result;
190 retrieveContactPhotoAsync(Context context, AttendeeItem item, Runnable run, Uri photoUri) argument
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/
H A DCarDrawerActivity.java267 public boolean onOptionsItemSelected(MenuItem item) { argument
269 if (item != null && item.getItemId() == android.R.id.home && maybeHandleUpClick()) {
274 if (mDrawerToggle.onOptionsItemSelected(item)) {
278 return super.onOptionsItemSelected(item);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListActivity.java96 // We have a menu item to show in action bar.
198 public boolean onContextItemSelected(MenuItem item) { argument
201 switch (item.getItemId()) {
215 return super.onContextItemSelected(item);
219 public boolean onOptionsItemSelected(MenuItem item) { argument
220 switch(item.getItemId()) {
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
H A DDropdownSortWidgetController.java111 MenuItem item = menu.getItem(i);
112 SortDimension dimension = mModel.getDimensionById(item.getItemId());
113 item.setVisible(dimension.getVisibility() == View.VISIBLE);
156 private boolean onSelectDimension(MenuItem item) { argument
159 final SortDimension dimension = mModel.getDimensionById(item.getItemId());
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetCell.java133 public void applyFromCellItem(WidgetItem item, WidgetPreviewLoader loader) { argument
134 mItem = item;
142 if (item.activityInfo != null) {
143 setTag(new PendingAddShortcutInfo(item.activityInfo));
145 setTag(new PendingAddWidgetInfo(item.widgetInfo));
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
H A DAttachmentChooserFragment.java86 public boolean onOptionsItemSelected(MenuItem item) { argument
87 switch (item.getItemId()) {
93 return super.onOptionsItemSelected(item);
170 final MessagePartData item = getItem(position);
179 itemView.bind(item, mAttachmentGridView);
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuView.java222 for (MenuRow item : mMenuRows) {
223 if (rowId.equals(item.getId())) {
224 return item;
235 for (MenuRow item : mMenuRows) {
236 if (rowIdToSelect.equals(item.getId())) {
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
H A DSubRatingsFragment.java132 for (SubRatingItem item : mSubRatingItems) {
133 item.setChecked(true);
134 item.setEnabled(false);
139 for (SubRatingItem item : mSubRatingItems) {
140 item.setEnabled(true);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationContainer.java141 * A recycler that holds removed scrap views, organized by integer item view type. All views
171 * The adapter index of the lowest overlay item that is above the top of the screen and reports
298 final ConversationOverlayItem item = mOverlayAdapter.getItem(i);
300 if (overlay != null && overlay.view != null && item != null) {
301 item.onModelUpdated(overlay.view);
303 // update the snap header too, but only it's showing if the current item
304 if (i == mSnapIndex && mSnapHeader.isBoundTo(item)) {
311 * Return an overlay view for the given adapter item, or null if no matching view is currently
315 public View getViewForItem(ConversationOverlayItem item) { argument
322 if (mOverlayAdapter.getItem(i) == item) {
[all...]
/packages/services/Car/tools/emulator/
H A Dobd2_to_diagjson.py35 def wrapIfNeeded(cls, item):
36 if isinstance(item, list) or isinstance(item, dict):
37 return Json(item)
38 return item
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventActivity.java167 public boolean onOptionsItemSelected(MenuItem item) { argument
168 if (item.getItemId() == android.R.id.home) {
172 return super.onOptionsItemSelected(item);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectSyncedCalendarsMultiAccountActivity.java166 public boolean onOptionsItemSelected(MenuItem item) { argument
167 switch (item.getItemId()) {
172 return super.onOptionsItemSelected(item);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerPagerAdapter.java181 private static void setItemVisible(Fragment item, boolean visible) { argument
182 FragmentCompat.setMenuVisibility(item, visible);
183 FragmentCompat.setUserVisibleHint(item, visible);
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DBreadBot.java118 for (String item : items) {
119 if (!predicate.test(item)) {
120 absent.add(item);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettingsEditQuickResponsesFragment.java149 public boolean onOptionsItemSelected(MenuItem item) { argument
150 if (item.getItemId() == R.id.create_new) {
155 return super.onOptionsItemSelected(item);
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
H A DEditInfoActivity.java94 public boolean onOptionsItemSelected(MenuItem item) { argument
95 switch (item.getItemId()) {
106 return super.onOptionsItemSelected(item);
139 * Dialog shown to the user when they tap on the CLEAR ALL menu item. Using a {@link
/packages/apps/Gallery2/src/com/android/photos/
H A DGalleryActivity.java79 public boolean onOptionsItemSelected(MenuItem item) { argument
80 switch (item.getItemId()) {
89 return super.onOptionsItemSelected(item);

Completed in 747 milliseconds

1234567891011>>