/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ViewGroupFocusHelper.java | 38 public void viewToRect(View v, Rect outRect) { in viewToRect() argument 39 outRect.left = 0; in viewToRect() 40 outRect.top = 0; in viewToRect() 42 computeLocationRelativeToContainer(v, outRect); in viewToRect() 46 outRect.left += (1 - v.getScaleX()) * v.getWidth() / 2; in viewToRect() 47 outRect.top += (1 - v.getScaleY()) * v.getHeight() / 2; in viewToRect() 49 outRect.right = outRect.left + (int) (v.getScaleX() * v.getWidth()); in viewToRect() 50 outRect.bottom = outRect.top + (int) (v.getScaleY() * v.getHeight()); in viewToRect() 53 private void computeLocationRelativeToContainer(View child, Rect outRect) { in computeLocationRelativeToContainer() argument 55 outRect.left += child.getLeft(); in computeLocationRelativeToContainer() [all …]
|
D | FocusedItemDecorator.java | 38 public void viewToRect(View v, Rect outRect) { in FocusedItemDecorator() 39 outRect.set(v.getLeft(), v.getTop(), v.getRight(), v.getBottom()); in FocusedItemDecorator()
|
D | FocusIndicatorHelper.java | 212 public abstract void viewToRect(View v, Rect outRect); in viewToRect() argument
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorResult.java | 1029 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { in setupActionMode() 1030 super.onGetContentRect(mode, view, outRect); in setupActionMode() 1032 outRect.left += view.getPaddingLeft(); in setupActionMode() 1033 outRect.top += view.getPaddingTop(); in setupActionMode() 1034 outRect.right -= view.getPaddingRight(); in setupActionMode() 1035 outRect.bottom -= view.getPaddingBottom(); in setupActionMode() 1037 if (width < outRect.width()) { in setupActionMode() 1038 outRect.left = outRect.right - width; in setupActionMode() 1049 outRect.left *= scaleX; in setupActionMode() 1050 outRect.right *= scaleX; in setupActionMode() [all …]
|
D | CalculatorFormula.java | 277 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { in setupActionMode() 278 super.onGetContentRect(mode, view, outRect); in setupActionMode() 279 outRect.top += getTotalPaddingTop(); in setupActionMode() 280 outRect.right -= getTotalPaddingRight(); in setupActionMode() 281 outRect.bottom -= getTotalPaddingBottom(); in setupActionMode() 283 outRect.left = (int) (outRect.right * 0.9f); in setupActionMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ButtonDropTarget.java | 248 public void getHitRectRelativeToDragLayer(android.graphics.Rect outRect) { in getHitRectRelativeToDragLayer() argument 249 super.getHitRect(outRect); in getHitRectRelativeToDragLayer() 250 outRect.bottom += mBottomDragPadding; in getHitRectRelativeToDragLayer() 254 outRect.offsetTo(coords[0], coords[1]); in getHitRectRelativeToDragLayer()
|
D | DropTarget.java | 127 void getHitRectRelativeToDragLayer(Rect outRect); in getHitRectRelativeToDragLayer() argument
|
D | CellLayout.java | 2445 void getBoundingRectForViews(ArrayList<View> views, Rect outRect) { in getBoundingRectForViews() argument 2450 outRect.set(c.cellX, c.cellY, c.cellX + c.spanX, c.cellY + c.spanY); in getBoundingRectForViews() 2453 outRect.union(c.cellX, c.cellY, c.cellX + c.spanX, c.cellY + c.spanY); in getBoundingRectForViews()
|
D | Workspace.java | 3127 public void getHitRectRelativeToDragLayer(Rect outRect) { 3130 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(this, outRect);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ButtonDropTarget.java | 115 public void getHitRect(android.graphics.Rect outRect) { in getHitRect() argument 116 super.getHitRect(outRect); in getHitRect() 117 outRect.bottom += mBottomDragPadding; in getHitRect()
|
D | DropTarget.java | 180 void getHitRect(Rect outRect); in getHitRect() argument
|
D | Workspace.java | 2979 public void getHitRect(Rect outRect) { 2982 outRect.set(0, 0, mDisplaySize.x, mDisplaySize.y);
|
/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/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/Car/Overview/src/com/android/car/overview/ |
D | StreamOverviewActivity.java | 301 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument 303 outRect.bottom = mCardBottomMargin; in getItemOffsets()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 1555 public void getHitRectRelativeToDragLayer(Rect outRect) { 1556 getHitRect(outRect); 1557 outRect.left -= mScrollAreaOffset; 1558 outRect.right += mScrollAreaOffset;
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 346 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument 347 outRect.set(0, 0, texture.getWidth(), texture.getHeight()); in copyTextureCoordinates()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument 603 outRect.set(left, top, right, bottom); in copyTextureCoordinates()
|