/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 66 * applications that would like to sit on top of it. This service object 669 mLayout.surfaceInsets.top += mOutsets.top; 690 h += padding.top + padding.bottom + mOutsets.top + mOutsets.bottom; 692 mOverscanInsets.top += padding.top; 696 mContentInsets.top += padding.top; 700 mStableInsets.top [all...] |
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 185 spacing = metrics.bottom - metrics.top; 193 mDesc = spacing + metrics.top; 214 mTopPadding = metrics.top - metrics.ascent;
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSpinner.java | 173 mSpinnerPadding.top = mPaddingTop > mSelectionTopPadding ? mPaddingTop 212 preferredHeight = getChildHeight(view) + mSpinnerPadding.top + mSpinnerPadding.bottom; 221 preferredHeight = mSpinnerPadding.top + mSpinnerPadding.bottom;
|
H A D | GridView.java | 292 * @param nextTop The location where the top of the item associated with pos 388 * Fills the list from pos up to the top of the list view. 402 end = mListPadding.top; 428 * Fills the list from top to bottom, starting with mFirstPosition 430 * @param nextTop The location where the top of the first item should be 501 final int top = getChildAt(0).getTop(); 502 final int offset = childrenTop - top; 549 * @param top the top of the view at that position 553 private View fillSpecific(int position, int top) { argument [all...] |
H A D | Switch.java | 1086 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1087 super.onLayout(changed, left, top, right, bottom); 1174 if (thumbInsets.top > padding.top) { 1175 trackTop += thumbInsets.top - padding.top; 1219 final int switchInnerTop = switchTop + padding.top; 1262 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2; 1263 canvas.translate(left, top);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FakeShadowDrawable.java | 190 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset); 221 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset); 267 // We could have different top-bottom offsets to avoid extra gap above but in that case 270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 263 final int th = r.bottom - r.top; 270 int dh = r.top + th + r.bottom; 274 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2);
|
H A D | DismissViewButton.java | 117 outRect.top += translationY;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowView.java | 70 || insets.top != getPaddingTop() 78 // Drop top inset, apply left inset and pass through bottom inset. 83 insets.top = 0; 97 insets.top = 0;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 257 float top = (float) awtRec.getY(); 259 float bottom = (float) (top + awtRec.getHeight()); 260 RectF androidRect = new RectF(left, top, right, bottom);
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | RoundRectDrawableWithShadow.java | 225 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset); 256 canvas.translate(mCardBounds.right - inset, mCardBounds.top + inset); 302 // We could have different top-bottom offsets to avoid extra gap above but in that case 305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | DngUtils.h | 94 virtual status_t addGainMap(uint32_t top, 127 * center relative to the top,left pixel of the produced images (e.g. [0.5, 0.5] 154 * bayerPhase - 0=top-left of image is red, 1=top-left of image is green pixel in red row, 155 * 2=top-left of image is green pixel in blue row, 3=top-left of image is 158 * badRectCount - number of (top, left, bottom, right) tuples are given in
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityTransitionCoordinator.java | 446 float top = sharedElementBundle.getFloat(KEY_SCREEN_TOP); 452 top -= decorLoc[1]; 458 tempRect.set(left, top, right, bottom); 462 float topInParent = tempRect.top; 478 top = topInParent - tempRect.top; 480 bottom = top + height; 484 int y = Math.round(top); 739 sharedElementBundle.putFloat(KEY_SCREEN_TOP, tempBounds.top);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MeteringRectangle.java | 36 * array, with {@code (0,0)} being the top-left pixel in the 138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative");
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 84 * Requests that the content being animated be forced on top of all other 1004 * @param top 1012 public void getInvalidateRegion(int left, int top, int right, int bottom, argument 1018 invalidate.set(left, top, right, bottom); 1037 * @param top 1043 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 1045 region.set(left, top, right, bottom);
|
/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/graphics/drawable/ |
H A D | ShapeDrawable.java | 137 * @param top padding for the top (in pixels) 141 public void setPadding(int left, int top, int right, int bottom) { argument 142 if ((left | top | right | bottom) == 0) { 148 mShapeState.mPadding.set(left, top, right, bottom); 155 * in the Rect object as: left, top, right, bottom. 246 canvas.translate(r.left, r.top);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 97 void SkiaCanvasProxy::onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, argument 99 mCanvas->drawBitmap(bitmap, left, top, paint); 115 void SkiaCanvasProxy::onDrawSprite(const SkBitmap& bitmap, int left, int top, argument 119 mCanvas->drawBitmap(bitmap, left, top, paint);
|
H A D | TextDropShadowCache.h | 124 float top; member in struct:android::uirenderer::ShadowTexture
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 233 * Sets the Z order of a window owning the surface of this TvView on top of an application. 659 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 661 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right 668 mSurfaceView.layout(0, 0, right - left, bottom - top); 693 int top = location[1]; 694 region.op(left, top, left + width, top + height, Region.Op.UNION); 1187 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1189 Log.d(TAG, "onLayoutSurface (left=" + left + ", top [all...] |
/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
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 153 clip.top = (int) (paddingTopPts * displayScale); 296 // Make sure content is top-left after media box resize. 324 cropBox.top = (int) (cropBox.top * scale + 0.5f); 331 // If in RTL mode put the content in the logical top-right corner. 349 clip.top += paddingTopPts;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 251 * @param t location of the top horizontal clipping plane 268 * values. Left and top clipping planes are set to 0. Near and 285 * @param t location of the top horizontal clipping plane 311 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f)); 312 float bottom = -top; 314 float right = top * aspect; 315 loadFrustum(left, right, bottom, top, near, far); 321 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | StatsFilter.java | 115 float top, float right, float bottom, float[] statsArray); 114 regionscore(ByteBuffer imageBuffer, int width, int height, float left, float top, float right, float bottom, float[] statsArray) argument
|