/packages/apps/TV/src/com/android/tv/tuner/ts/ |
H A D | TsParser.java | 276 for (EttItem item : descriptions) { 277 if (item.eventId == 0) { 279 mSourceIdToVctItemDescriptionMap.put(sourceId, item.text); 282 vctItem.setDescription(item.text); 388 for (EitItem item : eitItems) { 389 item.setDescription(null); 390 itemSet.put(item.getEventId(), item); 399 EitItem item = itemSet.get(ettItem.eventId); 400 if (item ! [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Workspace.java | 372 * Estimates the size of an item using spans: hSpan, vSpan. 431 // The outline is used to visualize where the item will land if dropped 612 Log.e(TAG, "Failed to add to item at (0, 0) to CellLayout"); 777 // If this is the last item on the final screen 1120 Log.e(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout"); 2265 // Don't accept the drop if there's no room for the item 2457 // First we find the cell nearest to point at which the item is 2458 // dropped, without any consideration to whether there is an item there. 2465 // If the item being dropped is a shortcut and the nearest drop 2479 ItemInfo item [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
H A D | SoundSettingsFragment.java | 153 for (VolumeLineItem item : mVolumeLineItems) { 154 item.stop(); 176 for (VolumeLineItem item : mVolumeLineItems) { 177 if (streamType == item.getStreamType()) {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | ItemAdapter.java | 33 * changing items, persistent item state, item click events, and re-usable item views. 39 * Finds the position of the changed item holder and invokes {@link #notifyItemChanged(int)} or 83 * Invoked when any item changes. 98 * List of current item holders represented by this adapter. 114 * new item view holders in {@link #onCreateViewHolder(ViewGroup, int)}. 116 * @param factory the {@link ItemViewHolder.Factory} used to create new item view holders 132 * @return the current list of item holders represented by this adapter 139 * Sets the list of item holder 304 public final T item; field in class:ItemAdapter.ItemHolder 322 ItemHolder(T item, long itemId) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
H A D | RingtoneHolder.java | 46 Uri getUri() { return item; }
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | CallLogActivity.java | 139 public boolean onOptionsItemSelected(MenuItem item) { argument 144 if (item.getItemId() == android.R.id.home) { 150 } else if (item.getItemId() == R.id.delete_all) { 154 return super.onOptionsItemSelected(item);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
H A D | QuickViewIntentBuilder.java | 116 ClipData.Item item; 120 item = new ClipData.Item(uri); 125 item); 127 clipData.addItem(item);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaSource.java | 49 public Path getDefaultSetOf(Path item) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 170 for (MediaItem item : list) { 171 items.add(item.getPath()); 225 for (MediaItem item : list) { 226 Path id = item.getPath();
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CreateShortcut.java | 61 final ListItem item = itemForPosition(position); 62 logCreateShortcut(item.resolveInfo); 64 item.resolveInfo, item.label));
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | ItemListRowView.java | 133 * newly update item list. 150 * By default, the first item is initially selected. 161 /** The item list. */ 167 * Sets the item list. 169 * <p>This sends an item change event, not a structural change event. The items of the same 201 * Returns the position of the item. 203 protected int getItemPosition(T item) { argument 204 return mItemList.indexOf(item); 208 * Returns {@code true} if the item list contains the item, otherwis 210 containsItem(T item) argument [all...] |
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
H A D | FileSourceEventDetector.java | 141 for (EitItem item : items) { 145 List<AtscCaptionTrack> captionTracks = item.getCaptionTracks(); 152 for (EitItem item : items) { 153 item.setHasCaptionTrack();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | MaterialSearchSuggestionsList.java | 209 final SuggestionItem item = mSuggestions.get(position); 212 text.setText(item.suggestion); 214 item.suggestion)); 216 .setImageURI(item.icon);
|
H A D | RestrictedActivity.java | 187 boolean onOptionsItemSelected(MenuItem item); argument
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportListActivity.java | 127 public boolean onContextItemSelected(MenuItem item) { argument 129 (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); 133 int id = item.getItemId(); 146 return super.onContextItemSelected(item);
|
/packages/experimental/PrintApp/src/foo/bar/print/ |
H A D | Main.java | 68 public boolean onOptionsItemSelected(MenuItem item) { argument 69 switch (item.getItemId()) { 79 switch (item.getItemId()) { 97 return super.onOptionsItemSelected(item);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | SentenceLevelAdapter.java | 181 final SentenceWordItem item = originalTextInfoParams.mItems.get(i); 185 if (cur != null && cur.getSequence() == item.mTextInfo.getSequence()) { 191 offsets[i] = item.mStart; 192 lengths[i] = item.mLength;
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | CameraDeviceReport.java | 152 for (int item : p.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES)) { 153 Log.v(TAG, " " + item + " = " + getCapabilityName(item)); 154 if (item == 4 || item == 7) { 218 for (Range<Integer> item : p.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES)) { 219 Log.v(TAG, " " + item);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | EditorGrad.java | 137 MenuItem item = mPopupMenu.getMenu().findItem(R.id.editor_grad_brightness); 138 mEffectName = item.getTitle().toString(); 276 public boolean onMenuItemClick(MenuItem item) { 281 int cmdID = item.getItemId(); 285 mEffectName = item.getTitle().toString(); 289 mEffectName = item.getTitle().toString(); 293 mEffectName = item.getTitle().toString();
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
H A D | PeopleAndOptionsFragment.java | 134 public void onOptionsItemViewClicked(final PeopleOptionsItemData item, argument 136 switch (item.getItemId()) { 144 item.getRingtoneUri(), Settings.System.DEFAULT_NOTIFICATION_URI, 155 if (item.getOtherParticipant().isBlocked()) { 163 item.getOtherParticipant().getDisplayDestination())) 262 final ParticipantData item = getItem(position); 272 DataModel.get().createParticipantListItemData(item);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
H A D | DashboardData.java | 36 * Description about data list used in the DashboardAdapter. In the data list each item can be 107 for (final Item item : mItems) { 108 if (item.id == id) { 109 return item.entity; 142 final Object item = mItems.get(i).entity; 143 if (entity.equals(item)) { 199 * Add item into list when {@paramref add} is true. 201 * @param item maybe {@link Condition}, {@link Tile}, {@link DashboardCategory} or null 202 * @param type type of the item, and value is the layout id 203 * @param stableId The stable id for this item 206 addToItemList(Object item, int type, int stableId, boolean add) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationPagerAdapter.java | 270 public int getItemPosition(Object item) { argument 271 if (!(item instanceof AbstractConversationViewFragment)) { 272 LogUtils.wtf(LOG_TAG, "getItemPosition received unexpected item: %s", item); 275 final AbstractConversationViewFragment fragment = (AbstractConversationViewFragment) item; 389 // when the currently visible item disappears from the dataset: 390 // if the new version of the currently visible item has zero messages: 394 // 'detach' the conversation view from the cursor, keeping the current item as-is but 416 "CPA: notifyDataSetChanged: fragment null, current item: %d", 441 public void setItemVisible(Fragment item, boolea argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsRecyclerView.java | 250 AlphabeticalAppsList.AdapterItem item = items.get(position); 251 if (item.viewType == AllAppsGridAdapter.VIEW_TYPE_PREDICTION_ICON) { 253 target.predictedRank = item.rowAppIndex; 442 // Calculate the y and offset for the item 460 AlphabeticalAppsList.AdapterItem item = items.get(i); 461 if (AllAppsGridAdapter.isIconViewType(item.viewType)) { 463 if (posItem != null && posItem.viewType == item.viewType && 464 posItem.rowIndex == item.rowIndex) { 469 if (item.rowAppIndex == 0) { 470 y += mViewHeights.get(item [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
H A D | DvrBrowseFragment.java | 614 public long getId(Object item) { argument 615 if (item instanceof ScheduledRecording) { 616 return ((ScheduledRecording) item).getId(); 639 public long getId(SeriesRecording item) { argument 640 return item.getId(); 654 public long getId(Object item) { argument 656 if (item instanceof SeriesRecording) { 657 return ((SeriesRecording) item).getId(); 658 } else if (item instanceof RecordedProgram) { 659 return -((RecordedProgram) item) [all...] |
/packages/services/Car/tools/io_analysis/ |
H A D | check_file_read.py | 103 sorted(self.ext4_access_size_histogram.items(), key = lambda item: item[0])) 106 sorted(self.ext4_single_block_accesses.items(), key = lambda item: item[1], reverse = True)) 109 sorted(self.block_access_size_histogram.items(), key = lambda item: item[0])) 112 sorted(self.block_single_block_accesses.items(), key = lambda item: item[1], reverse = True)) 114 sorted_blocks_histogram = sorted(self.blocks_histogram.items(), key = lambda item: item[ [all...] |