/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableView.java | 97 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 98 super.onLayout(changed, left, top, right, bottom); 224 * Sets the amount this view should be clipped from the top. This is used when an expanded 225 * notification is scrolling in the top or bottom stack. 227 * @param clipTopAmount The amount of pixels this view should be clipped from top. 265 * such that the child appears to be going away to the top. 1 287 * view,we also need to subtract the clipTopAmount from the top. This is needed in order to 297 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); 298 outRect.top += getTranslationY() + getClipTopAmount(); 307 * @param view the view for which the height changed, or {@code null} if just the top [all...] |
H A D | ExpandableNotificationRow.java | 350 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 351 super.onLayout(changed, left, top, right, bottom);
|
H A D | KeyguardAffordanceView.java | 147 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 148 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 169 protected void onLayout(boolean changed, int left, int top, int right, argument 171 super.onLayout(changed, left, top, right, bottom); 270 cy += (mTempRectF.top / scale) - yoffset; 272 cy -= (mTempRectF.top / scale) - yoffset;
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 139 public boolean pageUp(boolean top) { argument
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 44 const int top = frame.y_offset; local 45 const int bottom = top + frame.height; 46 return x >= left && x < right && y >= top && y < bottom;
|
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 234 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 241 if (top) { 242 *top = metrics->top; 250 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 256 SetMetrics(&metrics, left, right, top, bottom); 261 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 265 SetMetrics(&metrics, left, right, top, bottom); 233 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 249 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 260 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 239 float x, int top, int y, int bottom, Paint paint) { 238 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DrawableWrapper.java | 50 public void setBounds(int left, int top, int right, int bottom) { argument 51 super.setBounds(left, top, right, bottom); 52 mDrawable.setBounds(left, top, right, bottom); 206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 133 u32 top; member in struct:__anon596 390 top-most edge of a macroblock. Macroblock types are checked 420 top-most edge of a macroblock. Macroblock types are checked 563 mb pointer to macroblock data structure of the top-left 1149 /* top edges */ 1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4; 1159 bS[0].top [all...] |
H A D | h264bsd_reconstruct.c | 97 pRef pointer to reference frame Cb top-left corner 2240 i32 top, y, bottom; local 2287 top = y0 < 0 ? -y0 : 0; 2289 y = (i32)blockHeight - top - bottom; 2292 for ( ; top; top-- )
|
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 288 int fmTop = fm.top; 387 int above, below, top, bottom; 394 top = okTop; 401 top = fitTop; 414 top = fmTop; 424 above, below, top, bottom, 461 fitTop = fm.top; 497 fm.top, fm.bottom, 509 int above, int below, int top, int bottom, int v, 540 fm.top 508 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, boolean hasTabOrEmoji, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 51 * normally appear on top of it. This can be used to place overlays such as 52 * buttons on top of the Surface, though note however that it can have an 58 * properties are used to draw a sibling view on top of the SurfaceView, the 298 protected boolean setFrame(int left, int top, int right, int bottom) { argument 299 boolean result = super.setFrame(left, top, right, bottom); 356 * Control whether the surface view's surface is placed on top of another 358 * This is typically used to place overlays on top of an underlying media 373 * Control whether the surface view's surface is placed on top of its 378 * SurfaceView is in will be visible on top of its surface. 458 + " top [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 37 * several top level options as action buttons while spilling remaining options over as 425 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 super.onLayout(changed, left, top, right, bottom); 432 final int midVertical = (bottom - top) / 2;
|
H A D | ActivityChooserView.java | 475 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 476 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|
H A D | FrameLayout.java | 51 * <p>Child views are drawn in a stack, with the most recently added child on top. 190 mForegroundPaddingTop = padding.top; 259 * Supply a Drawable that is to be rendered on top of all of the child 264 * @param d The Drawable to be drawn on top of the children. 293 mForegroundPaddingTop = padding.top; 308 * foreground drawable, if non-null, is always drawn on top of the children. 513 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 514 layoutChildren(left, top, right, bottom, false /* no force left gravity */); 517 void layoutChildren(int left, int top, int right, int bottom, argument 525 final int parentBottom = bottom - top [all...] |
H A D | VideoView.java | 115 /** Subtitle rendering widget overlaid on top of the video. */ 841 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 842 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 113 * top-most). Each value contains the number of items in that row. 368 childLayoutParams.top = (int) itemTop; 439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right, 744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the 749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
|
/frameworks/base/core/jni/android/graphics/ |
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/graphics/java/android/graphics/drawable/ |
H A D | InsetDrawable.java | 253 padding.top += mState.mInsetTop; 265 contentInsets.top + mState.mInsetTop, 276 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 277 mState.mDrawable.setHotspotBounds(left, top, right, bottom); 357 r.top += mState.mInsetTop; 361 mState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
|
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/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardWidgetFrame.java | 343 public void setMaxChallengeTop(int top) { argument 344 boolean dirty = mMaxChallengeTop != top; 345 mMaxChallengeTop = top; 346 mSmallWidgetHeight = top - getPaddingTop(); 347 mSmallFrameHeight = top + getPaddingBottom();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PageAdapter.java | 123 public void setPadding(int left, int top, int right, int bottom); argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintContentView.java | 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight()); 402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument 408 final float progress = ((float) top - getOpenedOptionsY()) 446 public int clampViewPositionVertical(View child, int top, int dy) { argument 448 return Math.max(Math.min(top, getOpenedOptionsY()), getClosedOptionsY());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 456 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument 461 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top); 465 final float bottom = top + mBackground.getHeight() * mScale; 468 c.clipRect(left, top, right, bottom, 474 RectF dest = new RectF(left, top, right, bottom); 484 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument 488 final float bottom = top + mBackground.getHeight() * mScale; 494 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); 541 private FloatBuffer createMesh(int left, int top, floa argument [all...] |