Home
last modified time | relevance | path

Searched refs:mItem (Results 1 – 22 of 22) sorted by relevance

/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragment.java317 public Item mItem; field in SideFragment.ViewHolder
327 mItem = item; in onBind()
328 mItem.onBind(itemView); in onBind()
329 mItem.onUpdate(); in onBind()
333 mItem.onUnbind(); in onUnbind()
334 mItem = null; in onUnbind()
340 if (mItem instanceof RadioButtonItem) { in onClick()
341 mAdapter.clearRadioGroup(mItem); in onClick()
346 if (mItem != null) { in onClick()
347 mItem.onSelected(); in onClick()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java46 private MediaItem mItem; field in SinglePhotoDataAdapter
58 mItem = Utils.checkNotNull(item); in SinglePhotoDataAdapter()
155 mItem.requestLargeImage(), mLargeListener); in resume()
158 mItem.requestImage(MediaItem.TYPE_THUMBNAIL), in resume()
186 size.width = mItem.getWidth(); in getImageSize()
187 size.height = mItem.getHeight(); in getImageSize()
196 return (offset == 0) ? mItem.getFullImageRotation() : 0; in getImageRotation()
226 return mItem.getMediaType() == MediaItem.MEDIA_TYPE_VIDEO; in isVideo()
231 return (mItem.getSupportedOperations() & MediaItem.SUPPORT_DELETE) != 0; in isDeletable()
236 return offset == 0 ? mItem : null; in getMediaItem()
DPhotoDataAdapter.java692 private MediaItem mItem; field in PhotoDataAdapter.ScreenNailJob
695 mItem = item; in ScreenNailJob()
702 ScreenNail s = mItem.getScreenNail(); in run()
707 if (isTemporaryItem(mItem)) { in run()
708 return newPlaceholderScreenNail(mItem); in run()
711 Bitmap bitmap = mItem.requestImage(MediaItem.TYPE_THUMBNAIL).run(jc); in run()
715 mItem.getRotation() - mItem.getFullImageRotation(), true); in run()
722 private MediaItem mItem; field in PhotoDataAdapter.FullImageJob
725 mItem = item; in FullImageJob()
730 if (isTemporaryItem(mItem)) { in run()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java71 protected WidgetItem mItem; field in WidgetCell
138 mItem = item; in applyFromCellItem()
139 mWidgetName.setText(mItem.label); in applyFromCellItem()
141 mItem.spanX, mItem.spanY)); in applyFromCellItem()
143 R.string.widget_accessible_dims_format, mItem.spanX, mItem.spanY)); in applyFromCellItem()
184 .getBadgeForUser(mItem.user, getContext())); in applyPreview()
200 mItem, mPresetPreviewSize, mPresetPreviewSize, this); in ensurePreview()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java109 MediaItem mItem; field in BrowseTree.BrowseNode
131 mItem = item; in BrowseNode()
132 Bundle extras = mItem.getDescription().getExtras(); in BrowseNode()
150 mItem = new MediaBrowser.MediaItem(mdb.build(), mediaItemFlags); in BrowseNode()
161 mItem = new MediaBrowser.MediaItem(mdb.build(), mediaItemFlags); in BrowseNode()
168 mItem = new MediaBrowser.MediaItem(mdb.build(), MediaBrowser.MediaItem.FLAG_BROWSABLE); in BrowseNode()
245 return mItem.isBrowsable(); in isBrowsable()
261 return mItem.getDescription().getMediaId(); in getID()
285 return mItem; in getMediaItem()
308 String serialized = "[ Name: " + mItem.getDescription().getTitle() in toString()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsagePreference.java31 private final AppItem mItem; field in AppDataUsagePreference
38 mItem = item; in AppDataUsagePreference()
51 mDetail = provider.getUidDetail(mItem.key, true /* blocking */); in AppDataUsagePreference()
63 if (mItem.restricted && mItem.total <= 0) { in onBindViewHolder()
82 return mItem; in getItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsagePreference.java31 private final AppItem mItem; field in AppDataUsagePreference
38 mItem = item; in AppDataUsagePreference()
51 mDetail = provider.getUidDetail(mItem.key, true /* blocking */); in AppDataUsagePreference()
63 if (mItem.restricted && mItem.total <= 0) { in onBindViewHolder()
82 return mItem; in getItem()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSingleItemAlbum.java24 private final MediaItem mItem; field in SingleItemAlbum
29 mItem = item; in SingleItemAlbum()
30 mName = "SingleItemAlbum("+mItem.getClass().getSimpleName()+")"; in SingleItemAlbum()
44 result.add(mItem); in getMediaItem()
51 return mItem; in getItem()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java100 RunningState.BaseItem mItem; field in RunningProcessesView.ActiveItem
109 if (mItem instanceof RunningState.ServiceItem) { in updateTime()
115 String size = mItem.mSizeStr != null ? mItem.mSizeStr : ""; in updateTime()
116 if (!size.equals(mItem.mCurSizeStr)) { in updateTime()
117 mItem.mCurSizeStr = size; in updateTime()
121 if (mItem.mBackground) { in updateTime()
127 } else if (mItem instanceof RunningState.MergedItem) { in updateTime()
143 if (mItem instanceof RunningState.MergedItem) { in updateTime()
144 isService = ((RunningState.MergedItem)mItem).mServices.size() > 0; in updateTime()
192 ai.mItem = item; in bind()
DRunningServiceDetails.java185 } else if (mActiveItem.mItem.mBackground) { in onClick()
187 mAm.killBackgroundProcesses(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
191 mAm.forceStopPackage(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java100 RunningState.BaseItem mItem; field in RunningProcessesView.ActiveItem
109 if (mItem instanceof RunningState.ServiceItem) { in updateTime()
115 String size = mItem.mSizeStr != null ? mItem.mSizeStr : ""; in updateTime()
116 if (!size.equals(mItem.mCurSizeStr)) { in updateTime()
117 mItem.mCurSizeStr = size; in updateTime()
121 if (mItem.mBackground) { in updateTime()
127 } else if (mItem instanceof RunningState.MergedItem) { in updateTime()
143 if (mItem instanceof RunningState.MergedItem) { in updateTime()
144 isService = ((RunningState.MergedItem)mItem).mServices.size() > 0; in updateTime()
192 ai.mItem = item; in bind()
DRunningServiceDetails.java185 } else if (mActiveItem.mItem.mBackground) { in onClick()
187 mAm.killBackgroundProcesses(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
191 mAm.forceStopPackage(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java39 private MediaItem mItem; field in BitmapJobDrawable
49 if (mItem == item) return; in setMediaItem()
54 mItem = item; in setMediaItem()
59 if (mItem != null) { in setMediaItem()
63 mRotation = mItem.getRotation(); in setMediaItem()
171 mParent.mItem.requestImage(MediaItem.TYPE_MICROTHUMBNAIL), this); in submitBitmapTask()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DMediaItemTab.java30 private final MediaItemMetadata mItem; field in MediaItemTab
37 mItem = item; in MediaItemTab()
42 MediaItemMetadata.updateImageView(imageView.getContext(), mItem, imageView, 0, false); in bindIcon() local
50 return mItem; in getItem()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerViewAdapter.java35 private ArrayList<String> mItem = new ArrayList<>(); field in PagedRecyclerViewAdapter
38 this.mItem.add("nested_RecyclerView"); in PagedRecyclerViewAdapter()
58 return mItem.size(); in getItemCount()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java196 private T mItem; field in BaseTimeZoneAdapter.ItemViewHolder
210 mItem = item; in setAdapterItem()
219 mOnListItemClickListener.onListItemClick(mItem); in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPreloadIconDrawable.java80 private final ItemInfoWithIcon mItem; field in PreloadIconDrawable
109 mItem = info; in PreloadIconDrawable()
277 setIsDisabled(mItem.isDisabled()); in setInternalProgress()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneAdapter.java196 private T mItem; field in BaseTimeZoneAdapter.ItemViewHolder
210 mItem = item; in setAdapterItem()
219 mOnListItemClickListener.onListItemClick(mItem); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java220 private final AppItem mItem; field in AppDataUsagePreferenceController.AppDataUsagePreference
227 mItem = item; in AppDataUsagePreference()
242 mDetail = provider.getUidDetail(mItem.key, true /* blocking */); in AppDataUsagePreference()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java290 private final MediaItem mItem; field in AlbumSlidingWindow.ThumbnailLoader
294 mItem = item; in ThumbnailLoader()
300 mItem.requestImage(MediaItem.TYPE_MICROTHUMBNAIL), this); in submitBitmapTask()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java357 private final ItemInfo mItem; field in ModelWriter.UpdateItemRunnable
362 mItem = item; in UpdateItemRunnable()
372 updateItemArrays(mItem, mItemId); in run()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLivePreviewWidgetCell.java43 mActivity, mPreview, mItem.widgetInfo, mPresetPreviewSize, new int[1]); in ensurePreview()