Home
last modified time | relevance | path

Searched refs:outRect (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DLinkAccessibilityHelper.java146 private Rect getBoundsForSpan(ClickableSpan span, Rect outRect) { in getBoundsForSpan() argument
148 outRect.setEmpty(); in getBoundsForSpan()
158 layout.getLineBounds(lineStart, outRect); in getBoundsForSpan()
159 outRect.left = (int) xStart; in getBoundsForSpan()
161 outRect.right = (int) xEnd; in getBoundsForSpan()
165 outRect.offset(mView.getTotalPaddingLeft(), mView.getTotalPaddingTop()); in getBoundsForSpan()
167 return outRect; in getBoundsForSpan()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java600 public void onGetContentRect(ActionMode mode, View view, Rect outRect) {
601 super.onGetContentRect(mode, view, outRect);
602 outRect.left += getPaddingLeft();
603 outRect.top += getPaddingTop();
604 outRect.right -= getPaddingRight();
605 outRect.bottom -= getPaddingBottom();
607 if (width < outRect.width()) {
608 outRect.left = outRect.right - width;
DCalculatorText.java78 public void onGetContentRect(ActionMode mode, View view, Rect outRect) {
79 super.onGetContentRect(mode, view, outRect);
80 outRect.top += getTotalPaddingTop();
81 outRect.right -= getTotalPaddingRight();
82 outRect.bottom -= getTotalPaddingBottom();
84 outRect.left = outRect.right;
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java252 public void getHitRectRelativeToDragLayer(android.graphics.Rect outRect) { in getHitRectRelativeToDragLayer() argument
253 super.getHitRect(outRect); in getHitRectRelativeToDragLayer()
254 outRect.bottom += mBottomDragPadding; in getHitRectRelativeToDragLayer()
258 outRect.offsetTo(coords[0], coords[1]); in getHitRectRelativeToDragLayer()
DFolder.java1335 public void getHitRectRelativeToDragLayer(Rect outRect) {
1336 getHitRect(outRect);
1337 outRect.left -= mScrollAreaOffset;
1338 outRect.right += mScrollAreaOffset;
DDropTarget.java150 void getHitRectRelativeToDragLayer(Rect outRect); in getHitRectRelativeToDragLayer() argument
DWorkspace.java3381 public void getHitRectRelativeToDragLayer(Rect outRect) {
3384 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(this, outRect);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java185 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/Launcher2/src/com/android/launcher2/
DButtonDropTarget.java115 public void getHitRect(android.graphics.Rect outRect) { in getHitRect() argument
116 super.getHitRect(outRect); in getHitRect()
117 outRect.bottom += mBottomDragPadding; in getHitRect()
DDropTarget.java180 void getHitRect(Rect outRect); in getHitRect() argument
DWorkspace.java2979 public void getHitRect(Rect outRect) {
2982 outRect.set(0, 0, mDisplaySize.x, mDisplaySize.y);
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java298 private static boolean getViewScreenMeasureRect(final View view, final Rect outRect) { in getViewScreenMeasureRect() argument
299 outRect.set(UiUtils.getMeasuredBoundsOnScreen(view)); in getViewScreenMeasureRect()
300 return !outRect.isEmpty(); in getViewScreenMeasureRect()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument
603 outRect.set(left, top, right, bottom); in copyTextureCoordinates()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java590 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { in copyTextureCoordinates() argument
601 outRect.set(left, top, right, bottom); in copyTextureCoordinates()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java254 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, in getItemOffsets() argument