Searched refs:item (Results 276 - 300 of 549) sorted by relevance

<<11121314151617181920>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditor.java69 MenuItem item = menu.getItem(i);
70 item.setTitle(item.getTitle().toString().toUpperCase());
316 public void swapLeft(MenuItem item) { argument
321 public void swapRight(MenuItem item) { argument
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DSpellCheckersSettings.java177 private static int convertDialogItemIdToSubtypeIndex(final int item) { return item - 1; } argument
207 public void onClick(final DialogInterface dialog, final int item) {
209 if (item == ITEM_ID_USE_SYSTEM_LANGUAGE) {
212 final int index = convertDialogItemIdToSubtypeIndex(item);
H A DUserDictionaryAddWordFragment.java97 * This class only supports the delete menu item.
98 * @param MenuItem the item that was pressed
102 public boolean onOptionsItemSelected(MenuItem item) { argument
103 if (item.getItemId() == OPTIONS_MENU_DELETE) {
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningServiceDetails.java199 RunningState.MergedItem item = null;
213 item = mi;
219 if (mMergedItem != item) {
220 mMergedItem = item;
392 void addDetailsViews(RunningState.MergedItem item, boolean inclServices, argument
394 if (item != null) {
396 for (int i=0; i<item.mServices.size(); i++) {
397 addServiceDetailsView(item.mServices.get(i), item, true, true);
402 if (item
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DPhoneNumberListAdapter.java328 final Cursor item = (Cursor)getItem(position);
329 return item != null ? item.getString(PhoneQuery.PHONE_NUMBER) : null;
339 final Cursor item = (Cursor)getItem(position);
340 return item != null ? getDataUri(partitionIndex, item) : null;
369 final Cursor item = (Cursor)getItem(position);
370 return item != null ? item.getString(PhoneQuery.LOOKUP_KEY) : null;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherModel.java206 final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) {
208 if (modelItem != null && item != modelItem) {
210 if (modelItem instanceof ShortcutInfo && item instanceof ShortcutInfo) {
212 ShortcutInfo shortcut = (ShortcutInfo) item;
228 // the modelItem needs to match up perfectly with item if our model is
230 // modelItem == item or the equality check above
231 String msg = "item: " + ((item != null) ? item.toString() : "null") +
243 static void checkItemInfo(final ItemInfo item) { argument
205 checkItemInfoLocked( final long itemId, final ItemInfo item, StackTraceElement[] stackTrace) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DBrowsedMediaPlayer.java39 * Item Attributes, play item from the file system, etc.
184 /* find the item in the folder */
185 for (MediaBrowser.MediaItem item : children) {
186 if (item.getMediaId().equals(mMediaId)) {
187 if (DEBUG) Log.d(TAG, logprefix + "found item");
188 getItemAttrFilterAttr(item);
196 Log.e(TAG, logprefix + "not able to find item from " + parentId);
388 Log.e(TAG, "Could not get media item from folder Uid, sending err response");
495 /* Instructs media player to play particular media item */
546 Log.w(TAG, "Index out of bounds start item
663 getAttrValue(int attr, MediaBrowser.MediaItem item) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderListFragment.java159 private static final String BUNDLE_SELECTED_ITEM_TYPE = "flf-selected-item-type";
603 final Object item = getListView().getAdapter().getItem(position);
604 LogUtils.d(LOG_TAG, "viewFolderOrChangeAccount(%d): %s", position, item);
608 if (item instanceof DrawerItem) {
609 final DrawerItem drawerItem = (DrawerItem) item;
630 + " Clicked on unset item in drawer. Offending item is " + item);
633 } else if (item instanceof Folder) {
634 folder = (Folder) item;
[all...]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DDrawableDownloader.java73 * bitmap cache item structure saved in LruCache
376 BitmapItem item = mMemoryCache.get(bucketKey);
377 if (item != null) {
378 return createRefCopy(item.findDrawable(key));
386 BitmapItem item = mMemoryCache.get(bucketKey);
387 if (item != null) {
388 return (BitmapDrawable) createRefCopy(item.findLargestDrawable(key));
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DGroupMembershipView.java95 * Extends the array adapter to show checkmarks on all but the last list item for
130 // Hide the checkable drawable. This assumes that the item views
434 GroupSelectionItem item = mAdapter.getItem(i);
435 long groupId = item.getGroupId();
436 if (item.isChecked() && !hasMembership(groupId)) {
450 GroupSelectionItem item = mAdapter.getItem(i);
451 if (groupId == item.getGroupId()) {
452 return item.isChecked();
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DTimeClustering.java107 public void consume(int index, MediaItem item) {
110 s.path = item.getPath();
111 s.dateInMs = item.getDateInMs();
112 item.getLatLong(latLng);
199 // Determine if this item should go in the current cluster or be the
220 // Creating a new cluster and adding the current item to it.
361 public void addItem(SmallItem item) { argument
362 mItems.add(item);
H A DClusterAlbumSet.java134 public void consume(int index, MediaItem item) {
135 existing.add(item.getPath());
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
H A DApnEditorActivity.java67 public boolean onOptionsItemSelected(final MenuItem item) { argument
68 switch (item.getItemId()) {
73 return super.onOptionsItemSelected(item);
313 public boolean onOptionsItemSelected(MenuItem item) { argument
314 switch (item.getItemId()) {
333 return super.onOptionsItemSelected(item);
H A DApnSettingsActivity.java74 public boolean onOptionsItemSelected(final MenuItem item) { argument
75 switch (item.getItemId()) {
80 return super.onOptionsItemSelected(item);
288 public boolean onOptionsItemSelected(MenuItem item) { argument
289 switch (item.getItemId()) {
298 return super.onOptionsItemSelected(item);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
H A DAppPermissionsFragment.java124 public boolean onOptionsItemSelected(MenuItem item) { argument
125 switch (item.getItemId()) {
141 return super.onOptionsItemSelected(item);
409 public boolean onOptionsItemSelected(MenuItem item) { argument
410 switch (item.getItemId()) {
415 return super.onOptionsItemSelected(item);
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
H A DDashboardDataTest.java143 final Object item = mDashboardDataWithOneConditions.getItemEntityByPosition(i);
144 if (item instanceof List) {
145 assertThat(item).isEqualTo(expectedObjects[i]);
146 } else if (item instanceof DashboardData.SuggestionConditionHeaderData) {
148 (DashboardData.SuggestionConditionHeaderData) item;
155 assertThat(item).isSameAs(expectedObjects[i]);
209 // gets 1 more item
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DCustomizeChannelListFragment.java106 for (Item item : mItems) {
107 if (item instanceof ChannelItem
108 && ((ChannelItem) item).getChannel().getId() == mInitialChannelId) {
169 Item item = iter.next();
170 if (item instanceof SelectGroupItem) {
171 SelectGroupItem selectGroupItem = (SelectGroupItem) item;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
H A DRatingsFragment.java131 RatingItem item = rating.getSubRatings().isEmpty() ?
134 items.add(item);
136 ratingItems.add(item);
189 // Although we set the attribution item at the end of the item list non-focusable, we do get
191 // non-focusable item at the end of the list. See b/17387103.
208 for (RatingItem item : ratingItems) {
209 int ratingOrderIndex = item.getRatingOrderIndex(order);
213 item.setRatingBlocked(isChecked);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
H A DAlarmItemViewHolder.java78 getItemHolder().item, checked);
85 final Alarm alarm = itemHolder.item;
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
H A DSmsBottomSheetFragment.java63 for (CharSequence item : items) {
64 layout.addView(newTextViewItem(item));
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDocumentHolder.java63 public DocumentHolder(Context context, View item) { argument
64 super(item);
74 * Binds the view to the given item data.
92 * Makes the associated item view appear selected. Note that this merely affects the appearance
93 * of the view, it doesn't actually select the item.
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactDropdownLayouter.java52 public void onContactListItemClicked(final ContactListItemData item,
54 // The chips UI will handle auto-complete item click events, so No-op here.
58 public boolean isContactSelected(final ContactListItemData item) {
68 * item styling for alternates dropdown items (happens when you click on a chip).
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMediaPicker.java83 * Called when the user unselects one item.
85 void onItemUnselected(MessagePartData item); argument
93 * Called when media item selection is confirmed in a multi-select action.
253 // translate the index back. For example, if the user clicked the item most to the
600 void dispatchItemsSelected(final MessagePartData item, final boolean dismissMediaPicker) { argument
602 items.add(item);
622 void dispatchItemUnselected(final MessagePartData item) { argument
627 mListener.onItemUnselected(item);
700 public boolean onOptionsItemSelected(final MenuItem item) { argument
701 return (mSelectedChooser != null && mSelectedChooser.onOptionsItemSelected(item)) ||
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DAppWidgetLoader.java127 Item item = mItemConstructor.createItem(mContext, info,
130 items.add(item);
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
H A DMenuHelper.java51 * Navigate to the menu item with the text {@code itemTextResId} in the row with text
54 * Fails if the menu item can not be navigated to.
57 * @param itemTextResId the resource id of the string in the desired item.
58 * @return the item navigated to.
105 * Navigate to the menu item in the given {@code row} with the text {@code itemTextResId} .
107 * Fails if the menu item can not be navigated to.
110 * @param itemTextResId the resource id of the string in the desired item.
111 * @return the item navigated to.
148 * Navigate to the menu item with the text {@code itemTextResId} in the row with text
151 * Fails if the menu item ca
[all...]

Completed in 8038 milliseconds

<<11121314151617181920>>