Home
last modified time | relevance | path

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

12345

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPagedOrientationHandler.java33 import com.android.launcher3.DeviceProfile;
85 int getSplitTaskViewDismissDirection(SplitPositionOption splitPosition, DeviceProfile dp); in getSplitTaskViewDismissDirection()
96 int getSplitAnimationTranslation(int translationOffset, DeviceProfile dp); in getSplitAnimationTranslation()
114 DeviceProfile deviceProfile); in getSplitSelectTaskOffset()
115 int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect); in getDistanceToBottomOfRect()
116 List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp); in getSplitPositionOptions()
126 void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation()
134 LinearLayout viewGroup, DeviceProfile deviceProfile); in setLayoutParamsForTaskMenuOptionItem()
DLandscapePagedViewHandler.java41 import com.android.launcher3.DeviceProfile;
166 DeviceProfile dp) { in getSplitTaskViewDismissDirection()
252 public int getSplitAnimationTranslation(int translationOffset, DeviceProfile dp) { in getSplitAnimationTranslation()
272 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation()
282 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem()
343 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
348 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
357 DeviceProfile deviceProfile) { in getSplitSelectTaskOffset()
DPortraitPagedViewHandler.java39 import com.android.launcher3.DeviceProfile;
162 DeviceProfile dp) { in getSplitTaskViewDismissDirection()
254 public int getSplitAnimationTranslation(int translationOffset, DeviceProfile dp) { in getSplitAnimationTranslation()
277 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation()
294 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem()
364 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
369 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
402 DeviceProfile dp) { in getSplitSelectTaskOffset()
DSeascapePagedViewHandler.java31 import com.android.launcher3.DeviceProfile;
57 public int getSplitAnimationTranslation(int translationOffset, DeviceProfile dp) { in getSplitAnimationTranslation()
105 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
110 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/testing/
DTestActivity.java19 import com.android.launcher3.DeviceProfile;
26 private DeviceProfile mDeviceProfile;
39 public DeviceProfile getDeviceProfile() { in getDeviceProfile()
43 public void setDeviceProfile(DeviceProfile deviceProfile) { in setDeviceProfile()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetSizes.java33 import com.android.launcher3.DeviceProfile;
58 for (DeviceProfile profile : LauncherAppState.getIDP(context).supportedProfiles) { in getWidgetPaddedSizes()
71 public static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY) { in getWidgetSizePx()
79 DeviceProfile profile, int spanX, int spanY) { in getWidgetPaddedSizePx()
92 public static Size getWidgetItemSizePx(Context context, DeviceProfile profile, in getWidgetItemSizePx()
103 private static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY, in getWidgetSizePx()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java47 import com.android.launcher3.DeviceProfile;
111 DeviceProfile dp, Context context, Rect outRect, in getSwipeUpDestinationAndLength()
209 public final void calculateTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateTaskSize()
248 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, in calculateTaskSizeInternal()
271 private static PointF getTaskDimension(Context context, DeviceProfile dp) { in getTaskDimension()
280 public static void getTaskDimension(Context context, DeviceProfile dp, PointF out) { in getTaskDimension()
302 public final void calculateGridSize(Context context, DeviceProfile dp, Rect outRect) { in calculateGridSize()
317 public final void calculateGridTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateGridTaskSize()
341 public final void calculateModalTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateModalTaskSize()
351 private int getOverviewActionsHeight(Context context, DeviceProfile dp) { in getOverviewActionsHeight()
DSwipeUpAnimationLogic.java33 import com.android.launcher3.DeviceProfile;
53 protected DeviceProfile mDp;
88 protected void initTransitionEndpoints(DeviceProfile dp) { in initTransitionEndpoints()
136 DeviceProfile dp = mDp; in getWindowTargetRect()
DTaskShortcutFactory.java36 import com.android.launcher3.DeviceProfile;
154 final DeviceProfile.OnDeviceProfileChangeListener onDeviceProfileChangeListener = in onClick()
155 new DeviceProfile.OnDeviceProfileChangeListener() { in onClick()
157 public void onDeviceProfileChanged(DeviceProfile dp) { in onClick()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java28 import com.android.launcher3.DeviceProfile;
155 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans()
178 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans()
257 DeviceProfile profile = Mockito.mock(DeviceProfile.class); in createIDP()
265 List<DeviceProfile> supportedProfiles = new ArrayList<>(idp.supportedProfiles); in createIDP()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java33 import com.android.launcher3.DeviceProfile;
96 protected DeviceProfile mDp;
223 public void setDp(DeviceProfile dp) { in setDp()
254 SysUINavigationMode.Mode mode, DeviceProfile dp) { in getOverviewActionsTopMarginPx()
269 SysUINavigationMode.Mode mode, DeviceProfile dp) { in getOverviewActionsBottomMarginPx()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java23 import com.android.launcher3.DeviceProfile;
33 public static float getDefaultSwipeHeight(Context context, DeviceProfile dp) { in getDefaultSwipeHeight()
41 public static int getShelfTrackingDistance(Context context, DeviceProfile dp, in getShelfTrackingDistance()
DRecentsOrientedState.java46 import com.android.launcher3.DeviceProfile;
163 public void setDeviceProfile(DeviceProfile deviceProfile) { in setDeviceProfile()
395 public float getFullScreenScaleAndPivot(Rect taskView, DeviceProfile dp, PointF outPivot) { in getFullScreenScaleAndPivot()
583 public DeviceProfile getLauncherDeviceProfile() { in getLauncherDeviceProfile()
596 DeviceProfile bestMatch = idp.supportedProfiles.get(0); in getLauncherDeviceProfile()
598 for (DeviceProfile profile : idp.supportedProfiles) { in getLauncherDeviceProfile()
DAnimatorControllerWithResistance.java33 import com.android.launcher3.DeviceProfile;
132 RecentsOrientedState recentsOrientedState, DeviceProfile dp, SCALE scaleTarget, in createForRecents()
223 public final DeviceProfile dp;
236 DeviceProfile dp, SCALE scaleTarget, FloatProperty<SCALE> scaleProperty, in RecentsParams()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DLauncherTaskbarUIController.java27 import com.android.launcher3.DeviceProfile;
234 DeviceProfile grid = mLauncher.getDeviceProfile();
254 DeviceProfile inAppDp = mContext.getDeviceProfile();
255 DeviceProfile onHomeDp = mLauncher.getDeviceProfile();
DTaskbarActivityContext.java49 import com.android.launcher3.DeviceProfile;
88 private final DeviceProfile mDeviceProfile;
108 public TaskbarActivityContext(Context windowContext, DeviceProfile dp, in TaskbarActivityContext()
189 public DeviceProfile getDeviceProfile() { in getDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DPredictionRowView.java33 import com.android.launcher3.DeviceProfile;
34 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
181 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
251 public void setInsets(Rect insets, DeviceProfile grid) { in setInsets()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DRecentsState.java24 import com.android.launcher3.DeviceProfile;
135 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid()
139 private boolean showAsGrid(DeviceProfile deviceProfile) { in showAsGrid()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DRotationHelper.java26 import com.android.launcher3.DeviceProfile;
35 DeviceProfile.OnDeviceProfileChangeListener {
108 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DBaseState.java20 import com.android.launcher3.DeviceProfile;
61 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderRow.java21 import com.android.launcher3.DeviceProfile;
32 void setInsets(Rect insets, DeviceProfile grid); in setInsets()
DAllAppsTransitionController.java34 import com.android.launcher3.DeviceProfile;
35 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
109 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java89 DeviceProfile dp = mActivity.getDeviceProfile(); in resetLayout()
100 DeviceProfile grid = mActivity.getDeviceProfile(); in setInsets()
205 DeviceProfile dp = mActivity.getDeviceProfile(); in getQsbOffsetY()
DDeviceProfile.java55 public class DeviceProfile { class
214 DeviceProfile(Context context, InvariantDeviceProfile inv, Info info, WindowBounds windowBounds, in DeviceProfile() method in DeviceProfile
466 public DeviceProfile copy(Context context) { in copy()
473 public DeviceProfile getMultiWindowProfile(Context context, WindowBounds windowBounds) { in getMultiWindowProfile()
474 DeviceProfile profile = toBuilder(context) in getMultiWindowProfile()
1017 void onDeviceProfileChanged(DeviceProfile dp);
1058 public DeviceProfile build() { in build()
1065 return new DeviceProfile(mContext, mInv, mInfo, mWindowBounds, in build()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java36 import com.android.launcher3.DeviceProfile;
103 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure()
108 int cellWidth = DeviceProfile.calculateCellWidth(rowWidth, dp.cellLayoutBorderSpacingPx, in onMeasure()

12345