/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 353 int top, 578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 584 int top, 946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 952 float top, 957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 963 float top, 349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument 959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
|
H A D | GLErrorWrapper.java | 333 public void glFrustumf(float left, float right, float bottom, float top, argument 336 mgl.glFrustumf(left, right, bottom, top, near, far); 340 public void glFrustumx(int left, int right, int bottom, int top, int near, argument 343 mgl.glFrustumx(left, right, bottom, top, near, far); 607 public void glOrthof(float left, float right, float bottom, float top, argument 610 mgl.glOrthof(left, right, bottom, top, near, far); 614 public void glOrthox(int left, int right, int bottom, int top, int near, argument 617 mgl.glOrthox(left, right, bottom, top, near, far);
|
H A D | GLLogWrapper.java | 1666 public void glFrustumf(float left, float right, float bottom, float top, argument 1672 arg("top", top); 1677 mgl.glFrustumf(left, right, bottom, top, near, far); 1681 public void glFrustumx(int left, int right, int bottom, int top, int near, argument 1687 arg("top", top); 1692 mgl.glFrustumx(left, right, bottom, top, near, far); 2158 public void glOrthof(float left, float right, float bottom, float top, argument 2164 arg("top", to 2173 glOrthox(int left, int right, int bottom, int top, int near, int far) argument [all...] |
H A D | GLU.java | 90 * @param top 93 float bottom, float top) { 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); 113 float top = zNear * (float) Math.tan(fovy * (Math.PI / 360.0)); 114 float bottom = -top; 116 float right = top * aspect; 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); 92 gluOrtho2D(GL10 gl, float left, float right, float bottom, float top) argument
|
H A D | Matrix.java | 265 * @param top 270 float left, float right, float bottom, float top, 275 if (bottom == top) { 276 throw new IllegalArgumentException("bottom == top"); 283 final float r_height = 1.0f / (top - bottom); 289 final float ty = -(top + bottom) * r_height; 319 * @param top 324 float left, float right, float bottom, float top, 329 if (top == bottom) { 330 throw new IllegalArgumentException("top 269 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument 323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 429 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 435 float top, 440 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 446 int top, 799 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 805 float top, 810 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 816 int top, 431 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 442 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 801 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 812 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 500 float top, 509 int top, 749 float top, 758 int top, 496 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 505 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 745 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 754 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.h | 98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument 99 float ltrb[4] = { left, top, right, bottom };
|
H A D | CanvasState.cpp | 205 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 206 mSnapshot->clip(Rect(left, top, right, bottom), op); 223 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkClipOp::kIntersect); 244 bool CanvasState::calculateQuickRejectForScissor(float left, float top, argument 248 if (bottom <= top || right <= left) { 252 Rect r(left, top, right, bottom); 274 bool CanvasState::quickRejectConservative(float left, float top, argument 276 if (bottom <= top || right <= left) { 280 Rect r(left, top, right, bottom);
|
H A D | ClipArea.cpp | 37 handlePoint(transformedBounds, transform, r.left, r.top); 38 handlePoint(transformedBounds, transform, r.right, r.top); 155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom); 211 void ClipArea::setClip(float left, float top, float right, float bottom) { argument 214 mClipRect.set(left, top, right, bottom); 541 other.op(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kUnion_Op);
|
H A D | DamageAccumulator.cpp | 227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument 228 mHead->pendingDirty.join(left, top, right, bottom);
|
H A D | GlopBuilder.cpp | 58 quadVertex[0] = {0, 0, uvs.left, uvs.top}; 59 quadVertex[1] = {1, 0, uvs.right, uvs.top}; 501 mOutGlop->transform.modelView.loadTranslate(destination.left, destination.top, 0.0f); 511 float top = destination.top; local 520 top = (int) floorf(top + translateY + 0.5f) - translateY; 524 mOutGlop->transform.modelView.loadTranslate(left, top, 0.0f); 547 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; [all...] |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 400 data[kScaleY] = 2.0f / (top - bottom); 403 data[kTranslateY] = -(top + bottom) / (top - bottom); 454 MUL_ADD_STORE(r.top, data[kScaleY], data[kTranslateY]); 463 if (r.top > r.bottom) { 464 float y = r.top; 465 r.top = r.bottom; 473 r.left, r.top, 474 r.right, r.top, [all...] |
H A D | Outline.h | 42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument 47 && top == mBounds.top 55 mBounds.set(left, top, right, bottom); 61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom), 64 mPath.addRect(left, top, right, bottom);
|
H A D | PathCache.h | 94 float top = 0; member in struct:android::uirenderer::PathTexture
|
H A D | ProfileRenderer.cpp | 22 void ProfileRenderer::drawRect(float left, float top, float right, float bottom, argument 24 mRenderer.drawRect(left, top, right, bottom, &paint);
|
H A D | RecordedOp.h | 334 float* left, float* top, float* right, float* bottom, float *rx, float *ry) 337 , top(top) 343 const float* top; member in struct:android::uirenderer::RoundRectPropsOp 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument
|
H A D | RecordingCanvas.cpp | 118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument 130 Rect unmappedBounds(left, top, right, bottom); 174 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f); 177 clip.translate(-unmappedBounds.left, -unmappedBounds.top); 178 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom); 230 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 231 return mState.quickRejectConservative(left, top, right, bottom); 237 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 238 return mState.clipRect(left, top, right, bottom, op); 292 void RecordingCanvas::drawRect(float left, float top, floa argument 309 float top = FLT_MAX; local 363 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 378 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 421 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 431 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 468 drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) argument [all...] |
H A D | Rect.h | 34 (r).left, (r).top, (r).right, (r).bottom 36 (r).left(), (r).top(), (r).right(), (r).bottom() 45 float top; member in class:android::uirenderer::Rect 57 top(0), 62 inline Rect(float left, float top, float right, float bottom): argument 64 top(top), 71 top(0.0f), 78 top(rect.fTop), 85 top(rec 112 set(float left, float top, float right, float bottom) argument [all...] |
H A D | RenderProperties.h | 427 bool setTop(int top) { argument 428 if (RP_SET(mPrimitiveFields.mTop, top)) { 472 bool setLeftTop(int left, int top) { argument 474 bool topResult = setTop(top); 478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 479 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 482 mPrimitiveFields.mTop = top;
|
H A D | SkiaCanvas.cpp | 186 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument 188 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 194 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, argument 199 return this->saveLayer(left, top, right, bottom, &alphaPaint, flags); 201 return this->saveLayer(left, top, right, bottom, nullptr, flags); 376 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 377 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 385 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 386 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 482 void SkiaCanvas::drawRect(float left, float top, floa argument 494 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 506 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 512 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 541 drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) argument 746 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
H A D | SkiaCanvasProxy.cpp | 117 void SkiaCanvasProxy::onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, argument 127 left, top, 129 top + bitmap.dimensions().height(), 132 mCanvas->drawBitmap(*hwuiBitmap, left, top, paint); 151 void SkiaCanvasProxy::onDrawImage(const SkImage* image, SkScalar left, SkScalar top, argument 155 onDrawBitmap(skiaBitmap, left, top, paint);
|
H A D | Snapshot.cpp | 85 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 87 mClipArea->setClip(left, top, right, bottom); 104 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument 109 setClip(left, top, right, bottom); 141 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; 144 state->dangerRects[2].top = state->dangerRects[3].top = bounds.bottom - radius; 201 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
|
H A D | TextDropShadowCache.h | 118 float top; member in struct:android::uirenderer::ShadowTexture
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 59 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; local 61 drawRect(left, top, right, bottom, paint); 64 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; local 66 drawRect(left, top, right, bottom, paint);
|