Searched defs:bottom (Results 76 - 100 of 276) sorted by path

1234567891011>>

/frameworks/base/core/jni/android/graphics/
H A DPath.cpp154 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
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);
188 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) {
189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
195 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
196 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
153 arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument
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
187 addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument
194 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, 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 DRegion.cpp60 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 DPdfEditor.cpp51 jfieldID bottom; member in struct:android::__anon848
210 // PDF's coordinate system origin is left-bottom while in graphics it
277 float bottom; local
280 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom)
281 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom);
292 env->SetIntField(outBox, gRectClassInfo.bottom, (int) bottom);
325 const int bottom = env->GetIntField(box, gRectClassInfo.bottom); local
328 FPDFPage_SetMediaBox(page, left, top, right, bottom);
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp175 jfloat left, jfloat top, jfloat right, jfloat bottom) {
176 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
264 jfloat right, jfloat bottom, jlong paintHandle) {
266 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
277 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
289 jfloat right, jfloat bottom, jlong paintHandle) {
291 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
295 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
298 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngl
174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
263 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
288 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
294 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) 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
[all...]
H A Dandroid_opengl_GLES10.cpp1192 /* 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) {
1199 (GLfloat)bottom,
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) {
1213 (GLfixed)bottom,
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) {
2546 (GLfloat)bottom,
2553 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, 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 Dandroid_opengl_GLES11Ext.cpp1105 /* 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) {
1112 (GLfixed)bottom,
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) {
1945 (GLfixed)bottom,
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) {
2951 (GLfloat)bottom,
2958 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, 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 Dandroid_view_GraphicBuffer.cpp67 jfieldID bottom; member in struct:android::__anon929
166 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
295 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
H A Dandroid_view_RenderNode.cpp183 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
184 android::uirenderer::Rect clipBounds(left, top, right, bottom);
205 jint right, jint bottom, jfloat radius, jfloat alpha) {
207 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
349 jobject clazz, jlong renderNodePtr, int bottom) {
350 return SET_AND_DIRTY(setBottom, bottom, RenderNode::Y);
355 int right, int bottom) {
357 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
564 bounds.bottom -= info.windowInsetTop;
580 (jint) bounds.right, (jint) bounds.bottom);
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
348 android_view_RenderNode_setBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int bottom) 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 Dandroid_view_Surface.cpp73 jfieldID bottom; member in struct:android::__anon947
307 dirtyRect.bottom = env->GetIntField(dirtyRectObj, gRectClassInfo.bottom);
342 dirtyRect.right, dirtyRect.bottom);
349 env->SetIntField(dirtyRectObj, gRectClassInfo.bottom, dirtyRect.bottom);
592 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
H A Dandroid_view_SurfaceControl.cpp65 jfieldID bottom; member in struct:android::__anon949
138 int bottom = env->GetIntField(sourceCropObj, gRectClassInfo.bottom); local
139 Rect sourceCrop(left, top, right, bottom);
207 int bottom = env->GetIntField(sourceCropObj, gRectClassInfo.bottom); local
208 Rect sourceCrop(left, top, right, bottom);
752 gRectClassInfo.bottom = GetFieldIDOrDie(env, rectClazz, "bottom", "I");
H A Dandroid_view_TextureView.cpp47 jfieldID bottom; member in struct:android::__anon954
146 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
214 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
H A Dandroid_view_ThreadedRenderer.cpp665 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 Dcom_google_android_gles_jni_GLImpl.cpp1068 /* 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) {
1075 (GLfloat)bottom,
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) {
1089 (GLfixed)bottom,
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) {
3263 (GLfloat)bottom,
3270 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, 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/core/tests/coretests/src/android/text/method/
H A DEditorState.java71 int y, int bottom, Paint paint) {
70 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java429 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, top, right, bottom, alph
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
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
[all...]
H A DInsets.java34 public final int bottom; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
40 this.bottom = bottom;
51 * @param bottom the bottom 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, r.top, r.right, r.bottom);
[all...]
H A DNinePatch.java66 public static Rect scaleInsets(int left, int top, int right, int bottom, float scale) { argument
68 return new Rect(left, top, right, bottom);
75 result.bottom = (int) Math.ceil(bottom * scale);
H A DOutline.java161 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
[all...]
H A DPaint.java1394 * metrics, and also increases top and bottom bounds to provide more space.
1606 public float bottom; field in class:Paint.FontMetrics
1647 public int bottom; field in class:Paint.FontMetricsInt
1652 " descent=" + descent + " bottom=" + bottom +
H A DPath.java453 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);
542 * @param bottom The bottom of a rectangle to add to the path
545 public void addRect(float left, float top, float right, float bottom, Directio 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 DRect.java29 * 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).
34 * Note that the right and bottom coordinates are exclusive. This means a Rect
37 * those of its bottom and right.
43 public int bottom; field in class:Rect
68 * top <= bottom.
73 * @param bottom The Y coordinate of the bottom of the rectangle
75 public Rect(int left, int top, int right, int bottom) { argument
79 this.bottom
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 DRectF.java27 * 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).
36 public float bottom; field in class:RectF
46 * top <= bottom.
51 * @param bottom The Y coordinate of the bottom of the rectangle
53 public RectF(float left, float top, float right, float bottom) { argument
57 this.bottom = bottom;
69 left = top = right = bottom
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 DRegion.java71 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);
192 int bottom);
200 return quickReject(r.left, r.top, r.right, r.bottom);
208 public native boolean quickReject(int left, int top, int right, int bottom); argument
191 quickContains(int left, int top, int right, int bottom) 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...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java302 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
303 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom);
H A DDrawable.java200 public void setBounds(int left, int top, int right, int bottom) { argument
208 oldBounds.right != right || oldBounds.bottom != bottom) {
213 mBounds.set(left, top, right, bottom);
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
670 * @param bottom position in pixels of the bottom bound
673 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument

Completed in 442 milliseconds

1234567891011>>