/frameworks/base/libs/hwui/ |
H A D | Layer.h | 66 regionRect.left * texX, (height - regionRect.top) * texY, 69 regionRect.translate(layer.left, layer.top); 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 | Patch.h | 52 float left, float top, float right, float bottom);
|
H A D | DisplayListRenderer.cpp | 513 float top = getFloat(); local 519 left, top, right, bottom); 732 ALOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop); 795 DISPLAY_LIST_LOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop); 881 (char*) indent + 2, this, mName.string(), clipRect->left, clipRect->top, 1138 float top = getFloat(); local 1147 xDivsCount, yDivsCount, numColors, left, top, right, bottom, 1438 status_t DisplayListRenderer::prepareDirty(float left, float top, argument 1494 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 1497 addBounds(left, top, righ 1503 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int flags) argument 1550 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 1577 drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument 1615 drawBitmapData(SkBitmap* bitmap, float left, float top, SkPaint* paint) 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 1721 float left, top, offset; local [all...] |
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); 56 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && 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); 171 const float v1 = (height - r->top) * texY; 175 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 176 TextureVertex::set(mesh++, r->right, r->top, u [all...] |
H A D | ShapeCache.h | 66 float top; member in struct:android::uirenderer::PathTexture 506 float& left, float& top, float& offset, uint32_t& width, uint32_t& height); 508 float& left, float& top, float& offset, uint32_t& width, uint32_t& height); 510 static PathTexture* createTexture(float left, float top, float offset, argument 514 texture->top = top; 567 float left, top, offset; local 569 computePathBounds(path, paint, left, top, offset, width, height); 582 canvas.translate(-left + offset, -top + offset); 585 PathTexture* texture = createTexture(left, top, offse [all...] |
/frameworks/support/v7/gridlayout/gen/android/support/v7/gridlayout/ |
H A D | R.java | 96 <tr><td><code>top</code></td><td>0x30</td><td> Push object to the top of its container, not changing its size. </td></tr> 107 Additional option that can be set to have the top and/or bottom edges of 109 The clip will be based on the vertical gravity: a top gravity will clip the bottom 110 edge, a bottom gravity will clip the top edge, and neither will clip both edges. 125 The row boundary delimiting the top of the group of cells 137 The row span: the difference between the bottom and top 235 public static int top=0x7f020004; field in class:R.id 440 Specifies extra space on the left, top, right and bottom 449 Specifies extra space on the top sid [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 388 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 397 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 412 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir); 420 * @param top The top of a rectangle to add to the path 425 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument 426 detectSimplePath(left, top, right, bottom, dir); 427 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); 490 * two radius values [X, Y]. The corners are ordered top-left, top 644 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewCompat.java | 126 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument 174 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument 175 view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom); 275 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument 276 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom); 556 * @param top The top coordinate of the rectangle to invalidate. 560 public static void postInvalidateOnAnimation(View view, int left, int top, argument 562 IMPL.postInvalidateOnAnimation(view, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 48 * This is based on top of {@link Graphics2D} but can operate independently if none are available 262 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored 335 mLayerBounds.left, mLayerBounds.top, 361 * Restores the top {@link GcSnapshot}, and returns the next one. 525 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 526 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 625 // them, starting with the top one (which is the current local layer). 679 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 691 mLayerBounds.left, mLayerBounds.top, mLayerBound [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 360 layer->sourceCrop.top = 0; 364 layer->displayFrame.top = 0; 374 layer->sourceCrop.top = 0; 378 layer->displayFrame.top = refHeight; 380 layer->displayFrame.bottom = layer->displayFrame.top + equivHeight;
|
/frameworks/rs/ |
H A D | rsRuntime.h | 98 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 100 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 102 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 190 float bottom, float top, float near, float far); 192 float bottom, float top, float near, float far);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 75 jfieldID top; member in struct:android::__anon998 388 dirty.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top); 431 clipReg.setRect(b.left, b.top, b.right, b.bottom); 436 clipReg.op(r->left, r->top, r->right, r->bottom, SkRegion::kUnion_Op); 449 env->SetIntField(dirtyRectObj, gRectClassInfo.top, bounds.top); 629 crop.top = env->GetIntField(cropObj, gRectClassInfo.top); 633 crop.left = crop.top [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 35 * order, so the element with the largest index will be drawn on top. 141 int top = a.getDimensionPixelOffset( 168 addLayer(dr, id, left, top, right, bottom); 181 * @param top The top padding of the new layer. 185 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { argument 204 childDrawable.mInsetT = top; 303 top += t; 362 padding.top = 0; 370 padding.top [all...] |
H A D | GradientDrawable.java | 135 /** draw the gradient from the top to the bottom */ 137 /** draw the gradient from the top-right to the bottom-left */ 141 /** draw the gradient from the bottom-right to the top-left */ 143 /** draw the gradient from the bottom to the top */ 145 /** draw the gradient from the bottom-left to the top-right */ 149 /** draw the gradient from the top-left to the bottom-right */ 178 * top-left, top-right, bottom-right, bottom-left. This property 444 fill+stroke. Otherwise we can just draw the stroke (if any) on top 466 canvas.saveLayer(mRect.left - rad, mRect.top [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 712 + ", set left=" + mWin.mFrame.left + " top=" + mWin.mFrame.top 717 + mWin.mFrame.left + "," + mWin.mFrame.top + ") (" 725 mSurfaceY = mWin.mFrame.top + mWin.mYOffset; 902 tmpMatrix.postTranslate(frame.left + mWin.mXOffset, frame.top + mWin.mYOffset); 948 && x == frame.left && y == frame.top))) { 998 tmpMatrix.postTranslate(frame.left + mWin.mXOffset, frame.top + mWin.mYOffset); 1044 final int offY = w.mYOffset + w.mFrame.top; 1048 w.mSystemDecorRect.intersect(decorRect.left-offX, decorRect.top-offY, 1059 w.mSystemDecorRect.top 1324 setWallpaperOffset(int left, int top) argument [all...] |
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 47 * {@link android.widget.ListAdapter ListAdapter} will be arranged from top to bottom, 508 // Repair the top and bottom column boundaries from the views we still have 515 final int top = child.getTop() - mItemMargin; 521 final int colTop = top - rec.getMarginAbove(col - lp.column); 671 final int top = getPaddingTop(); 672 final int offset = top + Math.min(mRestoreOffset, 0); 706 Log.d(TAG, "!!! No top item found for column " + i + " value " + mItemTops[i]); 878 * @param overhang the number of extra pixels to fill beyond the current top edge 879 * @return the max overhang beyond the beginning of the view of any added items at the top 956 final int top [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 192 int32_t left, int32_t top, 203 int32_t *left, int32_t *top,
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AMessage.h | 59 int32_t left, int32_t top, int32_t right, int32_t bottom); 74 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const;
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVCanvas.cpp | 44 for (int32_t y = rect.top; y < rect.bottom; ++y) { 65 int32_t srcStartY = srcRect.top;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 29 * A SoftInputWindow is a Dialog that is intended to be used for a top-level input 53 * using styles. This theme is applied on top of the current theme in 73 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top, 77 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top, 88 * @return If the DockWindow sticks to the top or bottom of the screen, the 107 * @param size If the DockWindow sticks to the top or bottom of the screen,
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaImageItem.java | 784 || (start.top < 0) || (start.top > height) || (start.bottom < 0) 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))) { 828 clipSettings.panZoomTopLeftYStart = (start.top * 1000) / height; 831 clipSettings.panZoomTopLeftYEnd = (end.top * 1000) / height;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | SettingsPanelView.java | 121 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 122 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBarView.java | 66 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 67 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.cpp | 75 clipR.top = clip.top;
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11Ext.spec | 22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
|