/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ViewGroupFocusHelper.java | 37 public void viewToRect(View v, Rect outRect) { in viewToRect() argument 38 outRect.left = 0; in viewToRect() 39 outRect.top = 0; in viewToRect() 41 computeLocationRelativeToContainer(v, outRect); in viewToRect() 45 outRect.left += (1 - v.getScaleX()) * v.getWidth() / 2; in viewToRect() 46 outRect.top += (1 - v.getScaleY()) * v.getHeight() / 2; in viewToRect() 48 outRect.right = outRect.left + (int) (v.getScaleX() * v.getWidth()); in viewToRect() 49 outRect.bottom = outRect.top + (int) (v.getScaleY() * v.getHeight()); in viewToRect() 52 private void computeLocationRelativeToContainer(View child, Rect outRect) { in computeLocationRelativeToContainer() argument 54 outRect.left += child.getX(); in computeLocationRelativeToContainer() [all …]
|
D | FocusIndicatorHelper.java | 212 public abstract void viewToRect(View v, Rect outRect); in viewToRect() argument 250 public void viewToRect(View v, Rect outRect) { in viewToRect() argument 251 outRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in viewToRect()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationView.java | 133 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 135 super.getItemOffsets(outRect, view, parent, state); in getItemOffsets() 139 outRect.top = mTopAndBottomOffset; in getItemOffsets() 142 outRect.bottom = mTopAndBottomOffset; in getItemOffsets() 159 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 161 super.getItemOffsets(outRect, view, parent, state); in getItemOffsets() 169 outRect.bottom = mItemSpacing; in getItemOffsets()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 42 public static void calculateLauncherTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateLauncherTaskSize() argument 49 calculateTaskSize(context, dp, extraSpace, MULTI_WINDOW_STRATEGY_HALF_SCREEN, outRect); in calculateLauncherTaskSize() 52 public static void calculateFallbackTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFallbackTaskSize() argument 53 calculateTaskSize(context, dp, 0, MULTI_WINDOW_STRATEGY_DEVICE_PROFILE, outRect); in calculateFallbackTaskSize() 58 float extraVerticalSpace, @MultiWindowStrategy int multiWindowStrategy, Rect outRect) { in calculateTaskSize() argument 112 outRect.set(Math.round(x), Math.round(y), in calculateTaskSize()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | GridSpacingItemDecoration.java | 48 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 55 outRect.left = mStartMargin + column * mSpacing / spanCount in getItemOffsets() 57 outRect.right = mSpacing - (column + 1) * mSpacing / spanCount in getItemOffsets()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | SeriesFragment.java | 176 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 179 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 181 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
D | GenreFragment.java | 172 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 175 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 177 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
D | ArtistFragment.java | 187 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 190 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 192 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
D | AlbumFragment.java | 176 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 179 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 181 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
D | MovieFragment.java | 181 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 184 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 186 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
D | PlaylistFragment.java | 232 …public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, @NonNull RecyclerView parent… in getItemOffsets() argument 235 outRect.left = outRect.right = (int) Math.ceil(mXOffset * displayMetrics.density); in getItemOffsets() 237 outRect.bottom = (int) Math.ceil(mYOffset * displayMetrics.density); in getItemOffsets()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteListFragment.java | 79 public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, in getItemOffsets() argument 81 super.getItemOffsets(outRect, view, parent, state); in getItemOffsets() 96 outRect.set(leftPadding, topPadding, 0, 0); in getItemOffsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ButtonDropTarget.java | 316 public void getHitRectRelativeToDragLayer(android.graphics.Rect outRect) { in getHitRectRelativeToDragLayer() argument 317 super.getHitRect(outRect); in getHitRectRelativeToDragLayer() 318 outRect.bottom += mBottomDragPadding; in getHitRectRelativeToDragLayer() 322 outRect.offsetTo(sTempCords[0], sTempCords[1]); in getHitRectRelativeToDragLayer()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageStraighten.java | 185 public static void getUntranslatedStraightenCropBounds(RectF outRect, float straightenAngle) { in getUntranslatedStraightenCropBounds() argument 193 double rw = outRect.width(); in getUntranslatedStraightenCropBounds() 194 double rh = outRect.height(); in getUntranslatedStraightenCropBounds() 203 outRect.set(left, top, right, bottom); in getUntranslatedStraightenCropBounds()
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 247 final Rect outRect = mTmpOutRect; in updateLayerBoundsInternal() local 248 outRect.set(cX - insetWidth, cY - insetHeight, cX + insetWidth, cY + insetHeight); in updateLayerBoundsInternal() 250 d.setBounds(outRect); in updateLayerBoundsInternal() 497 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 499 outRect.set(mHotspotBounds); in getHotspotBounds() 501 super.getHotspotBounds(outRect); in getHotspotBounds()
|
D | HorizontalSpacerItemDecoration.java | 25 public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, in getItemOffsets() argument 30 outRect.set(left, 0, right, 0); in getItemOffsets()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | FallbackActivityControllerHelper.java | 62 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength() argument 63 LayoutUtils.calculateFallbackTaskSize(context, dp, outRect); in getSwipeUpDestinationAndLength() 70 return dp.heightPx - outRect.bottom; in getSwipeUpDestinationAndLength()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | PopupTransitionAnimation.java | 297 private static boolean getViewScreenMeasureRect(final View view, final Rect outRect) { in getViewScreenMeasureRect() argument 298 outRect.set(UiUtils.getMeasuredBoundsOnScreen(view)); in getViewScreenMeasureRect() 299 return !outRect.isEmpty(); in getViewScreenMeasureRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | GridMarginDecoration.java | 56 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 58 outRect.set(0, 0, horizontalMargin, verticalMargin); in getItemOffsets()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UserGridRecyclerView.java | 444 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 446 super.getItemOffsets(outRect, view, parent, state); in getItemOffsets() 455 outRect.bottom = mItemSpacing; in getItemOffsets()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 91 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize() argument 92 LayoutUtils.calculateFallbackTaskSize(getContext(), dp, outRect); in getTaskSize() local
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | IconRecentsView.java | 229 public void getItemOffsets(@NonNull Rect outRect, @NonNull View view, in onFinishInflate() 237 outRect.top = (int) res.getDimension( in onFinishInflate() 239 outRect.bottom = (int) res.getDimension( in onFinishInflate() 249 outRect.top = desiredTopMargin - mInsets.bottom; in onFinishInflate() 253 outRect.top = desiredTopMargin; in onFinishInflate()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 143 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize() argument 144 LayoutUtils.calculateLauncherTaskSize(getContext(), dp, outRect); in getTaskSize() local
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 255 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 257 super.getItemOffsets(outRect, view, parent, state); in getItemOffsets() 259 outRect.top = mHeight; in getItemOffsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 561 public void getDrawingRect(Rect outRect) { in getDrawingRect() argument 562 super.getDrawingRect(outRect); in getDrawingRect() 563 outRect.offset(0, (int) getTranslationY()); in getDrawingRect()
|