/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 38 jfieldID top; member in struct:android::JMetricsID 290 env->SetFloatField(metricsObj, gFontMetrics_fieldID.top, SkScalarToFloat(metrics.fTop)); 310 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.top, SkScalarFloor(metrics.fTop)); 598 gFontMetrics_fieldID.top = req_fieldID(env->GetFieldID(gFontMetrics_class, "top", "F")); 608 gFontMetricsInt_fieldID.top = req_fieldID(env->GetFieldID(gFontMetricsInt_class, "top", "I"));
|
H A D | Canvas.cpp | 235 jfloat top, jfloat right, jfloat bottom) { 238 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 245 jint top, jint right, jint bottom) { 248 r.set(SkIntToScalar(left), SkIntToScalar(top), 270 float left, float top, float right, float bottom, 273 rect.set(SkFloatToScalar(left), SkFloatToScalar(top), 306 jfloat left, jfloat top, jfloat right, 309 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 407 jfloat left, jfloat top, jfloat right, 410 SkScalar top_ = SkFloatToScalar(top); 234 clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 244 clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, jint top, jint right, jint bottom) argument 269 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument 305 quickReject__FFFFI(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, int edgetype) argument 406 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument 466 drawBitmap__BitmapFFPaint(JNIEnv* env, jobject jcanvas, SkCanvas* canvas, SkBitmap* bitmap, jfloat left, jfloat top, SkPaint* paint, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 361 * @param top The top of a rectangle to add to the path 366 public void addRect(float left, float top, float right, float bottom, argument 368 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); 427 * two radius values [X, Y]. The corners are ordered top-left, top-right, 572 private static native void native_addRect(int nPath, float left, float top, argument
|
H A D | Canvas.java | 294 public int saveLayer(float left, float top, float right, float bottom, argument 296 return native_saveLayer(mNativeCanvas, left, top, right, bottom, 325 public int saveLayerAlpha(float left, float top, float right, float bottom, argument 327 return native_saveLayerAlpha(mNativeCanvas, left, top, right, bottom, 465 rect.left, rect.top, rect.right, rect.bottom, 479 rect.left, rect.top, rect.right, rect.bottom, 507 * @param top The top of the rectangle to intersect with the current 516 public boolean clipRect(float left, float top, float right, float bottom, argument 518 return native_clipRect(mNativeCanvas, left, top, righ 535 clipRect(float left, float top, float right, float bottom) argument 551 clipRect(int left, int top, int right, int bottom) argument 682 quickReject(float left, float top, float right, float bottom, EdgeType type) argument 868 drawRect(float left, float top, float right, float bottom, Paint paint) argument 979 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument 1470 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument 1491 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument 1508 native_drawRect(int nativeCanvas, float left, float top, float right, float bottom, int paint) argument 1524 native_drawBitmap(int nativeCanvas, int bitmap, float left, float top, int nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument [all...] |
H A D | Paint.java | 904 public float top; field in class:Paint.FontMetrics 950 public int top; field in class:Paint.FontMetricsInt 957 return "FontMetricsInt: top=" + top + " ascent=" + ascent +
|
/frameworks/base/opengl/libagl/ |
H A D | matrix.cpp | 450 transform.matrix.load(top()); 509 matrixf_t::multiply(temp_mvp, projection.top(), modelview.top()); 589 const GLfloat* const mv = modelview.top().elements(); 602 const GLfloat* const mv = modelview.top().elements(); 812 GLfloat bottom, GLfloat top, 817 cmpf(top, bottom) || 826 const GLfloat r_height = reciprocalf(top - bottom); 831 const GLfloat B = (top + bottom) * r_height; 854 GLfloat bottom, GLfloat top, 810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument 994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument 1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument 1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument [all...] |
H A D | egl.cpp | 251 : left(0), top(0), right(w), bottom(h) { } 253 : left(l), top(t), right(r), bottom(b) { } 256 top = max(top, r.top); 262 return (left>=right || top>=bottom); 266 what, left, top, right-left, bottom-top); 270 int32_t top; member in struct:android::egl_window_surface_v2_t::Rect 284 if (lhs.top < rh 291 const int32_t top = max(lhs.top, rhs.top); local 2136 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 266 png_bytepp rows, int left, int top, int right, int bottom) 268 png_bytep color = rows[top] + left*4; 270 if (left > right || top > bottom) { 274 while (top <= bottom) { 276 png_bytep p = rows[top]+i*4; 286 top++; 316 int left, right, top, bottom; local 322 image->height, &top, &bottom); 324 // hpatch, vpatch, left, top, right, bottom); 325 const uint32_t c = get_color(image->rows, left, top, righ 265 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument 347 int top; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas.java | 48 * Re-implementation of the Canvas, 100% in java on top of a BufferedImage. 312 public boolean clipRect(float left, float top, float right, float bottom, Op op) { argument 313 return clipRect(left, top, right, bottom); 320 public boolean clipRect(float left, float top, float right, float bottom) { argument 321 getGraphics2d().clipRect((int)left, (int)top, (int)(right-left), (int)(bottom-top)); 329 public boolean clipRect(int left, int top, int right, int bottom) { argument 330 getGraphics2d().clipRect(left, top, right-left, bottom-top); 339 return clipRect(rect.left, rect.top, rec 384 quickReject(float left, float top, float right, float bottom, EdgeType type) argument 390 quickReject(float left, float top, float right, float bottom, _Original_Canvas.EdgeType type) argument 496 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument 793 drawRect(float left, float top, float right, float bottom, Paint paint) argument 805 doDrawRect(int left, int top, int width, int height, Paint paint) argument 1216 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument 1235 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 103 * A class that represents a fixed view in a list, for example a header at the top 199 * Make sure views are touching the top or bottom edge, as appropriate for 211 // align with the top 213 delta = child.getTop() - mListPadding.top; 246 * Add a fixed view to appear at the top of the list. If addHeaderView is 273 * Add a fixed view to appear at the top of the list. If addHeaderView is 513 * @return Whether the list needs to show the top fading edge 516 final int listTop = mScrollY + mListPadding.top; 538 int rectTopWithinChild = rect.top; 550 // leave room for top fadin 1039 setup(int position, int top) argument 1270 fillSpecific(int position, int top) argument [all...] |
H A D | AbsListView.java | 152 * the views from there. The top is specified by mSpecificTop. 157 * Layout to sync as a result of a data change. Restore mSyncPosition to have its top 183 * Indicates whether the list selector should be drawn on top of the children or behind 209 * The selection's top padding 234 * The top scroll indicator 255 * The offset to the top of the mMotionPosition view when the down motion event was received 260 * The desired offset to the top of the mMotionPosition view after a scroll 306 * The offset in pixels form the top of the AdapterView to the top 313 * the top edg 1155 setFrame(int left, int top, int right, int bottom) argument [all...] |
H A D | TextView.java | 1179 * Returns the top padding of the view, plus space for the top 1231 * Returns the extended top padding of the view, including both the 1232 * top Drawable if any and any extra space to keep more than maxLines 1244 int top = getCompoundPaddingTop(); 1246 int viewht = getHeight() - top - bottom; 1250 return top; 1255 return top; 1257 return top + viewht - layoutht; 1259 return top 1341 setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) argument 1461 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument 1480 setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) argument 1544 setPadding(int left, int top, int right, int bottom) argument 5688 getInterestingRect(Rect r, int h, int top, int bottom, int line) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10.cpp | 862 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 865 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 870 (GLfloat)top, 876 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 879 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 884 (GLfixed)top, 2807 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 2810 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 2815 (GLfloat)top, 2821 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixe 864 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 878 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2809 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 2823 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 | 670 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 673 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 678 (GLfixed)top, 1354 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1357 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1362 (GLfixed)top, 1863 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1866 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1871 (GLfloat)top, 1877 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloa 672 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 1356 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 1865 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1879 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 343 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 349 int top, 574 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 580 int top, 942 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 948 float top, 953 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 959 float top, 345 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 576 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 944 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument 955 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 | GLES10.java | 615 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 621 float top, 626 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 632 int top, 974 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 980 float top, 985 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 991 int top, 617 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 628 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 976 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 987 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
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...] |
/frameworks/base/opengl/libs/EGL/ |
H A D | egl.cpp | 1746 EGLint left, EGLint top, EGLint width, EGLint height) 1757 dp->disp[s->impl].dpy, s->surface, left, top, width, height); 1745 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 264 // Index of the child's top position in the mLocation array 472 // root namespace means we should consider ourselves the top of the 1165 public void setPadding(int left, int top, int right, int bottom) { argument 1166 super.setPadding(left, top, right, bottom); 1529 final int top = ct + (int) region.top; 1530 invalidate(left, top, left + (int) region.width(), top + (int) region.height()); 2530 final int top = mTop; 2532 if (dirty.intersect(0, 0, mRight - left, mBottom - top) || 3739 setMargins(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/include/private/opengles/ |
H A D | gl_context.h | 467 matrixf_t& top() { return stack[depth]; } function in struct:android::gl::matrix_stack_t 468 const matrixf_t& top() const { return stack[depth]; } function in struct:android::gl::matrix_stack_t
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 428 // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 434 float top, 439 // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 445 int top, 798 // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 804 float top, 809 // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 815 int top, 430 glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar ) argument 441 glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar ) argument 800 glOrthof( float left, float right, float bottom, float top, float zNear, float zFar ) argument 811 glOrthox( int left, int right, int bottom, int top, int zNear, int zFar ) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 1036 nativeSetGlobalBounds(r.left, r.top, r.width(), 1957 private void sendViewInvalidate(int left, int top, int right, int bottom) { argument 1961 new Rect(left, top, right, bottom)).sendToTarget(); 2427 private void showRect(int left, int top, int width, int height, argument 2433 data.mTop = top;
|
/frameworks/base/media/libstagefright/codecs/avc/common/include/ |
H A D | avcint_common.h | 472 int top; /* macroblock address of the current pixel, see below */ member in struct:tagNeighborAvailability 493 AVCPictureType picType; /* frame, top-field or bot-field */ 518 int IsReference; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */ 519 int IsLongTerm; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */ 545 frame top bot top frame bot frame 548 bot 2 and top 4 do not exist, the memory is not used. 633 uint8 *pintra_pred_top; /* pointer to the top intra prediction value */ 671 AVCPictureType currPicType; /* frame, top-field or bot-field */ 801 Availability of the neighboring top [all...] |
/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
|