Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DRedEyeCandidate.java22 RectF mRect = new RectF(); field in RedEyeCandidate
26 mRect.set(candidate.mRect); in RedEyeCandidate()
31 mRect.set(rect); in RedEyeCandidate()
36 if (candidate.mRect.equals(mRect) in equals()
44 return mRect.intersect(rect); in intersect()
48 return mRect; in getRect()
DFilterRedEyeRepresentation.java60 rect.union(r.mRect); in addRect()
DImageFilterRedEye.java67 RectF r = new RectF(((RedEyeCandidate) (mParameters.getCandidate(i))).mRect); in apply()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DFaceView.java44 private RectF mRect = new RectF(); field in FaceView
133 mRect.set(mFaces[i].rect); in onDraw()
134 if (LOGV) Util.dumpRect(mRect, "Original rect"); in onDraw()
135 mMatrix.mapRect(mRect); in onDraw()
136 if (LOGV) Util.dumpRect(mRect, "Transformed rect"); in onDraw()
138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top), in onDraw()
139 Math.round(mRect.right), Math.round(mRect.bottom)); in onDraw()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java415 private Rect mRect = new Rect(); field in LeanbackKeyboardContainer
962 offsetRect(mRect, mActionButtonView); in getBestFocus()
963 int actionLeft = mRect.left; in getBestFocus()
965 offsetRect(mRect, mMainKeyboardView); in getBestFocus()
966 int keyboardTop = mRect.top; in getBestFocus()
976 offsetRect(mRect, suggestView); in getBestFocus()
977 if (x < mRect.right || i+1 == count) { in getBestFocus()
980 configureFocus(focus, mRect, i, KeyFocus.TYPE_SUGGESTION); in getBestFocus()
989 offsetRect(mRect, mActionButtonView); in getBestFocus()
990 configureFocus(focus, mRect, 0, KeyFocus.TYPE_ACTION); in getBestFocus()
[all …]
/packages/services/Car/car-builtin-lib/src/android/car/builtin/view/
DTouchableInsetsProvider.java45 private final Rect mRect = new Rect(); field in TouchableInsetsProvider
72 mRect.set(mLocation[0], mLocation[1], in onComputeInternalInsets()
74 inoutInfo.touchableRegion.set(mRect); in onComputeInternalInsets()
77 mRect.set(mLocation[0], mLocation[1], in onComputeInternalInsets()
79 inoutInfo.touchableRegion.op(mRect, Region.Op.DIFFERENCE); in onComputeInternalInsets()
98 return TAG + "(rect=" + mRect + ", obscuredTouch=" + mObscuredTouchRegion + ")"; in toString()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java79 private final Rect mRect = new Rect(); field in PendingAppWidgetHostView
436 mRect.set(0, 0, actualIconSize, actualIconSize); in updateDrawableBounds()
437 mRect.offset((getWidth() - actualIconSize) / 2, iconTop); in updateDrawableBounds()
438 mCenterDrawable.setBounds(mRect); in updateDrawableBounds()
441 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
442 mRect.right = mRect.left + (int) (SETUP_ICON_SIZE_FACTOR * actualIconSize); in updateDrawableBounds()
443 mRect.top = paddingTop + minPadding; in updateDrawableBounds()
444 mRect.bottom = mRect.top + (int) (SETUP_ICON_SIZE_FACTOR * actualIconSize); in updateDrawableBounds()
445 mSettingIconDrawable.setBounds(mRect); in updateDrawableBounds()
450 mRect.left = paddingLeft + minPadding; in updateDrawableBounds()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DFaceView.java49 private RectF mRect = new RectF(); field in FaceView
177 mRect.set(mFaces[i].rect); in onDraw()
179 CameraUtil.dumpRect(mRect, "Original rect"); in onDraw()
181 mMatrix.mapRect(mRect); in onDraw()
183 CameraUtil.dumpRect(mRect, "Transformed rect"); in onDraw()
186 mRect.offset(mPreviewArea.left, mPreviewArea.top); in onDraw()
187 canvas.drawRect(mRect, mPaint); in onDraw()
DBottomBar.java88 private RectF mRect = new RectF(); field in BottomBar
189 mRect.set(0, 0, getWidth(), getHeight()); in onFinishInflate()
190 if (!mRect.contains(event.getX(), event.getY())) { in onFinishInflate()
209 mRect.set(0, 0, getWidth(), getHeight()); in onFinishInflate()
210 if (!mRect.contains(event.getX(), event.getY())) { in onFinishInflate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorSVRectView.java54 RectF mRect = new RectF(); field in ColorSVRectView
122 mRect.set(r); in onDraw()
123 mRect.top += mBorder; in onDraw()
124 mRect.bottom -= mBorder; in onDraw()
125 mRect.left += mBorder; in onDraw()
126 mRect.right -= mBorder; in onDraw()
127 canvas.drawBitmap(mBitmap, null, mRect, mPaint1); in onDraw()
DColorHueView.java59 RectF mRect = new RectF(); field in ColorHueView
172 mRect.left = mBorder; in onDraw()
173 mRect.right = mWidth - mBorder; in onDraw()
174 mRect.top = 0; in onDraw()
175 mRect.bottom = mHeight; in onDraw()
176 canvas.drawRect(mRect,mCheckPaint); in onDraw()
177 canvas.drawBitmap(mBitmap, null, mRect, mPaint); in onDraw()
/packages/apps/Settings/src/com/android/settings/widget/
DScrollToParentEditText.java33 private Rect mRect = new Rect(); field in ScrollToParentEditText
45 ((View) parent).getDrawingRect(mRect); in requestRectangleOnScreen()
46 return ((View) parent).requestRectangleOnScreen(mRect, immediate); in requestRectangleOnScreen()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java49 final Rect mRect; field in BitmapCachingAsset.CacheKey
60 mRect = rect; in CacheKey()
75 && (Objects.equals(this.mRect, ((CacheKey) obj).mRect)); in equals()
/packages/apps/Gallery/src/com/android/camera/
DActionMenuButton.java39 private final RectF mRect = new RectF(); field in ActionMenuButton
76 final RectF rect = mRect; in draw()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt261 private val mRect: Rect = Rect() constant
1599 val r: Rect = mRect in drawAfterScroll()
1786 val r: Rect = mRect in doDraw()
2261 val r: Rect = mRect in drawMoreAlldayEvents()
2402 val r: Rect = mRect in drawEventRect()
3324 val region: Rect = mRect in findSelectedEvent()