Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java198 private DeviceProfile mDeviceProfile; field in QuickstepTransitionManager
230 mDeviceProfile = mLauncher.getDeviceProfile(); in QuickstepTransitionManager()
255 mDeviceProfile = dp; in onDeviceProfileChanged()
414 if (target == null) return new Rect(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx); in getWindowTargetBounds()
424 Utilities.rotateBounds(bounds, mDeviceProfile.heightPx, mDeviceProfile.widthPx, in getWindowTargetBounds()
427 Utilities.rotateBounds(bounds, mDeviceProfile.widthPx, mDeviceProfile.heightPx, in getWindowTargetBounds()
617 AnimOpenProperties prop = new AnimOpenProperties(mLauncher.getResources(), mDeviceProfile, in getOpeningWindowAnimators()
649 final float finalWindowRadius = mDeviceProfile.isMultiWindowMode in getOpeningWindowAnimators()
696 Utilities.rotateBounds(crop, mDeviceProfile.widthPx, in getOpeningWindowAnimators()
697 mDeviceProfile.heightPx, rotationChange); in getOpeningWindowAnimators()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/testing/
DTestActivity.java26 private DeviceProfile mDeviceProfile; field in TestActivity
40 return mDeviceProfile; in getDeviceProfile()
44 mDeviceProfile = deviceProfile; in setDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java88 private final DeviceProfile mDeviceProfile; field in TaskbarActivityContext
111 mDeviceProfile = dp; in TaskbarActivityContext()
122 float iconScale = taskbarIconSize / mDeviceProfile.iconSizePx; in TaskbarActivityContext()
123 mDeviceProfile.updateIconSize(iconScale, getResources()); in TaskbarActivityContext()
141 mDeviceProfile.taskbarSize, in init()
190 return mDeviceProfile; in getDeviceProfile()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java87 private DeviceProfile mDeviceProfile; field in FolderAnimationManager
98 mDeviceProfile = folder.mActivityContext.getDeviceProfile(); in FolderAnimationManager()
99 mPreviewVerifier = new FolderGridOrganizer(mDeviceProfile.inv); in FolderAnimationManager()
242 int width = mDeviceProfile.folderCellLayoutBorderSpacingPx in getAnimator()
243 + mDeviceProfile.folderCellWidthPx * 2; in getAnimator()
244 int height = mDeviceProfile.folderCellLayoutBorderSpacingPx in getAnimator()
245 + mDeviceProfile.folderCellHeightPx * 2; in getAnimator()
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/util/
DTaskViewSimulatorTest.java115 private DeviceProfile mDeviceProfile; field in TaskViewSimulatorTest.TaskMatrixVerifier
142 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(mContext) in verifyNoTransforms()
144 mDeviceProfile.updateInsets(mLauncherInsets); in verifyNoTransforms()
148 tvs.setDp(mDeviceProfile); in verifyNoTransforms()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java54 protected DeviceProfile mDeviceProfile; field in TestInformationHandler
59 mDeviceProfile = InvariantDeviceProfile.INSTANCE. in init()
112 mDeviceProfile.allAppsCellHeightPx); in call()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java82 protected DeviceProfile mDeviceProfile; field in BaseActivity
142 return mDeviceProfile; in getDeviceProfile()
273 mDPChangeListeners.get(i).onDeviceProfileChanged(mDeviceProfile); in dispatchDeviceProfileChanged()
DBaseDraggingActivity.java302 if (mDeviceProfile.isVerticalBarLayout()) { in onDeviceProfileInitiated()
303 mDeviceProfile.updateIsSeascape(this); in onDeviceProfileInitiated()
309 if ((flags & CHANGE_ROTATION) != 0 && mDeviceProfile.updateIsSeascape(this)) { in onDisplayInfoChanged()
DLauncher.java557 onIdpChanged(mDeviceProfile.inv); in onConfigurationChanged()
591 mDeviceProfile = idp.getDeviceProfile(this); in initDeviceProfile()
593 mDeviceProfile = mDeviceProfile.getMultiWindowProfile( in initDeviceProfile()
2603 mDeviceProfile.inv.numFolderColumns * mDeviceProfile.inv.numFolderRows); in finishBindingItems()
2754 mDeviceProfile.dump(prefix, writer); in dump()
DWorkspace.java461 return mLauncher.mDeviceProfile.isTwoPanels; in isTwoPanelEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DQuickstepTestInformationHandler.java38 LayoutUtils.getDefaultSwipeHeight(mContext, mDeviceProfile); in call()
45 LayoutUtils.getShelfTrackingDistance(mContext, mDeviceProfile, in call()
DRecentsActivity.java328 mDeviceProfile = createDeviceProfile(); in initDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java57 private final DeviceProfile mDeviceProfile; field in PredictedAppIcon
80 mDeviceProfile = ActivityContext.lookupContext(context).getDeviceProfile(); in PredictedAppIcon()
165 return getPaddingTop() + mDeviceProfile.folderIconOffsetYPx; in getOutlineOffsetY()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsListHeaderViewHolderBinderTest.java80 private DeviceProfile mDeviceProfile; field in WidgetsListHeaderViewHolderBinderTest
96 mTestActivity.setDeviceProfile(mDeviceProfile); in setUp()
DWidgetsListSearchHeaderViewHolderBinderTest.java80 private DeviceProfile mDeviceProfile; field in WidgetsListSearchHeaderViewHolderBinderTest
96 mTestActivity.setDeviceProfile(mDeviceProfile); in setUp()
DWidgetsListTableViewHolderBinderTest.java91 private DeviceProfile mDeviceProfile; field in WidgetsListTableViewHolderBinderTest
103 mTestActivity.setDeviceProfile(mDeviceProfile); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java94 mDeviceProfile = currentDisplayIdp.getDeviceProfile(this) in initUi()
99 mDeviceProfile.autoResizeAllAppsCells(); in initUi()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoaderTest.java69 @Mock private DeviceProfile mDeviceProfile; field in CachingWidgetPreviewLoaderTest
87 mTestActivity.setDeviceProfile(mDeviceProfile); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java127 mDeviceProfile = mIdp.getDeviceProfile(getApplicationContext()); in onCreate()