Home
last modified time | relevance | path

Searched refs:mItemInfo (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java62 protected final ItemInfo mItemInfo; field in SystemShortcut
79 mItemInfo = itemInfo; in SystemShortcut()
132 widgetsBottomSheet.populateAndShow(mItemInfo); in onClick()
133 mTarget.getStatsLogManager().logger().withItemInfo(mItemInfo) in onClick()
184 PackageManagerHelper.startDetailsActivityForInfo(view.getContext(), mItemInfo, in onClick() local
186 mTarget.getStatsLogManager().logger().withItemInfo(mItemInfo) in onClick()
264 mItemInfo.getTargetComponent().getPackageName(), mSpaceUser); in onClick()
265 mTarget.startActivitySafely(view, intent, mItemInfo); in onClick()
269 .withItemInfo(mItemInfo) in onClick()
306 mItemInfo.getTargetComponent().getPackageName(), Process.myUserHandle()); in onClick()
[all …]
DRemoteActionShortcut.java80 mTarget.getStatsLogManager().logger().withItemInfo(mItemInfo) in onClick()
85 + mItemInfo.getTargetComponent().getPackageName(); in onClick()
95 mItemInfo.getTargetComponent().getPackageName()), in onClick()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/
DSplitShortcut.kt56 when (mItemInfo) {
58 val workspaceItemInfo = mItemInfo
63 val appInfo = mItemInfo
79 mItemInfo,
/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/
DSystemShortcutTest.java85 private ItemInfo mItemInfo; field in SystemShortcutTest
110 mItemInfo = new ItemInfo(); in setUp()
133 assertNull(mItemInfo.getTargetComponent()); in testWidgetsForNullComponentName()
135 .getShortcut(mTestContext, mItemInfo, mView); in testWidgetsForNullComponentName()
164 assertFalse(mItemInfo.isPredictedItem()); in testDontSuggestAppForNonPredictedItem()
166 .getShortcut(mTestContext, mItemInfo, mView); in testDontSuggestAppForNonPredictedItem()
184 assertNull(mItemInfo.getTargetComponent()); in testPrivateProfileInstallwithTargetComponentNull()
186 .getShortcut(mTestContext, mItemInfo, mView); in testPrivateProfileInstallwithTargetComponentNull()
279 mTestContext, mItemInfo, mView); in testInstallGetShortcutWithNonWorkSpaceItemInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java289 .withItemInfo(mItemInfo) in onClick()
293 if (mItemInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_DEEP_SHORTCUT) { in onClick()
294 WorkspaceItemInfo workspaceItemInfo = (WorkspaceItemInfo) mItemInfo; in onClick()
305 mItemInfo.getIntent().getComponent(), in onClick()
307 mItemInfo.user), in onClick()
308 mItemInfo.user.getIdentifier(), in onClick()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
DAppSharing.java163 ComponentName targetComponent = mItemInfo.getTargetComponent(); in onClick()
187 UserHandle user = mItemInfo.user; in onClick()
191 mTarget.startActivitySafely(view, sendIntent, mItemInfo); in onClick()
206 String packageName = mItemInfo.getTargetComponent().getPackageName(); in checkShareability()
217 .hasUserRestriction(UserManager.DISALLOW_BLUETOOTH_SHARING, mItemInfo.user); in bluetoothSharingEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java226 private ItemInfo mItemInfo = DEFAULT_ITEM_INFO; field in StatsLogCompatManager.StatsCompatLogger
258 this.mItemInfo = itemInfo; in withItemInfo()
288 checkState(mItemInfo == DEFAULT_ITEM_INFO, in withContainerInfo()
314 checkState(mItemInfo == DEFAULT_ITEM_INFO && mSlice == null, in withSliceItem()
323 checkState(mItemInfo == DEFAULT_ITEM_INFO && mSliceItem == null, in withSlice()
380 if (mItemInfo == null) { in log()
384 if (mItemInfo.container < 0 || !LauncherAppState.INSTANCE.executeIfCreated(app -> { in log()
388 write(event, applyOverwrites(mItemInfo.buildProto( in log()
389 dataModel.collections.get(mItemInfo.container))))); in log()
394 () -> write(event, applyOverwrites(mItemInfo.buildProto()))); in log()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java240 update(mItemInfo, mPinnedApps::remove); in onClick()
242 update(mItemInfo, mPinnedApps::add); in onClick()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java515 pinPrediction(mItemInfo); in onClick()