/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
H A D | DebugOptionFragment.java | 39 List<Item> items = new ArrayList<>(); 40 items.add(new ActionItem(getString(R.string.item_watch_history)) { 46 return items;
|
H A D | DisplayModeFragment.java | 44 List<Item> items = new ArrayList<>(); 46 items.add(new DisplayModeRadioItem(i)); 48 return items;
|
H A D | SettingsFragment.java | 80 List<Item> items = new ArrayList<>(); 103 items.add(customizeChannelListItem); 107 items.add(new ActionItem( 118 items.add(new ActionItem(getString(R.string.settings_parental_controls), 152 items.add(new LicenseActionItem(activity)); 155 items.add(new SimpleItem(getString(R.string.settings_menu_version), 157 return items;
|
H A D | CustomizeChannelListFragment.java | 161 private void cleanUpOneChannelGroupItem(List<Item> items) { argument 162 Iterator<Item> iter = items.iterator(); 176 private void addItemForGroupBySource(List<Item> items) { argument 177 items.add(new GroupBySubMenu(getString(R.string.edit_channels_group_by_sources))); 188 items.add(new DividerItem(inputLabel)); 190 items.add(selectGroupItem); 193 items.add(channelItem); 196 cleanUpOneChannelGroupItem(items); 199 private void addItemForGroupByHdSd(List<Item> items) { argument 200 items [all...] |
H A D | MultiAudioFragment.java | 54 List<Item> items = new ArrayList<>(); 67 items.add(item); 71 return items;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AppWidgetLoader.java | 56 void putCustomAppWidgets(List<Item> items, Intent intent) { argument 105 if (LOGD) Log.d(TAG, "Using " + customInfo.size() + " custom items"); 106 putAppWidgetItems(customInfo, customExtras, items, 0, true); 115 List<Bundle> customExtras, List<Item> items, int categoryFilter, 130 items.add(item); 140 * Build and return list of items to be shown in dialog. This will mix both 148 List<Item> items = new ArrayList<Item>(); 154 putInstalledAppWidgets(items, categoryFilter); 156 // Sort all items together by label 158 putCustomAppWidgets(items, inten 114 putAppWidgetItems(List<AppWidgetProviderInfo> appWidgets, List<Bundle> customExtras, List<Item> items, int categoryFilter, boolean ignoreFilter) argument 178 putInstalledAppWidgets(List<Item> items, int categoryFilter) argument [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDebug.java | 81 // items is the list of items to display in the list. 82 List<Map<String, String>> items = new ArrayList<Map<String, String>>(); 89 addItem(items, mActivity.getString(R.string.calendar_info_error), ""); 131 addItem(items, displayName, text); 137 addItem(items, mActivity.getString(R.string.calendar_info_error), e.toString()); 144 if (items.size() == 0) { 145 addItem(items, mActivity.getString(R.string.calendar_info_no_calendars), ""); 147 return items; 153 * @param items Th 158 onPostExecute(List<Map<String, String>> items) argument 186 addItem(List<Map<String, String>> items, String title, String text) argument [all...] |
/packages/services/Car/car-lib/src/android/car/app/menu/ |
H A D | SubscriptionCallbacks.java | 23 * The callbacks to receive menu items updates. 27 * Called when the items with the specified parent id are loaded. 29 * @param items The list of menu items. To retrieve the content of the item, use the keys 32 public abstract void onChildrenLoaded(String parentId, List<Bundle> items); argument 35 * Called when there is an error loading the items with the specified id. 40 * Called when the car menu items with the specified parent id are changed.
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | PhotoSourceDialogFragment.java | 68 // Prepare the AlertDialog items and click listener 69 final CharSequence[] items = new CharSequence[choices.size()]; 70 for (int i = 0; i < items.length; i++) { 71 items[i] = choices.get(i).toString(); 96 builder.setItems(items, clickListener);
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
H A D | ProgramRestrictionsFragment.java | 54 List<Item> items = new ArrayList<>(); 56 items.add(new SubMenuItem(getString(R.string.option_country_rating_systems), 82 items.add(ratingsItem); 83 return items;
|
H A D | ParentalControlsFragment.java | 58 List<Item> items = new ArrayList<>(); 59 items.add(new SwitchItem(getString(R.string.option_toggle_parental_controls_on), 148 items.addAll(mActionItems); 151 return items;
|
H A D | RatingsFragment.java | 103 List<Item> items = new ArrayList<>(); 110 items.addAll(mRatingLevelItems); 122 items.add(new DividerItem(s.getDisplayName())); 127 items.add(item); 143 items.add(new DividerItem()); 144 items.add(new AttributionItem(getMainActivity())); 146 mItemsSize = items.size(); 147 return items;
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | DialogUtils.java | 49 CharSequence[] items = new CharSequence[itemResIds.length]; 52 items[i] = res.getString(itemResIds[i]); 55 .setItems(items, onClickListener)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
H A D | PickerColumn.java | 29 public PickerColumn(String[] items) { argument 30 if (items == null) { 31 throw new IllegalArgumentException("items for PickerColumn cannot be null"); 33 mItems = items;
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | PhotosDeletionPreference.java | 50 public void updatePreferenceText(int items, long bytes) { argument 52 setTitle(context.getString(R.string.deletion_helper_photos_title, items)); 58 public void onFreeableChanged(int items, long bytes) { argument 65 PhotosDeletionPreference.super.onFreeableChanged(items, bytes); 66 updatePreferenceText(items, bytes);
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/ |
H A D | TsParser.java | 79 void onPatDetected(List<PatItem> items); argument 82 void onEitItemParsed(VctItem channel, List<EitItem> items); argument 140 public void onPatParsed(List<PatItem> items) { 141 for (PatItem i : items) { 145 mListener.onPatDetected(items); 150 public void onPmtParsed(int programNumber, List<PmtItem> items) { 151 mProgramNumberToPMTMap.put(programNumber, items); 166 handleVctItem(vctItem, items); 172 public void onMgtParsed(List<MgtItem> items) { 173 for (MgtItem i : items) { 303 handleEitItems(VctItem channel, List<EitItem> items) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ComboAlbum.java | 23 // ComboAlbum combines multiple media sets into one. It lists all media items 43 ArrayList<MediaItem> items = new ArrayList<MediaItem>(); 50 items.addAll(fetchItems); 57 return items;
|
H A D | MediaSet.java | 65 // Returns the media items in the range [start, start + count). 67 // The number of media items returned may be less than the specified count 68 // if there are not enough media items available. The number of 69 // media items available may not be consistent with the return value of 77 ArrayList<MediaItem> items = getMediaItem(0, 1); 78 if (items.size() > 0) return items.get(0); 184 // Enumerate all media items in this media set (including the ones in sub 201 // Returns the number of items enumerated. 207 ArrayList<MediaItem> items [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
H A D | GenreItems.java | 85 String[] items = Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP_MR1 88 if (items.length != CANONICAL_GENRES.length) { 91 return items;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | Preloader.java | 15 * @param <T> The type of items this class preload. 16 * @param <Y> The type of load tokens that can be used to cancel loads for the items this class 23 * Implemented by the source for items that should be preloaded. 32 * Returns the total number of items in the source. 38 * Responsible for the loading of items. 42 * Initiates a load for the specified items and returns a list of 0 or more load tokens that 43 * can be used to cancel the loads for the given items. Should preload the items in the list 46 public List<Y> preloadItems(List<T> items); argument 58 * we don't preload the same items repeatedl [all...] |
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkMenuAdapter.java | 32 * Icon list view adapter to show the list of STK items. 38 public StkMenuAdapter(Context context, List<Item> items, argument 40 super(context, 0, items);
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | RecordCardView.java | 119 final List<CharSequence> items = new ArrayList<>(); 122 items.add(res.getString(R.string.recording_start_dialog_10_min_duration)); 124 items.add(res.getString(R.string.recording_start_dialog_30_min_duration)); 126 items.add(res.getString(R.string.recording_start_dialog_1_hour_duration)); 128 items.add(res.getString(R.string.recording_start_dialog_3_hours_duration)); 135 items.add(res.getString(R.string.recording_start_dialog_till_end_of_program)); 151 .setItems(items.toArray(new CharSequence[items.size()]), onClickListener)
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
H A D | EventDetector.java | 62 public void onPatDetected(List<PatItem> items) { 63 for (PatItem i : items) { 74 public void onEitItemParsed(VctItem channel, List<EitItem> items) { 89 // If at least a one caption track have been found in EIT items for the given channel, 92 for (EitItem item : items) { 103 for (EitItem item : items) { 108 mEventListener.onEventDetected(tunerChannel, items); 124 // Merges the audio and caption tracks located in PMT items into the tracks of the given 139 // If at least a one caption track have been found in VCT items for the given channel, 179 * @param items 181 onEventDetected(TunerChannel channel, List<EitItem> items) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | FilmstripDataAdapterProxy.java | 122 public List<AsyncTask> preloadItems(List<Integer> items) { argument 123 return mAdapter.preloadItems(items);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumDataLoader.java | 241 public ArrayList<MediaItem> items; field in class:AlbumDataLoader.UpdateInfo 293 ArrayList<MediaItem> items = info.items; 296 if ((items == null) || items.isEmpty()) { 304 int end = Math.min(info.reloadStart + items.size(), mContentEnd); 309 MediaItem updateItem = items.get(i - info.reloadStart); 380 info.items = mSource.getMediaItem(info.reloadStart, info.reloadCount);
|