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.java323 public Item mItem; field in SideFragment.ViewHolder
333 mItem = item; in onBind()
334 mItem.onBind(itemView); in onBind()
335 mItem.onUpdate(); in onBind()
339 mItem.onUnbind(); in onUnbind()
340 mItem = null; in onUnbind()
346 if (mItem instanceof RadioButtonItem) { in onClick()
347 mAdapter.clearRadioGroup(mItem); in onClick()
352 if (mItem != null) { in onClick()
353 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.java72 protected WidgetItem mItem; field in WidgetCell
140 mItem = item; in applyFromCellItem()
141 mWidgetName.setText(mItem.label); in applyFromCellItem()
143 mItem.spanX, mItem.spanY)); in applyFromCellItem()
145 R.string.widget_accessible_dims_format, mItem.spanX, mItem.spanY)); in applyFromCellItem()
186 DrawableFactory.INSTANCE.get(getContext()).getBadgeForUser(mItem.user, in applyPreview()
204 mItem, mPresetPreviewSize, mPresetPreviewSize, this); in ensurePreview()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java116 AvrcpItem mItem; field in BrowseTree.BrowseNode
135 mItem = item; in BrowseNode()
149 mItem = aid.build(); in BrowseNode()
162 mItem = aid.build(); in BrowseNode()
170 mItem = aid.build(); in BrowseNode()
240 return mItem.getDevice(); in getDevice()
244 return mItem.getCoverArtUuid(); in getCoverArtUuid()
248 mItem.setCoverArtLocation(uri); in setCoverArtUri()
271 return mItem.isBrowsable(); in isBrowsable()
288 return mItem.getUuid(); in getID()
[all …]
/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.java34 private final MediaItemMetadata mItem; field in MediaItemTab
44 mItem = item; in MediaItemTab()
52 mArtBinder.setImage(context, mItem.getArtworkKey()); in bindIcon()
60 return mItem; in getItem()
/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.java362 private final ItemInfo mItem; field in ModelWriter.UpdateItemRunnable
367 mItem = item; in UpdateItemRunnable()
377 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()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java552 nowPlayingList.add(child.mItem); in getNowPlayingList()