Home
last modified time | relevance | path

Searched refs:DeviceProfile (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java27 import com.android.launcher3.DeviceProfile;
42 public static void calculateLauncherTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateLauncherTaskSize()
52 public static void calculateFallbackTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFallbackTaskSize()
57 public static void calculateTaskSize(Context context, DeviceProfile dp, in calculateTaskSize()
65 DeviceProfile fullDp = dp.getFullScreenProfile(); in calculateTaskSize()
116 public static int getShelfTrackingDistance(Context context, DeviceProfile dp) { in getShelfTrackingDistance()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java34 public class DeviceProfile { class
134 public DeviceProfile(Context context, InvariantDeviceProfile inv, in DeviceProfile() method in DeviceProfile
237 public DeviceProfile copy(Context context) { in copy()
239 return new DeviceProfile(context, inv, size, size, widthPx, heightPx, isLandscape, in copy()
243 public DeviceProfile getMultiWindowProfile(Context context, Point mwSize) { in getMultiWindowProfile()
251 DeviceProfile profile = new DeviceProfile(context, inv, mwSize, mwSize, mwSize.x, mwSize.y, in getMultiWindowProfile()
275 public DeviceProfile getFullScreenProfile() { in getFullScreenProfile()
597 void onDeviceProfileChanged(DeviceProfile dp); in onDeviceProfileChanged()
DInvariantDeviceProfile.java116 public DeviceProfile landscapeProfile;
117 public DeviceProfile portraitProfile;
228 landscapeProfile = new DeviceProfile(context, this, smallestSize, largestSize, in initGrid()
230 portraitProfile = new DeviceProfile(context, this, smallestSize, largestSize, in initGrid()
434 public DeviceProfile getDeviceProfile(Context context) { in getDeviceProfile()
DBaseActivity.java30 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
79 protected DeviceProfile mDeviceProfile;
113 public DeviceProfile getDeviceProfile() { in getDeviceProfile()
DShortcutAndWidgetContainer.java96 DeviceProfile profile = mActivity.getWallpaperDeviceProfile(); in setupLp()
116 final DeviceProfile profile = mActivity.getWallpaperDeviceProfile(); in measureChild()
153 DeviceProfile profile = mActivity.getDeviceProfile(); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DActivityContext.java23 import com.android.launcher3.DeviceProfile;
58 DeviceProfile getDeviceProfile(); in getDeviceProfile()
65 default DeviceProfile getWallpaperDeviceProfile() { in getWallpaperDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseRecentsActivity.java27 import com.android.launcher3.DeviceProfile;
103 protected DeviceProfile createDeviceProfile() { in createDeviceProfile()
104 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile()
DActivityControlHelper.java35 import com.android.launcher3.DeviceProfile;
52 int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect); in getSwipeUpDestinationAndLength()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DRecentsActivity.java36 import com.android.launcher3.DeviceProfile;
93 protected DeviceProfile createDeviceProfile() { in createDeviceProfile()
94 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile()
DTaskSystemShortcut.java37 import com.android.launcher3.DeviceProfile;
153 final DeviceProfile.OnDeviceProfileChangeListener onDeviceProfileChangeListener = in getOnClickListener()
154 new DeviceProfile.OnDeviceProfileChangeListener() { in getOnClickListener()
156 public void onDeviceProfileChanged(DeviceProfile dp) { in getOnClickListener()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionRowView.java37 import com.android.launcher3.DeviceProfile;
38 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
226 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
374 public void setInsets(Rect insets, DeviceProfile grid) { in setInsets()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderRow.java21 import com.android.launcher3.DeviceProfile;
33 void setInsets(Rect insets, DeviceProfile grid); in setInsets()
DPluginHeaderRow.java26 import com.android.launcher3.DeviceProfile;
49 public void setInsets(Rect insets, DeviceProfile grid) { } in setInsets()
DAllAppsTransitionController.java23 import com.android.launcher3.DeviceProfile;
24 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
102 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DGoActivityControlHelper.java7 import com.android.launcher3.DeviceProfile;
25 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java39 import com.android.launcher3.DeviceProfile;
112 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure()
117 int cellWidth = DeviceProfile.calculateCellWidth(rowWidth, dp.inv.numHotseatIcons); in onMeasure()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java27 import com.android.launcher3.DeviceProfile;
137 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
195 DeviceProfile profile = launcher.getDeviceProfile(); in onLauncherStateOrResumeChanged()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java26 import com.android.launcher3.DeviceProfile;
79 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java19 import com.android.launcher3.DeviceProfile;
89 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLivePreviewWidgetCell.java12 import com.android.launcher3.DeviceProfile;
61 DeviceProfile dp = activity.getDeviceProfile(); in generateFromRemoteViews()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DSpringLoadedState.java23 import com.android.launcher3.DeviceProfile;
45 DeviceProfile grid = launcher.getDeviceProfile(); in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java27 import com.android.launcher3.DeviceProfile;
91 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java21 import com.android.launcher3.DeviceProfile;
41 protected DeviceProfile mDeviceProfile;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java27 import com.android.launcher3.DeviceProfile;
127 DeviceProfile dp = mLauncher.getDeviceProfile(); in canInterceptTouch()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java28 import com.android.launcher3.DeviceProfile;
98 DeviceProfile grid = launcher.getDeviceProfile(); in onAllAppsItemLongClick()

123