/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 95 r.right - mInset.right, r.bottom - mInset.bottom);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix4f.java | 224 * @param rhs right hand side matrix 250 * @param r location of the right vertical clipping plane 268 * with the right and bottom clipping planes set to the given 272 * @param w location of the right vertical clipping plane 284 * @param r location of the right vertical clipping plane 315 float right = top * aspect; 316 loadFrustum(left, right, bottom, top, near, far); 355 * @param rhs right hand side to multiply by
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 514 float right = getFloat(); local 519 left, top, right, bottom); 882 clipRect->right, clipRect->bottom); 1139 float right = getFloat(); local 1147 xDivsCount, yDivsCount, numColors, left, top, right, bottom, 1439 float right, float bottom, bool opaque) { 1494 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 1497 addBounds(left, top, right, bottom); 1503 int DisplayListRenderer::saveLayerAlpha(float left, float top, float right, float bottom, argument 1506 addBounds(left, top, right, botto 1438 prepareDirty(float left, float top, float right, float bottom, bool opaque) argument 1550 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 1644 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument 1671 drawRect(float left, float top, float right, float bottom, SkPaint* paint) argument 1682 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* paint) argument 1702 drawOval(float left, float top, float right, float bottom, SkPaint* paint) argument 1710 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) argument [all...] |
H A D | DisplayListRenderer.h | 324 void setRight(int right) { argument 325 if (right != mRight) { 326 mRight = right; 356 void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 357 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) { 360 mRight = right; 553 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 565 virtual int saveLayer(float left, float top, float right, float bottom, 567 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 578 virtual bool clipRect(float left, float top, float right, floa 750 addBounds(float left, float top, float right, float bottom) argument [all...] |
H A D | FontRenderer.cpp | 431 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) { 440 mBounds->right = fmax(mBounds->right, x3); 459 mBounds->right = fmax(mBounds->right, fmax(x1, fmax(x2, fmax(x3, x4)))); 508 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * radius; 688 // Stepping left and right away from the pixel
|
H A D | Layer.h | 67 regionRect.right * texX, (height - regionRect.bottom) * texY); 73 int left, int top, int right, int bottom) { 76 const Rect r(left, top, right, bottom); 72 updateDeferred(OpenGLRenderer* renderer, DisplayList* displayList, int left, int top, int right, int bottom) argument
|
H A D | LayerRenderer.cpp | 46 status_t LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument 55 Rect dirty(left, top, right, bottom); 57 dirty.right >= width && dirty.bottom >= height)) { 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); 66 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 69 status_t LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 80 return OpenGLRenderer::clear(left, top, right, bottom, opaque); 172 const float u2 = r->right * texX; 176 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 178 TextureVertex::set(mesh++, r->right, [all...] |
H A D | LayerRenderer.h | 51 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 52 virtual status_t clear(float left, float top, float right, float bottom, bool opaque);
|
H A D | Matrix.cpp | 289 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 292 data[kScaleX] = 2.0f / (right - left); 295 data[kTranslateX] = -(right + left) / (right - left); 323 MUL_ADD_STORE(r.right, data[kScaleX], data[kTranslateX]); 327 if (r.left > r.right) { 329 r.left = r.right; 330 r.right = x; 344 r.right, r.top, 345 r.right, [all...] |
H A D | Matrix.h | 81 void loadOrtho(float left, float right, float bottom, float top, float near, float far);
|
H A D | OpenGLRenderer.cpp | 172 status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float bottom, argument 181 mSnapshot->setClip(left, top, right, bottom); 190 left <= 0.0f && top <= 0.0f && right >= mWidth && bottom >= mHeight) { 207 return clear(left, top, right, bottom, opaque); 210 status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 213 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); 240 clip->right - clip->left, clip->bottom - clip->top, opaque); 398 info.clipRight = clip.right; 452 clip->right - clip->left, clip->bottom - clip->top); 481 renderer->prepareDirty(dirty.left, dirty.top, dirty.right, dirt 601 saveLayer(float left, float top, float right, float bottom, SkPaint* p, int flags) argument 623 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int flags) argument 685 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument 1088 dirtyLayer(const float left, const float top, const float right, const float bottom, const mat4 transform) argument 1097 dirtyLayer(const float left, const float top, const float right, const float bottom) argument 1222 quickRejectNoScissor(float left, float top, float right, float bottom) argument 1237 quickRejectNoScissor(float left, float top, float right, float bottom, Rect& transformed, Rect& clip) argument 1253 quickRejectPreStroke(float left, float top, float right, float bottom, SkPaint* paint) argument 1262 quickReject(float left, float top, float right, float bottom) argument 1282 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 1424 setupDrawModelViewTranslate(float left, float top, float right, float bottom, bool ignoreTransform) argument 1440 setupDrawModelView(float left, float top, float right, float bottom, bool ignoreTransform, bool ignoreModelView) argument 1664 const float right = left + bitmap->width(); local 1710 const float right = left + bitmap->width(); local 1735 float right = FLT_MIN; local 1862 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument 1873 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument 2189 const float right = fmax(p1.x, fmax(p2.x, fmax(p3.x, p4.x))); local 2316 float right = points[i] + halfWidth; local 2353 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* p) argument 2402 drawOval(float left, float top, float right, float bottom, SkPaint* p) argument 2425 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* p) argument 2464 drawRect(float left, float top, float right, float bottom, SkPaint* p) argument 3031 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument 3054 drawTextureRect(float left, float top, float right, float bottom, Texture* texture, SkPaint* paint) argument 3078 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument 3084 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument [all...] |
H A D | OpenGLRenderer.h | 107 * @param right The right coordinate of the dirty rectangle 113 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 149 virtual int saveLayer(float left, float top, float right, float bottom, 151 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 164 ANDROID_API bool quickReject(float left, float top, float right, float bottom); 165 bool quickRejectNoScissor(float left, float top, float right, float bottom); 166 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 183 float left, float top, float right, float bottom, SkPaint* paint); 186 float left, float top, float right, floa [all...] |
H A D | Patch.cpp | 110 float left, float top, float right, float bottom) { 126 const float meshWidth = right - left; 135 const float xStretch = fmaxf(right - left - fixed, 0.0f); 137 rescaleX = fixed == 0.0f ? 0.0f : fminf(fmaxf(right - left, 0.0f) / fixed, 1.0f); 180 generateRow(vertex, y1, y2, v1, v2, stretchX, rescaleX, right - left, 199 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, right - left, 285 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.4f, %.4f", x2, y2, u2, v2); 312 PATCH_LOGD(" right, bottom = %.2f, %.2f\t\tu2, v2 = %.4f, %.4f", x2, y2, u2, v2); 109 updateVertices(const float bitmapWidth, const float bitmapHeight, float left, float top, float right, float bottom) argument
|
H A D | Patch.h | 52 float left, float top, float right, float bottom);
|
H A D | Rect.h | 35 float right; member in class:android::uirenderer::Rect 47 right(0), 51 inline Rect(float left, float top, float right, float bottom): argument 54 right(right), 61 right(width), 74 left = top = right = bottom = 0.0f; 80 return !((left < right) && (top < bottom)); 84 left = top = right = bottom = 0.0f; 87 inline void set(float left, float top, float right, floa argument [all...] |
H A D | Snapshot.cpp | 87 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 109 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 112 tmp.set(left, top, right, bottom); 121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 122 Rect r(left, top, right, bottom); 133 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 145 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kUnion_Op); 152 setClip(r.left, r.top, r.right, r.bottom); 158 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 170 void Snapshot::setClip(float left, float top, float right, floa argument 195 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom, 99 void setClip(float left, float top, float right, float bottom); 110 void resetClip(float left, float top, float right, float bottom); 231 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 76 if (bounds->right < nPenX + width) { 77 bounds->right = nPenX + width;
|
/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 146 * horizontal justification 0: left, 1: centered, -1: right 501 int right = parcel.readInt(); 502 mTextBounds = new Rect(left, top, right, bottom);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 98 start.right = getStartRect().right; 102 end.right = getEndRect().right;
|
H A D | MediaImageItem.java | 783 if ((start.left < 0) || (start.left > width) || (start.right < 0) || (start.right > width) 786 || (end.right < 0) || (end.right > width) || (end.top < 0) || (end.top > height) 791 if (((width - (start.right - start.left) == 0) || (height - (start.bottom - start.top) == 0)) 792 && ((width - (end.right - end.left) == 0) || (height - (end.bottom - end.top) == 0))) {
|
H A D | OverlayFrame.java | 358 int left, right, top, bottom; 371 right = overlayCanvas.getWidth(); 378 right = left + newWidth; 382 destRect = new Rect(left, top, right, bottom); 389 int left, right, top, bottom; 401 right = overlayBitmap.getWidth(); 408 right = left + newWidth; 412 srcRect = new Rect(left, top, right, bottom);
|
H A D | VideoEditor.java | 246 int left, right, top, bottom; 259 right = overlayCanvas.getWidth(); 266 right = left + newWidth; 270 destRect = new Rect(left, top, right, bottom); 277 int left, right, top, bottom; 289 right = mOverlayBitmap.getWidth(); 296 right = left + newWidth; 300 srcRect = new Rect(left, top, right, bottom);
|
H A D | VideoEditorImpl.java | 1495 Integer.toString(startRect.right)); 1505 Integer.toString(endRect.right));
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 223 int32_t left, top, right, bottom; local 224 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 244 StringPrintf("%s-right", key).c_str(), 245 right);
|