/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | RedEyeCandidate.java | 22 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()
|
D | FilterRedEyeRepresentation.java | 60 rect.union(r.mRect); in addRect()
|
D | ImageFilterRedEye.java | 67 RectF r = new RectF(((RedEyeCandidate) (mParameters.getCandidate(i))).mRect); in apply()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | FaceView.java | 44 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/ |
D | LeanbackKeyboardContainer.java | 415 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/ |
D | TouchableInsetsProvider.java | 45 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/ |
D | PendingAppWidgetHostView.java | 79 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/ |
D | FaceView.java | 49 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()
|
D | BottomBar.java | 88 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/ |
D | ColorSVRectView.java | 54 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()
|
D | ColorHueView.java | 59 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/ |
D | ScrollToParentEditText.java | 33 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/ |
D | BitmapCachingAsset.java | 49 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/ |
D | ActionMenuButton.java | 39 private final RectF mRect = new RectF(); field in ActionMenuButton 76 final RectF rect = mRect; in draw()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.kt | 261 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()
|