/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RectShape.java | 50 protected final RectF rect() { method in class:RectShape
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | CompatTextView.java | 79 Rect rect) { 78 onFocusChanged(View view, CharSequence charSequence, boolean b, int i, Rect rect) argument
|
/frameworks/av/media/libeffects/loudness/dsp/core/ |
H A D | dynamic_range_compression.cpp | 84 const float rect = std::max(overshoot, 0.0f); local 86 const float cv = rect * slope_; 113 const float rect = std::max(overshoot, 0.0f); local 115 const float cv = rect * slope_;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | LargeBitmap.java | 54 * Decodes a rectangle region in the image specified by rect. 56 * @param rect The rectangle that specified the region to be decode. 62 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { argument 64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 66 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top, 67 rect [all...] |
H A D | BitmapRegionDecoder.java | 174 * Decodes a rectangle region in the image specified by rect. 176 * @param rect The rectangle that specified the region to be decode. 182 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) { argument 185 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth() 186 || rect.top >= getHeight()) 188 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top, 189 rect [all...] |
H A D | YuvImage.java | 214 private void adjustRectangle(Rect rect) { argument 215 int width = rect.width(); 216 int height = rect.height(); 221 rect.left &= ~1; 222 rect.top &= ~1; 223 rect.right = rect.left + width; 224 rect.bottom = rect.top + height; 230 rect [all...] |
H A D | Region.java | 255 * Perform the specified Op on this region and the specified rect. Return 264 * Perform the specified Op on this region and the specified rect. Return 281 * Set this region to the result of performing the Op on the specified rect 284 public boolean op(Rect rect, Region region, Op op) { argument 285 return nativeOp(mNativeRegion, rect, region.mNativeRegion, 415 private static native boolean nativeGetBounds(int native_region, Rect rect); argument 421 private static native boolean nativeOp(int native_dst, Rect rect, argument
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 42 void YUVCanvas::FillYUVRectangle(const Rect& rect, argument 44 for (int32_t y = rect.top; y < rect.bottom; ++y) { 45 for (int32_t x = rect.left; x < rect.right; ++x) {
|
/frameworks/base/core/java/android/view/ |
H A D | FocusFinder.java | 119 // fill in interesting rect from focused 125 // make up a rect at top left or bottom right of root 271 * direction from a source rect? This is the core routine that determines 314 * exclusively in the beam of the source rect. 365 * Includes an edge case for an empty rect (which is used in some cases when 479 * @param source The source rect. 480 * @param dest The destination rect. 655 private void getRect(View view, Rect rect) { argument 656 view.getDrawingRect(rect); 657 mRoot.offsetDescendantRectToMyCoords(view, rect); [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 63 bool decodeRegion(SkBitmap* bitmap, const SkIRect& rect, argument 66 return fDecoder->decodeRegion(bitmap, rect, pref);
|
H A D | Path.cpp | 79 static jboolean isRect(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect) { argument 82 GraphicsJNI::rect_to_jrectf(rect_, env, rect); 167 static void addRect__RectFI(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect, SkPath::Direction dir) { argument 169 GraphicsJNI::jrectf_to_rect(env, rect, &rect_); 202 static void addRoundRectXY(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect, argument 205 GraphicsJNI::jrectf_to_rect(env, rect, &rect_); 211 static void addRoundRect8(JNIEnv* env, jobject, SkPath* obj, jobject rect, argument 214 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 139 Rect rect; local 141 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 142 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 143 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); 144 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 146 rect.set(Rect(0x3FFF, 0x3FFF)); 150 int32_t status = native_window_lock(window.get(), &buffer, &rect); 174 clipRect.set(rect.left, rect.top, rect [all...] |
H A D | android_view_GraphicBuffer.cpp | 171 Rect rect; local 173 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 174 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 175 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); 176 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 178 rect.set(Rect(buffer->getWidth(), buffer->getHeight())); 182 status_t status = buffer->lock(LOCK_CANVAS_USAGE, rect, &bits); 208 clipRect.set(rect.left, rect.top, rect [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 156 // draw background rect 160 // draw forground rect 196 public void getRectForRow(Rect rect, int row) { argument 199 rect.set(mPaddingLeft, 255 // set the row that is closest to the rect
|
H A D | ListScenario.java | 572 * @param rect The rectangle, in the child's coordinates. 574 public void requestRectangleOnScreen(int childIndex, final Rect rect) { argument 579 child.requestRectangleOnScreen(rect);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 57 * @param rect a RectF instance. 60 public static Quad fromRect(RectF rect) { argument 61 return new Quad(new PointF(rect.left, rect.top), 62 new PointF(rect.right, rect.top), 63 new PointF(rect.left, rect.bottom), 64 new PointF(rect.right, rect 112 fromRotatedRect(RectF rect, float angle) argument 125 fromTransformedRect(RectF rect, Matrix matrix) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 330 /*package*/ static boolean nativeGetBounds(int native_region, Rect rect) { argument 338 rect.left = rect.top = rect.right = rect.bottom = 0; 342 rect.left = bounds.x; 343 rect.top = bounds.y; 344 rect.right = bounds.x + bounds.width; 345 rect.bottom = bounds.y + bounds.height; 390 /*package*/ static boolean nativeOp(int native_dst, Rect rect, in argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 475 android_native_rect_t rect = {-2, -13, 40, 18}; local 476 native_window_set_crop(mANW.get(), &rect);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 163 status_t GraphicBuffer::lock(uint32_t usage, const Rect& rect, void** vaddr) argument 165 if (rect.left < 0 || rect.right > this->width || 166 rect.top < 0 || rect.bottom > this->height) { 168 rect.left, rect.top, rect.right, rect.bottom, 172 status_t res = getBufferMapper().lock(handle, usage, rect, vadd 183 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 299 Rectangle rect = parseRect(rectDesc); local 302 rectangle.push_back(rect); 370 Rectangle rect; local 384 rect.format = format->format; 387 rect.displayFrame = hwcTestParseHwcRect(in, error); 396 rect.sourceDim = HwcTestDim(rect.displayFrame.right 397 - rect.displayFrame.left, 398 rect.displayFrame.bottom 399 - rect [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 308 * Translate the screen rect to the application frame. 310 public void translateRectInScreenToAppWinFrame(Rect rect) { argument 311 rect.scale(applicationInvertedScale); 365 public void translateRectInAppWindowToScreen(Rect rect) { argument 366 rect.scale(applicationScale); 372 public void translateRectInScreenToAppWindow(Rect rect) { argument 373 rect.scale(applicationInvertedScale);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 459 NinePatchState(NinePatch ninePatch, Rect rect, Rect opticalInsets, boolean dither, argument 462 mPadding = rect;
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 358 int stride, const android_native_rect_t& rect) ; 573 int h, int stride, const android_native_rect_t& rect) { 582 bool inside = rect.left <= x && x < rect.right && 583 rect.top <= y && y < rect.bottom; 586 bool inside = rect.left <= 2*x && 2*x < rect.right && 587 rect.top <= 2*y && 2*y < rect 572 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 76 bool intersects(const Rect& rect) { argument 77 if (!rect.intersects(mBounds)) return false; 80 if (rect.intersects(mOps[i].state->mBounds)) { 294 * Contains the effective clip rect shared by all merged ops. Initialized to the layer viewport, 396 // the clip if we aren't recording a complex clip (and can thus trust it to be a rect)
|
H A D | PathCache.h | 137 } rect; member in union:android::uirenderer::PathDescription::Shape
|