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

12345678910

/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/Gallery2/src/com/android/gallery3d/ui/
H A DCustomMenu.java89 MenuItem item = null;
91 item = menu.findItem(id);
92 if (item != null) return item;
94 return item;
99 MenuItem item = null;
101 item = menu.findItem(id);
102 if (item != null) {
103 item.setCheckable(true);
104 item
120 onMenuItemClick(MenuItem item) argument
[all...]
H A DAbstractDisplayItem.java40 public AbstractDisplayItem(MediaItem item) { argument
41 mMediaItem = item;
42 if (item == null) mState = STATE_ERROR;
/packages/apps/Browser/src/com/android/browser/
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
H A DSuggestionsAdapter.java121 SuggestItem item = (SuggestItem) ((View) v.getParent()).getTag();
125 mListener.onSearch(getSuggestionUrl(item));
127 mListener.onSelect(getSuggestionUrl(item), item.type, item.extra);
147 SuggestItem item = new SuggestItem(mVoiceResults.get(position),
149 item.extra = Integer.toString(position);
150 return item;
174 private void bindView(View view, SuggestItem item) { argument
175 // store item fo
269 convertResultToString(Object item) argument
371 addResult(SuggestItem item) argument
577 getSuggestionTitle(SuggestItem item) argument
584 getSuggestionUrl(SuggestItem item) argument
[all...]
H A DUrlSelectionActionMode.java40 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
41 switch (item.getItemId()) {
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DContextMenuAdapter.java29 boolean onContextItemSelected(MenuItem item); argument
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListView.java42 MessageItem item = view.getMessageItem();
43 if (item != null && item.isSms()) {
46 clip.setText(item.mBody);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderInfo.java52 * @param item
54 public void add(ShortcutInfo item) { argument
55 contents.add(item);
57 listeners.get(i).onAdd(item);
65 * @param item
67 public void remove(ShortcutInfo item) { argument
68 contents.remove(item);
70 listeners.get(i).onRemove(item);
111 public void onAdd(ShortcutInfo item); argument
112 public void onRemove(ShortcutInfo item); argument
[all...]
H A DFolder.java179 public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
199 ShortcutInfo item = (ShortcutInfo) tag;
202 item.intent.setSourceBounds(new Rect(pos[0], pos[1],
204 mLauncher.startActivitySafely(item.intent, item);
211 ShortcutInfo item = (ShortcutInfo) tag;
222 mCurrentDragInfo = item;
223 mEmptyCell[0] = item.cellX;
224 mEmptyCell[1] = item.cellY;
335 for (ShortcutInfo item
520 findAndSetEmptyCells(ShortcutInfo item) argument
531 createAndAddShortcut(ShortcutInfo item) argument
991 onAdd(ShortcutInfo item) argument
1006 onRemove(ShortcutInfo item) argument
1023 getViewForInfo(ShortcutInfo item) argument
[all...]
H A DInstallShortcutReceiver.java98 ItemInfo item = null;
101 item = items.get(i);
102 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
103 if (item.screen == screen) {
104 cellX = item.cellX;
105 cellY = item.cellY;
106 spanX = item.spanX;
107 spanY = item.spanY;
H A DAddAdapter.java47 * Specific item in our list.
78 ListItem item = (ListItem) getItem(position);
85 textView.setTag(item);
86 textView.setText(item.text);
87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
/packages/apps/Browser/src/com/android/browser/view/
H A DPieMenu.java151 public void addItem(PieItem item) { argument
152 // add the item to the pie itself
153 mItems.add(item);
154 int l = item.getLevel();
159 public void removeItem(PieItem item) { argument
160 mItems.remove(item);
210 for (PieItem item : mItems) {
211 if (item.getLevel() == level) {
212 View view = item.getView();
230 item
284 drawItem(Canvas canvas, PieItem item) argument
394 onEnter(PieItem item) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotification.java61 * item is used for all downloads of a given application.
75 * Add a second download to this notification item.
128 NotificationItem item;
130 item = mNotifications.get(packageName);
131 item.addItem(title, progress, max);
133 item = new NotificationItem();
134 item.mId = (int) id;
135 item.mPackageName = packageName;
136 item.mDescription = download.mDescription;
137 item
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DLocalDataTest.java118 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0);
119 assertEquals(1, item.id);
120 assertEquals("IMG_0072", item.caption);
121 assertEquals("image/jpeg", item.mimeType);
122 assertEquals(12.0, item.latitude);
123 assertEquals(34.0, item.longitude);
124 assertEquals(0xD000, item.dateTakenInMs);
125 assertEquals(1280395646L, item.dateAddedInSec);
126 assertEquals(1275934796L, item.dateModifiedInSec);
127 assertEquals("/mnt/sdcard/DCIM/100CANON/IMG_0072.JPG", 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/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActionBar.java132 for (ActionItem item : sClusterItems) {
133 if (item.enabled && item.visible) {
134 titles.add(mContext.getString(item.dialogTitle));
135 mActions.add(item.action);
143 for (ActionItem item : sClusterItems) {
144 if (item.action == id) {
145 item.enabled = enabled;
152 for (ActionItem item : sClusterItems) {
153 if (item
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java168 private View constructAttendeeView(AttendeeItem item) { argument
169 item.mView = mInflater.inflate(R.layout.contact_item, null);
170 return updateAttendeeView(item);
177 private View updateAttendeeView(AttendeeItem item) { argument
178 final Attendee attendee = item.mAttendee;
179 final View view = item.mView;
182 if (item.mRemoved) {
192 button.setTag(item);
193 if (item.mRemoved) {
204 if (item
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLViewMock.java63 GLView item = getComponent(i);
64 item.layout(left, top, right, bottom);
75 GLView item = getComponent(i);
76 item.measure(widthSpec, heightSpec);
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapUtility.java72 for (String item : setItems) {
73 if (item.indexOf(':') == -1) {
74 // simple item
76 Integer.parseInt(item); // Don't need the value; just ensure it's valid
77 list.add(item);
83 for (String rangeItem : getImapRangeValues(item)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java251 NotificationItem item = new NotificationItem();
252 item.timeStamp = timeStamp;
253 item.id = id;
254 item.direction = dir;
255 if (item.direction == BluetoothShare.DIRECTION_OUTBOUND) {
256 item.description = mContext.getString(R.string.notification_sending, fileName);
257 } else if (item.direction == BluetoothShare.DIRECTION_INBOUND) {
258 item.description = mContext
263 item.totalCurrent = current;
264 item
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFaceClustering.java47 public void add(MediaItem item, int faceIndex) { argument
48 Path path = item.getPath();
50 Face[] faces = item.getFaces();
54 mCoverItem = item;
61 mCoverItem = item;
97 public void consume(int index, MediaItem item) {
98 Face[] faces = item.getFaces();
100 untagged.add(item, -1);
110 cluster.add(item, j);
H A DFilterSet.java105 public void consume(int index, MediaItem item) {
106 if (item.getMediaType() == mMediaType) {
108 Path path = item.getPath();
129 public void consume(int index, MediaItem item) {
130 if ((item.getSupportedOperations() & SUPPORT_DELETE) != 0) {
131 item.delete();
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectVisibleCalendarsActivity.java70 public boolean onOptionsItemSelected(MenuItem item) { argument
71 switch (item.getItemId()) {
76 return super.onOptionsItemSelected(item);

Completed in 506 milliseconds

12345678910