/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 78 /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, argument 88 float bottom = top + image.getHeight(); 92 (int)left, (int)top, (int)right, (int)bottom); 208 final float left, final float top, final float right, final float bottom, long paint) { 217 graphics.fillRect((int)left, (int)top, 218 (int)(right-left), (int)(bottom-top)); 223 graphics.drawRect((int)left, (int)top, 224 (int)(right-left), (int)(bottom-top)); 231 final float top, final float right, final float bottom, long paint) { 232 if (right > left && bottom > top) { 207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 230 nDrawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 262 nDrawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument 291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 759 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
H A D | Canvas_Delegate.java | 288 // get the current top graphics2D object. 317 // get the current top graphics2D object. 345 // get the current top graphics2D object. 364 float left, float top, 373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 420 bounds.top = rect.y; 454 float left, float top, 363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument 453 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
|
H A D | Path_Delegate.java | 307 /*package*/ static void nArcTo(long nPath, float left, float top, float right, argument 315 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 330 float left, float top, float right, float bottom, int dir) { 336 pathDelegate.addRect(left, top, right, bottom, dir); 340 /*package*/ static void nAddOval(long nPath, float left, float top, float right, argument 348 left, top, right - left, bottom - top), false); 364 /*package*/ static void nAddArc(long nPath, float left, float top, float right, argument 373 left, top, right - left, bottom - top, 329 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument 378 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 796 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 829 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 296 int left, int top, int right, int bottom) { 302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 337 rect.left = rect.top 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 94 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|
H A D | RectShadowPainter.java | 58 int viewTop = -originCanvasRect.top + outline.top; 80 canvas.translate(rect.left, rect.top); 85 private static float[][] generateRectangleCoordinates(float left, float top, float right, argument 88 top = top + radius; 104 // left-top points 107 ret[points][1] = (float) (top + radius - radius * Math.cos(RADIANS_STEP * i)); 111 // right-top points 114 ret[points][1] = (float) (top [all...] |
H A D | RenderNode_Delegate.java | 200 /*package*/ static boolean nSetTop(long renderNode, int top) { argument 202 if (delegate != null && delegate.mTop != top) { 203 delegate.mTop = top; 230 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument 233 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate 236 delegate.mTop = top;
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 139 public boolean pageUp(boolean top) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument 75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument 90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument 187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument 217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 52 * This is based on top of {@link Graphics2D} but can operate independently if none are available 266 * Creates a new {@link GcSnapshot} on top of another one, with a layer data to be restored 339 mLayerBounds.left, mLayerBounds.top, 365 * Restores the top {@link GcSnapshot}, and returns the next one. 529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument 530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp); 694 // them, starting with the top one (which is the current local layer). 748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom, 760 mLayerBounds.left, mLayerBounds.top, mLayerBound [all...] |
H A D | SystemViewInfo.java | 29 public SystemViewInfo(String name, Object cookie, int left, int top, argument 31 super(name, cookie, left, top, right, bottom); 34 public SystemViewInfo(String name, Object cookie, int left, int top, argument 36 super(name, cookie, left, top, right, bottom, viewObject,
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | Main.java | 82 private static Main top; field in class:Main 113 top = m; 222 return top.ui;
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
H A D | Scope.java | 87 * Note that these scopes are added on top of the already existing scopes. 116 ScopeEntry top = sScopeItems.get(); 117 while (top != null) { 118 ScopeProvider provider = top.mProvider; 136 top = top.mParent; 143 ScopeEntry top = sScopeItems.get(); 146 while (top != null && (filePath == null || locations == null)) { 147 ScopeProvider provider = top.mProvider; 149 locations = findAbsoluteLocationFrom(top, (LocationScopeProvide 159 findAbsoluteLocationFrom(ScopeEntry entry, LocationScopeProvider top) argument [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | CardViewBindingAdapter.java | 38 int top = view.getContentPaddingTop(); 41 view.setContentPadding(left, top, right, bottom); 45 public static void setContentPaddingTop(CardView view, int top) { argument 49 view.setContentPadding(left, top, right, bottom); 55 int top = view.getContentPaddingTop(); 57 view.setContentPadding(left, top, right, bottom); 63 int top = view.getContentPaddingTop(); 65 view.setContentPadding(left, top, right, bottom);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 44 const int top = frame.y_offset; local 45 const int bottom = top + frame.height; 46 return x >= left && x < right && y >= top && y < bottom;
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 79 int inside = spanner.next(current.top, current.bottom); 86 current.top < current.bottom) { 170 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; 174 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; 183 inline int next(TYPE& top, TYPE& bottom) argument 187 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs); 204 const int top = rects->top; local 205 while (rects != end && rects->top == top) { [all...] |
/frameworks/native/include/ui/ |
H A D | FloatRect.h | 25 : left(_left), top(_top), right(_right), bottom(_bottom) {} 28 float getHeight() const { return bottom - top; } 31 float top = 0.0f; member in class:android::FloatRect 37 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
|
/frameworks/native/libs/arect/include/android/ |
H A D | rect.h | 48 /** top position */ 49 int32_t top; member in struct:ARect
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 672 // convention that the rest of the system uses (top-left corner) by 673 // subtracting all top/bottom coordinates from the buffer height. 695 int top = height - rect.bottom; // Flip from OpenGL convention local 696 int bottom = height - rect.top; // Flip from OpenGL convention 700 Rect flippedRect{top, width - right, bottom, width - left}; 707 width - left, height - top}; 714 height - top, right}; 719 Rect flippedRect{left, top, right, bottom}; 1300 realRect.left, realRect.top, realRect.right, realRect.bottom); 1506 // We intentionally flip top an [all...] |
/frameworks/native/libs/nativewindow/include/system/ |
H A D | window.h | 70 int32_t top; member in struct:android_native_rect_t 777 * to the transform parameter specified applied on top of the regular buffer
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 35 top = 0; 41 if (top < rhs.top) { 43 } else if (top == rhs.top) { 61 bottom -= top - y; 63 top = y; 69 top += y; 76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 81 const Rect result(left - rhs.x, top 105 int top = result.left; local [all...] |
H A D | Region.cpp | 99 int lastTop = current->top; 105 } while (current->top == lastTop && current >= begin); 109 int top = -1; local 114 if (current->top != (current + 1)->top) { 116 if ((spanDirection == direction_RTL && current->bottom != (current + 1)->top) || 117 (spanDirection == direction_LTR && current->top != (current + 1)->bottom)) { 125 top = current->top; 141 dst.add(Rect(prev.right, top, righ [all...] |
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_hardware_composer_defs.h | 34 int32_t top; member in struct:DvrHwcRecti 41 float top; member in struct:DvrHwcRectf
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | field_of_view.h | 22 FieldOfView(float left, float right, float bottom, float top) argument 23 : left_(left), right_(right), bottom_(bottom), top_(top) {} 38 void SetTop(float top) { top_ = top; } argument
|