/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationViewAdapter.java | 89 private final List<ConversationOverlayItem> mItems; field in ConversationViewAdapter 570 mItems = Lists.newArrayList(); in ConversationViewAdapter() 579 return mItems.size(); in getCount() 584 return mItems.get(position).getType(); in getItemViewType() 594 return mItems.get(position); in getItem() 630 final int pos = mItems.size(); in addItem() 632 mItems.add(item); in addItem() 637 mItems.clear(); in clear() 674 final int pos = mItems.indexOf(blockToRemove); in replaceSuperCollapsedBlock() 679 mItems.remove(pos); in replaceSuperCollapsedBlock() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/util/ |
D | DialerUtilsTest.java | 40 private ArrayList<CharSequence> mItems = Lists.newArrayList(); field in DialerUtilsTest 53 mItems.clear(); in testJoinEmpty() 54 CharSequence joined = DialerUtils.join(mResources, mItems); in testJoinEmpty() 62 mItems.clear(); in testJoinOne() 63 mItems.add("Hello"); in testJoinOne() 64 CharSequence joined = DialerUtils.join(mResources, mItems); in testJoinOne() 72 mItems.clear(); in testJoinTwo() 73 mItems.add("Hello"); in testJoinTwo() 74 mItems.add("there"); in testJoinTwo() 75 CharSequence joined = DialerUtils.join(mResources, mItems); in testJoinTwo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DialogDetailsView.java | 120 private final ArrayList<String> mItems; field in DialogDetailsView.DetailsAdapter 129 mItems = new ArrayList<String>(details.size()); in DetailsAdapter() 142 mLocationIndex = mItems.size(); in setDetails() 187 mWidthIndex = mItems.size(); in setDetails() 196 mHeightIndex = mItems.size(); in setDetails() 242 mItems.add(value); in setDetails() 261 return mItems.size(); in getCount() 283 tv.setText(mItems.get(position)); in getView() 289 mItems.set(mLocationIndex, address); in onAddressAvailable() 304 mItems.set(mWidthIndex, String.valueOf(widthString)); in onResolutionAvailable() [all …]
|
D | PopupList.java | 60 private final ArrayList<Item> mItems = new ArrayList<Item>(); field in PopupList 79 mItems.add(new Item(id, title)); in addItem() 83 mItems.clear(); in clearItems() 173 for (Item item : mItems) { in findItem() 182 return mItems.size(); in getCount() 187 return mItems.get(position); in getItem() 192 return mItems.get(position).id; in getItemId() 202 text.setText(mItems.get(position).title); in getView()
|
D | MenuExecutor.java | 414 private final ArrayList<Path> mItems; field in MenuExecutor.MediaOperation 421 mItems = items; in MediaOperation() 432 for (Path id : mItems) { in run()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | PickerColumn.java | 27 private final String[] mItems; field in PickerColumn 33 mItems = items; in PickerColumn() 38 mItems = new String[count]; in PickerColumn() 39 source.readStringArray(mItems); in PickerColumn() 43 return mItems; in getItems() 67 dest.writeInt(mItems.length); in writeToParcel() 68 dest.writeStringArray(mItems); in writeToParcel() 75 for (String s : mItems) { in toString()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningProcessesView.java | 217 final ArrayList<RunningState.MergedItem> mItems field in RunningProcessesView.ServiceListAdapter 247 mItems.clear(); in refreshItems() 249 mItems.clear(); in refreshItems() 250 mItems.addAll(newItems); in refreshItems() 252 Collections.sort(mItems, mState.mBackgroundComparator); in refreshItems() 263 return mItems.size(); in getCount() 268 return mState.hasData() && mItems.size() == 0; in isEmpty() 272 return mItems.get(position); in getItem() 276 return mItems.get(position).hashCode(); in getItemId() 284 return !mItems.get(position).mIsProcess; in isEnabled() [all …]
|
D | RunningState.java | 212 ArrayList<BaseItem> mItems = new ArrayList<BaseItem>(); field in RunningState 1242 mItems = newItems; in update() 1408 return mItems; in getCurrentItems()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 130 if (prevScanning == scanning && mAdapter.mItems.size() == 0) return; in updateScanningDialog() 135 } else if (scanning && mAdapter.mItems.size() == 0) { in updateScanningDialog() 198 mAdapter.mItems.get(position).launch(this); in launchFolderGallery() 229 if (position < 0 || position >= mAdapter.mItems.size()) { in onSlideShowClicked() 233 Item item = mAdapter.mItems.get(position); in onSlideShowClicked() 487 int numItems = mAdapter.mItems.size(); in checkBucketIdsFinished() 491 mAdapter.mItems.get(0).launch(this); in checkBucketIdsFinished() 872 ArrayList<Item> mItems = new ArrayList<Item>(); 880 mItems.add(item); 888 mItems.clear(); [all …]
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieMenu.java | 90 private List<PieItem> mItems; field in PieMenu 138 mItems = new ArrayList<PieItem>(); in init() 172 mItems.add(item); in addItem() 179 mItems.remove(item); in removeItem() 183 mItems.clear(); in clearItems() 203 mCurrentItems = mItems; in show() 331 if (!mItems.contains(item)) { in drawItem() 535 mCurrentItems = new ArrayList<PieItem>(mItems.size()); in openSub() 537 while (i < mItems.size()) { in openSub() 538 if (mItems.get(i) == item) { in openSub() [all …]
|
D | PieItem.java | 41 private List<PieItem> mItems; field in PieItem 59 return mItems != null; in hasItems() 63 return mItems; in getItems() 67 if (mItems == null) { in addItem() 68 mItems = new ArrayList<PieItem>(); in addItem() 70 mItems.add(item); in addItem()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | DetailsDialog.java | 77 private final ArrayList<String> mItems; 86 mItems = new ArrayList<String>(details.size()); 137 mWidthIndex = mItems.size(); 146 mHeightIndex = mItems.size(); 194 mItems.add(value); 220 return mItems.size(); 242 tv.setText(mItems.get(position)); 256 mItems.set(mWidthIndex, String.valueOf(widthString)); 257 mItems.set(mHeightIndex, String.valueOf(heightString));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | TimeClustering.java | 356 private ArrayList<SmallItem> mItems = new ArrayList<SmallItem>(); field in Cluster 362 mItems.add(item); in addItem() 366 return mItems.size(); in size() 370 int n = mItems.size(); in getLastItem() 371 return (n == 0) ? null : mItems.get(n - 1); in getLastItem() 375 return mItems; in getItems() 379 int n = mItems.size(); in generateCaption() 384 long t = mItems.get(i).dateInMs; in generateCaption()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieItem.java | 47 private List<PieItem> mItems; field in PieItem 68 return mItems != null; in hasItems() 72 return mItems; in getItems() 76 if (mItems == null) { in addItem() 77 mItems = new ArrayList<PieItem>(); in addItem() 79 mItems.add(item); in addItem()
|
D | PieRenderer.java | 84 private List<PieItem> mItems; field in PieRenderer 156 mItems = new ArrayList<PieItem>(); in init() 195 mItems.add(item); in addItem() 199 mItems.remove(item); in removeItem() 203 mItems.clear(); in clearItems() 235 for (PieItem item : mItems) { in show() 284 layoutItems(mItems, (float) (Math.PI / 2), inner, outer, gap); in layoutPie() 387 for (PieItem item : mItems) { in onDraw() 574 List<PieItem> items = (mOpenItem != null) ? mOpenItem.getItems() : mItems; in findItem()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AddAdapter.java | 39 private final ArrayList<ListItem> mItems = new ArrayList<ListItem>(); field in AddAdapter 73 mItems.add(new ListItem(res, R.string.group_wallpapers, in AddAdapter() 93 return mItems.size(); in getCount() 97 return mItems.get(position); in getItem()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetPickActivity.java | 51 List<PickAdapter.Item> mItems; field in AppWidgetPickActivity 91 mItems = mAppWidgetLoader.getItems(getIntent()); in getItems() 92 return mItems; in getItems() 147 PickAdapter.Item item = mItems.get(which); in onClick()
|
D | DataUsageSummary.java | 1667 private ArrayList<AppItem> mItems = Lists.newArrayList(); field in DataUsageSummary.DataUsageAdapter 1680 mItems.clear(); in bindStats() 1743 mItems.add(item); in bindStats() 1749 if (!mItems.isEmpty()) { in bindStats() 1752 mItems.add(title); in bindStats() 1755 Collections.sort(mItems); in bindStats() 1776 mItems.add(item); in accumulate() 1788 return mItems.size(); in getCount() 1793 return mItems.get(position); in getItem() 1798 return mItems.get(position).key; in getItemId() [all …]
|
D | ActivityPicker.java | 272 private final List<Item> mItems; field in ActivityPicker.PickAdapter 279 mItems = items; in PickAdapter() 286 return mItems.size(); in getCount() 293 return mItems.get(position); in getItem()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 178 final ArrayList<SentenceLevelAdapter.SentenceWordItem> mItems = in splitAndSuggest() local 179 textInfoParams.mItems; in splitAndSuggest() 180 final int itemsSize = mItems.size(); in splitAndSuggest() 183 splitTextInfos[j] = mItems.get(j).mTextInfo; in splitAndSuggest()
|
D | SentenceLevelAdapter.java | 67 final ArrayList<SentenceWordItem> mItems; field in SentenceLevelAdapter.SentenceTextInfoParams 71 mItems = items; in SentenceTextInfoParams() 179 final SentenceWordItem item = originalTextInfoParams.mItems.get(i);
|