Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java102 private WidgetItem mItem; field in WidgetCell
179 return mItem; in getWidgetItem()
217 mItem = null; in clear()
242 mItem = item; in applyFromCellItem()
243 mWidgetSize = getWidgetItemSizePx(getContext(), mActivity.getDeviceProfile(), mItem); in applyFromCellItem()
246 mWidgetName.setText(mItem.label); in applyFromCellItem()
248 mItem.spanX, mItem.spanY)); in applyFromCellItem()
249 if (!TextUtils.isEmpty(mItem.description)) { in applyFromCellItem()
250 mWidgetDescription.setText(mItem.description); in applyFromCellItem()
261 R.string.widget_add_button_content_description, mItem.label)); in applyFromCellItem()
[all …]
/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/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/datausage/
DAppDataUsagePreference.java34 private final AppItem mItem; field in AppDataUsagePreference
42 mItem = item; in AppDataUsagePreference()
58 mDetail = provider.getUidDetail(mItem.key, true /* blocking */); in AppDataUsagePreference()
70 if (mItem.restricted && mItem.total <= 0) { in onBindViewHolder()
91 return mItem; in getItem()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListItemTest.java69 private CellBroadcastListItem mItem; field in CellBroadcastListItemTest
84 mItem = new CellBroadcastListItem(mContext, null); in setUp()
85 mItem.mChannelView = mMockChannelView; in setUp()
86 mItem.mDateView = mMockDateView; in setUp()
87 mItem.mMessageView = mMockMessageView; in setUp()
101 mItem.bind(mMessage); in testCellBroadcastListItemBindOnRoaming()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java147 AvrcpItem mItem; field in BrowseTree.BrowseNode
167 mItem = item; in BrowseNode()
181 mItem = aid.build(); in BrowseNode()
194 mItem = aid.build(); in BrowseNode()
202 mItem = aid.build(); in BrowseNode()
272 return mItem.getDevice(); in getDevice()
276 return mItem.getCoverArtUuid(); in getCoverArtUuid()
280 mItem.setCoverArtLocation(uri); in setCoverArtUri()
303 return mItem.isBrowsable(); in isBrowsable()
320 return mItem.getUuid(); in getID()
[all …]
/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/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppDataUsagePreferenceController.java248 private final AppItem mItem; field in AppDataUsagePreferenceController.AppDataUsagePreference
255 mItem = item; in AppDataUsagePreference()
271 mDetail = provider.getUidDetail(mItem.key, /* blocking= */ true); in AppDataUsagePreference()
295 AppSpecificDataUsageFragment.getInstance(mItem, mNetworkTemplate)); in setOnClickListener()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPreloadIconDrawable.java86 private final ItemInfoWithIcon mItem; field in PreloadIconDrawable
134 mItem = info; in PreloadIconDrawable()
145 int primaryIconColor = mItem.bitmap.color; in PreloadIconDrawable()
363 mItem, in newConstantState()
/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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DBrowseTreeTest.java55 assertThat(browseTree.mRootNode.mItem.getDevice()).isEqualTo(null); in constructor_withoutDevice()
62 assertThat(browseTree.mRootNode.mItem.getDevice()).isEqualTo(mTestDevice); in constructor_withDevice()
DAvrcpControllerStateMachineTest.java311 nowPlayingList.add(child.mItem); in getNowPlayingList()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java401 private final ItemInfo mItem; field in ModelWriter.UpdateItemRunnable
406 mItem = item; in UpdateItemRunnable()
415 updateItemArrays(mItem, mItemId); in runImpl()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java133 @Mock private BluetoothMapAccountItem mItem; field in BluetoothMapContentObserverTest
195 mObserver.mAccount = mItem; in setUp()
196 when(mItem.getType()).thenReturn(TYPE.IM); in setUp()