Searched refs:item (Results 1 - 25 of 358) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/photos/shims/
H A DLoaderCompatShim.java26 Drawable drawableForItem(T item, Drawable recycle); argument
27 Uri uriForItem(T item); argument
28 ArrayList<Uri> urisForSubItems(T item); argument
30 Object getPathForItem(T item); argument
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DTimeList.java24 * Returns the <code>index</code> th item in the collection. If
32 public Time item(int index); method in interface:TimeList
/packages/apps/Camera2/src/com/android/camera/
H A DPhotoMenu.java53 PieItem item = null;
60 item = makeSwitchItem(CameraSettings.KEY_CAMERA_HDR_PLUS, true);
61 mRenderer.addItem(item);
66 item = makeSwitchItem(CameraSettings.KEY_CAMERA_HDR, true);
67 mRenderer.addItem(item);
71 item = makeItem(CameraSettings.KEY_EXPOSURE);
72 item.setLabel(res.getString(R.string.pref_exposure_label));
73 mRenderer.addItem(item);
82 item = makeItem(CameraSettings.KEY_FLASH_MODE);
83 item
[all...]
H A DPieController.java106 PieItem item = makeItem(resid);
107 item.setLabel(pref.getTitle().toUpperCase());
109 mPreferenceMap.put(pref, item);
120 item.addItem(inner);
124 public void onClick(PieItem item) {
132 return item;
149 PieItem item = makeItem(resid);
150 item.setLabel(pref.getLabels()[index]);
151 item.setImageResource(mActivity, resid);
153 mPreferenceMap.put(pref, item);
190 updateItem(PieItem item, String prefKey) argument
[all...]
H A DVideoMenu.java59 PieItem item = null;
62 item = makeItem(CameraSettings.KEY_WHITE_BALANCE);
63 mRenderer.addItem(item);
72 item = makeItem(R.drawable.ic_settings_holo_light);
73 item.setLabel(mActivity.getResources().getString(R.string.camera_menu_settings_label));
74 item.setOnClickListener(new OnClickListener() {
76 public void onClick(PieItem item) {
84 mRenderer.addItem(item);
87 item = makeItem(R.drawable.ic_switch_back);
90 item
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBookmarksAdapter.java78 void bindGridView(View view, Context context, BrowserBookmarksAdapterItem item) { argument
88 tv.setText(item.title);
89 if (item.is_folder) {
96 if (item.thumbnail == null || !item.has_thumbnail) {
99 thumb.setImageDrawable(item.thumbnail);
107 BrowserBookmarksAdapterItem item) {
108 if (item == null) {
109 item = new BrowserBookmarksAdapterItem();
111 Bitmap thumbnail = item
106 getRowObject(Cursor c, BrowserBookmarksAdapterItem item) argument
[all...]
H A DOptionsMenuHandler.java26 boolean onOptionsItemSelected(MenuItem item); argument
H A DHistoryItem.java27 * Layout representing a history item in the classic history viewer.
53 /* package */ void copyTo(HistoryItem item) { argument
54 item.mTextView.setText(mTextView.getText());
55 item.mUrlText.setText(mUrlText.getText());
56 item.setIsBookmark(mStar.isChecked());
57 item.mImageView.setImageDrawable(mImageView.getDrawable());
61 * Whether or not this item represents a bookmarked site
/packages/apps/Browser/src/com/android/browser/view/
H A DPieMenu.java170 public void addItem(PieItem item) { argument
171 // add the item to the pie itself
172 mItems.add(item);
173 int l = item.getLevel();
178 public void removeItem(PieItem item) { argument
179 mItems.remove(item);
204 for (PieItem item : mCurrentItems) {
205 item.setSelected(false);
221 for (PieItem item : mCurrentItems) {
222 item
328 drawItem(Canvas canvas, PieItem item) argument
463 onEnter(PieItem item) argument
528 openSub(final PieItem item) argument
629 inside(PointF polar, float offset, PieItem item) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DContextMenuAdapter.java29 boolean onContextItemSelected(MenuItem item); argument
/packages/apps/Dialer/src/com/android/dialer/list/
H A DRegularSearchListAdapter.java43 final Cursor item = (Cursor) getItem(position);
44 if (item != null) {
45 info.name = item.getString(PhoneQuery.DISPLAY_NAME);
46 info.type = item.getInt(PhoneQuery.PHONE_TYPE);
47 info.label = item.getString(PhoneQuery.PHONE_LABEL);
48 info.number = item.getString(PhoneQuery.PHONE_NUMBER);
49 final String photoUriStr = item.getString(PhoneQuery.PHOTO_URI);
52 cacheInfo.setLookupKey(item.getString(PhoneQuery.LOOKUP_KEY));
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSnailAlbum.java27 public SnailAlbum(Path path, SnailItem item) { argument
28 super(path, item);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderInfo.java47 * @param item
49 public void add(ShortcutInfo item) { argument
50 contents.add(item);
52 listeners.get(i).onAdd(item);
60 * @param item
62 public void remove(ShortcutInfo item) { argument
63 contents.remove(item);
65 listeners.get(i).onRemove(item);
106 public void onAdd(ShortcutInfo item); argument
107 public void onRemove(ShortcutInfo item); argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolderInfo.java47 * @param item
49 public void add(ShortcutInfo item) { argument
50 contents.add(item);
52 listeners.get(i).onAdd(item);
60 * @param item
62 public void remove(ShortcutInfo item) { argument
63 contents.remove(item);
65 listeners.get(i).onRemove(item);
106 public void onAdd(ShortcutInfo item); argument
107 public void onRemove(ShortcutInfo item); argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java171 private View constructAttendeeView(AttendeeItem item) { argument
172 item.mView = mInflater.inflate(R.layout.contact_item, null);
173 return updateAttendeeView(item);
180 private View updateAttendeeView(AttendeeItem item) { argument
181 final Attendee attendee = item.mAttendee;
182 final View view = item.mView;
185 if (item.mRemoved) {
195 button.setTag(item);
196 if (item.mRemoved) {
211 badge = mRecycledPhotos.get(item
[all...]
/packages/apps/Stk/src/com/android/stk/
H A DStkMenuAdapter.java47 final Item item = getItem(position);
54 if (!mIcosSelfExplanatory || (mIcosSelfExplanatory && item.icon == null)) {
55 ((TextView) convertView.findViewById(R.id.text)).setText(item.text);
58 if (item.icon == null) {
61 imageView.setImageBitmap(item.icon);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DSuperCollapsedBlock.java41 void onSuperCollapsedClick(SuperCollapsedBlockItem item); argument
68 public void bind(SuperCollapsedBlockItem item) { argument
69 mModel = item;
70 setCount(item.getEnd() - item.getStart() + 1);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DDequeMap.java33 void visit(V item); argument
42 public void add(K key, V item) { argument
48 pile.add(item);
99 for (V item : entry.getValue()) {
100 visitor.visit(item);
/packages/apps/Gallery2/src/com/android/photos/
H A DAlbumSetFragment.java96 Cursor item = (Cursor) getItemAtPosition(position);
100 mLoaderCompatShim.getPathForItem(item).toString());
102 item.getString(AlbumSetLoader.INDEX_TITLE));
107 public int getItemMediaType(Object item) { argument
112 public int getItemSupportedOperations(Object item) { argument
113 return ((Cursor) item).getInt(AlbumSetLoader.INDEX_SUPPORTED_OPERATIONS);
117 public ArrayList<Uri> getSubItemUrisForItem(Object item) { argument
118 return mLoaderCompatShim.urisForSubItems((Cursor) item);
127 public Uri getItemUri(Object item) { argument
128 return mLoaderCompatShim.uriForItem((Cursor) item);
132 getPathForItem(Object item) argument
[all...]
H A DPhotoSetFragment.java74 Cursor item = (Cursor) getItemAtPosition(position);
75 Uri uri = mLoaderCompatShim.uriForItem(item);
102 public int getItemMediaType(Object item) { argument
103 return ((Cursor) item).getInt(PhotoSetLoader.INDEX_MEDIA_TYPE);
107 public int getItemSupportedOperations(Object item) { argument
108 return ((Cursor) item).getInt(PhotoSetLoader.INDEX_SUPPORTED_OPERATIONS);
113 public ArrayList<Uri> getSubItemUrisForItem(Object item) { argument
115 mSubItemUriTemp.add(mLoaderCompatShim.uriForItem((Cursor) item));
125 public Uri getItemUri(Object item) { argument
126 return mLoaderCompatShim.uriForItem((Cursor) item);
130 getPathForItem(Object item) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoDataAdapter.java137 // is used to determine the item movement.
159 public void onPhotoChanged(int index, Path item); argument
167 // The path of the current viewing item will be stored in mItemPath.
169 // can find the item. If mItemPath is null, then we use the mCurrentIndex to
230 MediaItem item = getItemInternal(index);
231 if (item == null) return MediaObject.INVALID_DATA_VERSION;
232 return item.getDataVersion();
236 MediaItem item = getItemInternal(index);
237 if (item == null) return null;
238 return item
694 ScreenNailJob(MediaItem item) argument
724 FullImageJob(MediaItem item) argument
763 newPlaceholderScreenNail(MediaItem item) argument
856 FullImageListener(MediaItem item) argument
878 ScreenNailListener(MediaItem item) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java49 * Description of a specific {@link Data#_ID} item, with style information
74 public DataAction(Context context, DataItem item, DataKind kind) { argument
77 mMimeType = item.getMimeType();
81 if (item.hasKindTypeColumn(kind)) {
82 final int typeValue = item.getKindTypeColumn(kind);
92 mSubtitle = item.getContentValues().getAsString(type.customColumn);
99 mIsPrimary = item.isSuperPrimary();
100 mBody = item.buildDataStringForDisplay(context, kind);
102 mDataId = item.getId();
110 if (item instanceo
[all...]
/packages/apps/Calendar/extensions_src/com/android/calendar/extensions/
H A DAllInOneMenuExtensions.java38 public boolean handleItemSelected(MenuItem item, Context context) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneMenuExtensionsInterface.java35 boolean handleItemSelected(MenuItem item, Context context); argument
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DGridAdapter.java93 * store the id of the item associated with them.
100 * Get the id of the item associated with this view.
112 * Get the id of the item associated with this view. The specified Object is associated with
114 * @param item Object associated with this view at this position.
115 * @param position Position of the item.
116 * @return id Id for the item at this position.
118 public long getItemId(Object item, int position) { argument
125 * Get the type of the view given the item it will display based on its
127 * would create an item based on the position and use that item t
135 getItemViewType(Object item, int position) argument
155 getView(Object item, int position, View scrap, ViewGroup parent, int measuredWidth) argument
163 getItemColumnSpan(Object item, int position) argument
[all...]

Completed in 373 milliseconds

1234567891011>>