/frameworks/base/core/java/android/view/ |
H A D | View.java | 300 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and 309 * top, or Y, coordinate of the rectangle representing the view. These methods 350 * is expressed in pixels for the left, top, right and bottom parts of the view. 371 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal 375 * {@link #layout(int,int,int,int)} and is also top-down. During 2703 * The amount of translation of the object away from its top property (post-layout). 2767 * The distance in pixels from the top edge of this view's parent 2768 * to the top edge of this view. 2774 * The distance in pixels from the top edge of this view's parent 2811 * The top paddin 8590 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument 9415 setTop(int top) argument 10702 postInvalidate(int left, int top, int right, int bottom) argument 10746 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument 10797 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument 14037 onLayout(boolean changed, int left, int top, int right, int bottom) argument 14053 setFrame(int left, int top, int right, int bottom) argument 14623 setPadding(int left, int top, int right, int bottom) argument 14638 internalSetPadding(int left, int top, int right, int bottom) argument 14712 setPaddingRelative(int start, int top, int end, int bottom) argument 17660 int top; field in class:View.AttachInfo.InvalidateInfo [all...] |
H A D | GLES20RecordingCanvas.java | 103 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument 104 super.drawBitmap(bitmap, left, top, paint); 233 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 234 super.drawRect(left, top, right, bottom, paint);
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 1627 * Returns the top padding of the view, plus space for the top 1709 * Returns the extended top padding of the view, including both the 1710 * top Drawable if any and any extra space to keep more than maxLines 1722 int top = getCompoundPaddingTop(); 1724 int viewht = getHeight() - top - bottom; 1728 return top; 1733 return top; 1735 return top + viewht - layoutht; 1737 return top 1835 setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) argument 1956 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument 1975 setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) argument 2004 setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, Drawable bottom) argument 2126 setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) argument 2148 setCompoundDrawablesRelativeWithIntrinsicBounds(Drawable start, Drawable top, Drawable end, Drawable bottom) argument 2240 setPadding(int left, int top, int right, int bottom) argument 2254 setPaddingRelative(int start, int top, int end, int bottom) argument 6458 onLayout(boolean changed, int left, int top, int right, int bottom) argument [all...] |
H A D | AbsSpinner.java | 172 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop 213 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; 222 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
|
H A D | FrameLayout.java | 45 * <p>Child views are drawn in a stack, with the most recently added child on top. 164 mForegroundPaddingTop = padding.top; 215 * Supply a Drawable that is to be rendered on top of all of the child 220 * @param drawable The Drawable to be drawn on top of the children. 247 mForegroundPaddingTop = padding.top; 262 * foreground drawable, if non-null, is always drawn on top of the children. 387 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 394 final int parentBottom = bottom - top - getPaddingBottomWithForeground();
|
H A D | GridView.java | 268 * @param nextTop The location where the top of the item associated with pos 363 * Fills the list from pos up to the top of the list view. 377 end = mListPadding.top; 403 * Fills the list from top to bottom, starting with mFirstPosition 405 * @param nextTop The location where the top of the first item should be 476 final int top = getChildAt(0).getTop(); 477 final int offset = childrenTop - top; 524 * @param top the top of the view at that position 528 private View fillSpecific(int position, int top) { argument [all...] |
H A D | RemoteViews.java | 382 rect.top = (int) (pos[1] * appScale + 0.5f); 462 rect.top = (int) (pos[1] * appScale + 0.5f); 615 rect.top = (int) (pos[1] * appScale + 0.5f); 1356 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument 1359 this.top = top; 1367 top = parcel.readInt(); 1376 dest.writeInt(top); 1386 target.setPadding(left, top, right, bottom); 1393 int left, top, righ field in class:RemoteViews.ViewPaddingAction 1780 setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) argument 1795 setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) argument 2037 setViewPadding(int viewId, int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 330 * @param t the parent's top border 355 final int top = (parentHeight - handleHeight) / 2; 358 tab.layout(0, top, handleWidth, bottom); 359 text.layout(0 - parentWidth, top, 0, bottom); 364 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); 365 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); 374 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; 379 target.layout(targetLeft, top, targetRight, top + targetHeight); 652 int top [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 144 // 0, 0 is top left, so bottom is a positive number 154 if (bounds->top > nPenY - height) { 155 bounds->top = nPenY - height; 559 nextLine += mCacheLines.top()->mMaxHeight; 561 nextLine += mCacheLines.top()->mMaxHeight; 563 nextLine += mCacheLines.top()->mMaxHeight; 565 nextLine += mCacheLines.top()->mMaxHeight; 567 nextLine += mCacheLines.top()->mMaxHeight; 569 nextLine += mCacheLines.top()->mMaxHeight; 785 bounds->top [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 452 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 456 final float bottom = top + mBackground.getHeight(); 462 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 511 private FloatBuffer createMesh(int left, int top, float right, float bottom) { argument 516 left, top, 0.0f, 0.0f, 0.0f, 517 right, top, 0.0f, 1.0f, 0.0f,
|
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 186 spacing = metrics.bottom - metrics.top; 198 mDesc = spacing + metrics.top; 219 mTopPadding = metrics.top - metrics.ascent;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 77 int h = bounds.bottom - bounds.top; 82 canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top); 198 mState.mDrawable.setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | RotateDrawable.java | 79 int h = bounds.bottom - bounds.top; 86 canvas.rotate(st.mCurrentDegrees, px + bounds.left, py + bounds.top); 178 mState.mDrawable.setBounds(bounds.left, bounds.top,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsHorizontalScrollView.java | 249 int top = mScrollY + getFadeTop(offsetRequired); 250 int bottom = top + getFadeHeight(offsetRequired); 257 left, right, top, bottom, mScrollX, mScrollY,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 253 final int th = r.bottom - r.top; 260 int dh = r.top + th + r.bottom; 264 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 209 vec2 lt( bounds.left, bounds.top ); 210 vec2 rt( bounds.right, bounds.top ); 220 r.top = floorf(min(lt[1], rt[1], lb[1], rb[1]) + 0.5f);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 82 * Requests that the content being animated be forced on top of all other 1001 * @param top 1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument 1015 invalidate.set(left, top, right, bottom); 1034 * @param top 1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 1042 region.set(left, top, right, bottom);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 223 jfloat top, jfloat right, jfloat bottom) { 226 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 233 jint top, jint right, jint bottom) { 236 r.set(SkIntToScalar(left), SkIntToScalar(top), 258 float left, float top, float right, float bottom, 261 rect.set(SkFloatToScalar(left), SkFloatToScalar(top), 294 jfloat left, jfloat top, jfloat right, 297 r.set(SkFloatToScalar(left), SkFloatToScalar(top), 395 jfloat left, jfloat top, jfloat right, 398 SkScalar top_ = SkFloatToScalar(top); 222 clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 232 clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, jint top, jint right, jint bottom) argument 257 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument 293 quickReject__FFFFI(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, int edgetype) argument 394 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument 454 drawBitmap__BitmapFFPaint(JNIEnv* env, jobject jcanvas, SkCanvas* canvas, SkBitmap* bitmap, jfloat left, jfloat top, SkPaint* paint, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument 803 SkScalar top = SkFloatToScalar(y + textSize * kStdUnderline_Offset local 810 SkScalar top = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | ButtonsWithTallTextViewInBetweenTest.java | 57 return mTempRect.top; 68 assertTrue("top button should be shorter than max scroll amount", 84 assertTrue("top button should be off screen", 87 assertFalse("top button should have lost focus",
|
H A D | ShortButtonsTest.java | 96 assertEquals("should be fully scrolled to top", 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix4f.java | 252 * @param t location of the top horizontal clipping plane 269 * values. Left and top clipping planes are set to 0. Near and 286 * @param t location of the top horizontal clipping plane 312 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); 313 float bottom = -top; 315 float right = top * aspect; 316 loadFrustum(left, right, bottom, top, near, far); 322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
|
/frameworks/base/libs/hwui/ |
H A D | Matrix.h | 81 void loadOrtho(float left, float right, float bottom, float top, float near, float far);
|
H A D | TextDropShadowCache.cpp | 117 texture->top = shadow.penY;
|
H A D | TextDropShadowCache.h | 117 float top; member in struct:android::uirenderer::ShadowTexture
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 353 int top, 578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 584 int top, 946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 952 float top, 957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 963 float top, 349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument 948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument 959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
|