Searched refs:item (Results 226 - 250 of 549) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/photos/shims/
H A DBitmapJobDrawable.java48 public void setMediaItem(MediaItem item) { argument
49 if (mItem == item) return;
54 mItem = item;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DMenuHelper.java70 MenuItem item = menu.add(labelId).setOnMenuItemClickListener(
72 public boolean onMenuItemClick(MenuItem item) {
77 item.setIcon(iconId);
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DSimSelectorView.java42 void onSimItemClicked(SubscriptionListEntry item); argument
161 public void onSimItemClicked(SubscriptionListEntry item) { argument
162 mListener.onSimItemClicked(item);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceDetailsFragment.java122 MenuItem item = menu.add(0, EDIT_DEVICE_NAME_ITEM_ID, 0, R.string.bluetooth_rename_button);
123 item.setIcon(R.drawable.ic_mode_edit);
124 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSingleFolderSelectionDialog.java120 final Object item = mAdapter.getItem(position);
121 if (item instanceof FolderRow) {
122 final Folder folder = ((FolderRow) item).getFolder();
H A DSecureConversationViewController.java206 final MessageHeaderItem item = ConversationViewAdapter.newMessageHeaderItem(
210 mMessageHeaderView.bind(item, false);
213 mSnapHeaderView.bind(item, false);
217 mMessageFooterView.bind(item, false);
248 public void setMessageSpacerHeight(MessageHeaderItem item, int newSpacerHeight) { argument
253 public void setMessageExpanded(MessageHeaderItem item, int newSpacerHeight) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionaryAddWordFragment.java106 * @param item the item that was pressed
110 public boolean onOptionsItemSelected(MenuItem item) { argument
111 if (item.getItemId() == OPTIONS_MENU_ADD) {
116 if (item.getItemId() == OPTIONS_MENU_DELETE) {
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DBandController_GridModelTest.java254 for (TestEnvironment.Item item: env.items) {
255 if (Rect.intersects(selectionArea, item.rect)) {
256 assertTrue("Expected item " + item + " was not in selection " + selectionArea,
257 lastSelection.contains(item.name));
259 assertFalse("Unexpected item " + item + " in selection" + selectionArea,
260 lastSelection.contains(item.name));
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocationClustering.java74 public void consume(int index, MediaItem item) {
77 s.path = item.getPath();
78 item.getLatLong(latLong);
156 SmallItem item = items.get(i);
157 double itemLatitude = item.lat;
158 double itemLongitude = item.lng;
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
H A DBaseModelUpdateTaskTestCase.java160 Object item = clazz.newInstance();
166 f.set(item, Integer.parseInt(fieldData[1]));
168 f.set(item, fieldData[1]);
173 f.set(item, Intent.parseUri(fieldData[1], 0));
175 f.set(item, ComponentName.unflattenFromString(fieldData[1]));
181 return item;
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
H A DSchedulesHeaderRowPresenter.java72 protected void onBindRowViewHolder(RowPresenter.ViewHolder viewHolder, Object item) { argument
73 super.onBindRowViewHolder(viewHolder, item);
75 SchedulesHeaderRow header = (SchedulesHeaderRow) item;
135 protected void onBindRowViewHolder(RowPresenter.ViewHolder viewHolder, Object item) { argument
136 super.onBindRowViewHolder(viewHolder, item);
139 SeriesRecordingHeaderRow header = (SeriesRecordingHeaderRow) item;
/packages/apps/Calendar/src/com/android/calendar/
H A DSearchActivity.java264 MenuItem item = menu.findItem(R.id.action_search);
265 item.expandActionView();
266 item.setOnActionExpandListener(this);
267 mSearchView = (SearchView) item.getActionView();
276 public boolean onOptionsItemSelected(MenuItem item) { argument
278 final int itemId = item.getItemId();
379 public boolean onMenuItemActionExpand(MenuItem item) { argument
384 public boolean onMenuItemActionCollapse(MenuItem item) { argument
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
H A DSearchMenuItemController.java94 public void onPrepareOptionsItem(MenuItem item) { argument
98 public boolean onOptionsItemSelected(MenuItem item) { argument
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
H A DBlockedNumbersSettingsActivity.java104 public boolean onOptionsItemSelected(MenuItem item) { argument
105 if (item.getItemId() == android.R.id.home) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallShortcutReceiver.java199 // Queue the item up for adding if launcher has not loaded properly yet
342 ItemInfo item = null;
345 item = items.get(i);
346 if (item.container == LauncherSettings.Favorites.CONTAINER_DESKTOP) {
347 if (item.screen == screen) {
348 cellX = item.cellX;
349 cellY = item.cellY;
350 spanX = item.spanX;
351 spanY = item.spanY;
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DShortcutMenuAccessibilityDelegate.java60 public boolean performAction(View host, ItemInfo item, int action) { argument
67 final long screenId = findSpaceOnWorkspace(item, coordinates);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DAudioMediaChooser.java57 public void onAudioRecorded(final MessagePartData item) { argument
58 mMediaPicker.dispatchItemsSelected(item, true);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DConfig.java104 for (String item : items) {
105 set.add(item);
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningServices.java85 public boolean onOptionsItemSelected(MenuItem item) { argument
86 switch (item.getItemId()) {
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
H A DWifiTetherSettingsTest.java83 UiObject2 item = mDevice.wait(Until.findObject(By.text("Portable Wi‑Fi hotspot")), TIMEOUT);
84 item.click();
/packages/apps/TV/src/com/android/tv/menu/
H A DChannelsPosterPrefetcher.java98 // This executes on the main thread, but since the item list is expected to be about 5 items
102 for (ChannelsRowItem item : items) {
106 Channel channel = item.getChannel();
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
H A Dcontacts2_1108.sql23 INSERT INTO "mimetypes" VALUES(1,'vnd.android.cursor.item/email_v2');
24 INSERT INTO "mimetypes" VALUES(2,'vnd.android.cursor.item/im');
25 INSERT INTO "mimetypes" VALUES(3,'vnd.android.cursor.item/nickname');
26 INSERT INTO "mimetypes" VALUES(4,'vnd.android.cursor.item/organization');
27 INSERT INTO "mimetypes" VALUES(5,'vnd.android.cursor.item/phone_v2');
28 INSERT INTO "mimetypes" VALUES(6,'vnd.android.cursor.item/sip_address');
29 INSERT INTO "mimetypes" VALUES(7,'vnd.android.cursor.item/name');
30 INSERT INTO "mimetypes" VALUES(8,'vnd.android.cursor.item/postal-address_v2');
31 INSERT INTO "mimetypes" VALUES(9,'vnd.android.cursor.item/identity');
32 INSERT INTO "mimetypes" VALUES(10,'vnd.android.cursor.item/phot
[all...]
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java198 public void setData(FilmstripItem item) { argument
199 mData = item;
666 // Instead, select the item in the center
715 * Returns the draw area width of the current item.
730 * Called after current item or zoom level has changed.
743 * @param index The index of the item in the data adapter to check.
757 private void measureViewItem(ViewItem item, int boundWidth, int boundHeight) { argument
758 int index = item.getAdapterIndex();
761 Log.w(TAG, "measureViewItem() - Trying to measure a null item!");
772 item
1329 slideViewBack(ViewItem item) argument
[all...]
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountSyncSettings.java189 SyncStateSwitchPreference item = (SyncStateSwitchPreference) getCachedPreference(authority);
190 if (item == null) {
191 item = new SyncStateSwitchPreference(getPrefContext(), account, authority,
193 getPreferenceScreen().addPreference(item);
195 item.setup(account, authority, packageName, uid);
197 item.setPersistent(false);
209 item.setTitle(title);
210 item.setKey(authority);
242 public boolean onOptionsItemSelected(MenuItem item) { argument
243 switch (item
[all...]
/packages/apps/TV/src/com/android/tv/tuner/data/
H A DPsipData.java742 public int compareTo(@NonNull EitItem item) { argument
747 int ret = mEventId - item.getEventId();
751 ret = StringUtils.compare(mTitleText, item.getTitleText());
755 if (mStartTime > item.getStartTime()) {
757 } else if (mStartTime < item.getStartTime()) {
760 if (mLengthInSecond > item.getLengthInSecond()) {
762 } else if (mLengthInSecond < item.getLengthInSecond()) {
767 ret = StringUtils.compare(mContentRating, item.getContentRating());
773 ret = StringUtils.compare(mBroadcastGenre, item.getBroadcastGenre());
778 ret = StringUtils.compare(mCanonicalGenre, item
[all...]

Completed in 1717 milliseconds

1234567891011>>