/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorCaptionView.java | 85 // True when the left mouse button got released while dragging. 197 // starting event is either a left mouse button or any other input device. 299 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | MessagingLinearLayout.java | 187 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 193 final int width = right - left;
|
H A D | NotificationActionListLayout.java | 188 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 207 childLeft = mPaddingLeft + right - left - mTotalWidth;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 153 static void arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 157 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 167 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 170 obj->addRect(left, top, right, bottom, dir); 174 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 177 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 187 static void addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 194 static void addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument 196 SkRect rect = SkRect::MakeLTRB(left, to 166 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 173 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 202 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument [all...] |
H A D | Region.cpp | 60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument 62 bool result = dst->setRect(left, top, right, bottom); 91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument 95 ir.set(left, top, right, bottom); 139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom); 144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 146 ir.set(left, top, right, bottom);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 48 jfieldID left; member in struct:android::__anon848 210 // PDF's coordinate system origin is left-bottom while in graphics it 211 // is the top-left. So, translate the PDF coordinates to ours. 274 float left; local 280 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom) 281 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom); 289 env->SetIntField(outBox, gRectClassInfo.left, (int) left); 322 const int left = env->GetIntField(box, gRectClassInfo.left); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 175 jfloat left, jfloat top, jfloat right, jfloat bottom) { 176 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 263 static void drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 266 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 276 static void drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 288 static void drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 291 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 294 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 298 get_canvas(canvasHandle)->drawArc(left, to 174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 339 drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong chunkHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle, jint dstDensity, jint srcDensity) argument 372 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument [all...] |
H A D | android_opengl_GLES10.cpp | 1192 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1195 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1197 (GLfloat)left, 1206 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1209 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1211 (GLfixed)left, 2539 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 2542 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 2544 (GLfloat)left, 2553 /* void glOrthox ( GLfixed left, GLfixe 1194 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1208 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2541 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 2555 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 1105 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1108 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1110 (GLfixed)left, 1938 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1941 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1943 (GLfixed)left, 2944 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 2947 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 2949 (GLfloat)left, 2958 /* void glOrthofOES ( GLfloat left, GLfloa 1107 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 1940 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2946 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 2960 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument [all...] |
H A D | android_view_GraphicBuffer.cpp | 64 jfieldID left; member in struct:android::__anon929 163 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 292 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
|
H A D | android_view_RenderNode.cpp | 183 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) { 184 android::uirenderer::Rect clipBounds(left, top, right, bottom); 204 jobject clazz, jlong renderNodePtr, jint left, jint top, 207 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 334 jobject clazz, jlong renderNodePtr, int left) { 335 return SET_AND_DIRTY(setLeft, left, RenderNode::X); 354 jobject clazz, jlong renderNodePtr, int left, int top, 357 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 561 bounds.left -= info.windowInsetLeft; 579 (jint) bounds.left, (jin 182 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 203 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 333 android_view_RenderNode_setLeft(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left) argument 353 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument 608 doUpdatePosition(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument [all...] |
H A D | android_view_Surface.cpp | 70 jfieldID left; member in struct:android::__anon947 304 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left); 341 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top, 346 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left); 589 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
|
H A D | android_view_SurfaceControl.cpp | 66 jfieldID left; member in struct:android::__anon949 135 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local 139 Rect sourceCrop(left, top, right, bottom); 204 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local 208 Rect sourceCrop(left, top, right, bottom); 753 gRectClassInfo.left = GetFieldIDOrDie(env, rectClazz, "left", "I");
|
H A D | android_view_TextureView.cpp | 44 jfieldID left; member in struct:android::__anon954 143 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 211 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
|
H A D | android_view_ThreadedRenderer.cpp | 220 // Runs any animations still left in mCurrentFrameAnimations 665 jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) { 667 proxy->setContentDrawBounds(left, top, right, bottom); 664 android_view_ThreadedRenderer_setContentDrawBounds(JNIEnv* env, jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) argument
|
H A D | com_google_android_gles_jni_GLImpl.cpp | 1068 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1071 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1073 (GLfloat)left, 1082 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1085 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1087 (GLfixed)left, 3256 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 3259 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 3261 (GLfloat)left, 3270 /* void glOrthox ( GLfixed left, GLfixe 1070 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1084 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 3258 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 3272 android_glOrthox__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument 444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, 450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument 453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, 509 * Helper for saveLayerAlpha(left, to 511 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument 742 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument 760 clipRect(float left, float top, float right, float bottom) argument 778 clipRect(int left, int top, int right, int bottom) argument 933 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument 1130 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1151 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1219 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument 1246 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument 1335 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument 2028 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument 2046 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 2064 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2068 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument 2077 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument 2088 native_drawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument [all...] |
H A D | Insets.java | 31 public final int left; field in class:Insets 36 private Insets(int left, int top, int right, int bottom) { argument 37 this.left = left; 48 * @param left the left inset 55 public static Insets of(int left, int top, int right, int bottom) { argument 56 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 59 return new Insets(left, top, right, bottom); 70 return (r == null) ? NONE : of(r.left, [all...] |
H A D | NinePatch.java | 66 public static Rect scaleInsets(int left, int top, int right, int bottom, float scale) { argument 68 return new Rect(left, top, right, bottom); 72 result.left = (int) Math.ceil(left * scale);
|
H A D | Outline.java | 161 public void setRect(int left, int top, int right, int bottom) { argument 162 setRoundRect(left, top, right, bottom, 0.0f); 169 setRect(rect.left, rect.top, rect.right, rect.bottom); 177 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument 178 if (left >= right || top >= bottom) { 184 mRect.set(left, top, right, bottom); 193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); 227 public void setOval(int left, int top, int right, int bottom) { argument 228 if (left >= right || top >= bottom) { 233 if ((bottom - top) == (right - left)) { [all...] |
H A D | Path.java | 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 539 * @param left The left side of a rectangle to add to the path 545 public void addRect(float left, floa argument 565 addOval(float left, float top, float right, float bottom, Direction dir) argument 600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 843 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
H A D | Rect.java | 29 * represented by the coordinates of its 4 edges (left, top, right bottom). 32 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 36 * into the column and row described by its left and top coordinates, but not 40 public int left; field in class:Rect 67 * checking is performed, so the caller must ensure that left <= right and 70 * @param left The X coordinate of the left side of the rectangle 75 public Rect(int left, int top, int right, int bottom) { argument 76 this.left = left; 265 set(int left, int top, int right, int bottom) argument 350 inset(int left, int top, int right, int bottom) argument 385 contains(int left, int top, int right, int bottom) argument 427 intersect(int left, int top, int right, int bottom) argument 492 intersects(int left, int top, int right, int bottom) argument 520 union(int left, int top, int right, int bottom) argument [all...] |
H A D | RectF.java | 27 * represented by the coordinates of its 4 edges (left, top, right bottom). 30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 33 public float left; field in class:RectF 45 * checking is performed, so the caller must ensure that left <= right and 48 * @param left The X coordinate of the left side of the rectangle 53 public RectF(float left, float top, float right, float bottom) { argument 54 this.left = left; 62 * rectangle (which is left unmodifie 197 set(float left, float top, float right, float bottom) argument 302 contains(float left, float top, float right, float bottom) argument 344 intersect(float left, float top, float right, float bottom) argument 417 intersects(float left, float top, float right, float bottom) argument 466 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Region.java | 71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 76 public Region(int left, int top, int right, int bottom) { argument 78 nativeSetRect(mNativeRegion, left, top, right, bottom); 97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 102 public boolean set(int left, int top, int right, int bottom) { argument 103 return nativeSetRect(mNativeRegion, left, top, right, bottom); 182 return quickContains(r.left, r.top, r.right, r.bottom); 191 public native boolean quickContains(int left, int top, int right, argument 200 return quickReject(r.left, r.top, r.right, r.bottom); 208 public native boolean quickReject(int left, in argument 267 op(int left, int top, int right, int bottom, Op op) argument 412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
H A D | YuvImage.java | 28 * region by left, top, width and height. 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); 182 int[] calculateOffsets(int left, int top) { argument 185 offsets = new int[] {top * mStrides[0] + left, 187 + left / 2 * 2 }; 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 218 // Make sure left, top, width and height are all even. 221 rect.left &= ~1; 223 rect.right = rect.left + width; 228 // Make sure left an [all...] |