/frameworks/base/core/java/android/widget/ |
H A D | Toolbar.java | 386 * @param top the top title margin in pixels 395 public void setTitleMargin(int start, int top, int end, int bottom) { argument 397 mTitleMarginTop = top; 427 * @return the top title margin in pixels 436 * Sets the top title margin in pixels. 438 * @param margin the top title margin in pixels 1941 final int top = getChildTop(child, alignmentHeight); 1943 child.layout(left, top, left + childWidth, top [all...] |
H A D | VideoView.java | 130 /** Subtitle rendering widget overlaid on top of the video. */ 896 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 897 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 733 * @param top The top of the rectangle used for the region. 738 public Palette.Builder setRegion(int left, int top, int right, int bottom) { argument 744 if (!mRegion.intersect(left, top, right, bottom)) { 813 region.top = (int) Math.floor(region.top * scale); 901 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 335 final int top = mLastYOffset + newBounds.top; 339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 366 private void drawColorViews(int left, int top, int width, int height, argument 372 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left + width, top [all...] |
H A D | DecorView.java | 607 drawingBounds.top += frameOffsets.top; 613 drawingBounds.top += framePadding.top - frameOffsets.top; 697 heightSize - mFloatingInsets.top - mFloatingInsets.bottom, AT_MOST); 704 if (mOutsets.top > 0 || mOutsets.bottom > 0) { 709 height + mOutsets.top + mOutsets.bottom, mode); 757 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 758 super.onLayout(changed, left, top, righ [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 135 // Let the view's click listener have top priority (the More button relies on this) 252 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 253 super.onLayout(changed, left, top, right, bottom); 298 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
|
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/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 288 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 296 if (top && lp.topMargin != insets.top) { 298 lp.topMargin = insets.top; 319 // The top and bottom action bars are always within the content area. 407 // If tabs are not embedded, increase space on top to account for them. 412 // This is the space needed on top of the window for all of the action bar 435 mContentInsets.top += topInset; 438 mInnerInsets.top += topInset; 473 protected void onLayout(boolean changed, int left, int top, in argument [all...] |
H A D | AlertDialogLayout.java | 104 // Unknown top-level child. Abort! 272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 292 childTop = mPaddingTop + bottom - top - totalLength; 297 childTop = mPaddingTop + (bottom - top - totalLength) / 2; 355 private void setChildFrame(View child, int left, int top, int width, int height) { argument 356 child.layout(left, top, left + width, top + height);
|
H A D | DecorCaptionView.java | 60 * caption will be the second. This way the caption will always be drawn on top of the content when 67 * down action is performed on top close or maximize buttons; the reason for that is we want these 296 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 318 // This assumes that the caption bar is at the top.
|
H A D | MessagingLinearLayout.java | 209 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | NotificationActionListLayout.java | 197 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 199 super.onLayout(changed, left, top, right, bottom); 209 final int height = bottom - top;
|
H A D | RecyclerView.java | 1054 * <p>Return the offset of the RecyclerView's text baseline from the its top 2374 || mTempRect.top >= mTempRect2.bottom) 2375 && mTempRect.top > mTempRect2.top; 2377 return (mTempRect.top < mTempRect2.top 2378 || mTempRect.bottom <= mTempRect2.top) 2400 mTempRect.top -= insets.top; 4495 view.getTop() - insets.top 8648 layoutDecorated(View child, int left, int top, int right, int bottom) argument 8683 layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) argument 12170 public int top; field in class:RecyclerView.ItemAnimator.ItemHolderInfo [all...] |
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 433 private static boolean hitTest(View child, float x, float y, float left, float top) { argument 436 && y >= top 437 && y <= top + child.getHeight(); 733 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop(); 775 final int top = Math.round(mSelectedStartY + mDy) - margin; 777 final int bottom = top + viewHolder.itemView.getHeight() + 2 * margin; 779 final int centerY = (top + bottom) / 2; 787 if (other.getBottom() < top || other.getTop() > bottom 1308 * @param y The <code>top</code> offset of the View that is being dragged. This value 1742 * @param curY The updated top valu [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | GIFMovie.cpp | 204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, argument 209 uint32_t* dst = bm->getAddr32(left, top); 216 if (top + copyHeight > bmHeight) { 217 copyHeight = bmHeight - top;
|
H A D | GraphicBuffer.cpp | 66 jfieldID top; member in struct:android::__anon1037 167 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 200 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom, 205 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 314 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
|
H A D | Paint.cpp | 55 jfieldID top; member in struct:android::JMetricsID 608 env->SetFloatField(metricsObj, gFontMetrics_fieldID.top, SkScalarToFloat(metrics.fTop)); 628 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.top, SkScalarFloorToInt(metrics.fTop)); 1083 gFontMetrics_fieldID.top = GetFieldIDOrDie(env, gFontMetrics_class, "top", "F"); 1092 gFontMetricsInt_fieldID.top = GetFieldIDOrDie(env, gFontMetricsInt_class, "top", "I");
|
H A D | Path.cpp | 121 static void arcTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, argument 125 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 135 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 138 obj->addRect(left, top, right, bottom, dir); 142 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 145 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 156 static void addArc(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, argument 158 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 163 static void addRoundRectXY(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, argument 165 SkRect rect = SkRect::MakeLTRB(left, top, righ 134 addRect(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 141 addOval(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 171 addRoundRect8(JNIEnv* env, jclass clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument [all...] |
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/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 54 jfieldID top; member in struct:android::__anon1039 144 // is the top-left. So, translate the PDF coordinates to ours. 230 float top; local 235 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom) 236 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom); 251 env->SetIntField(outBox, gRectClassInfo.top, (int) top); 285 const int top = env->GetIntField(box, gRectClassInfo.top); local 290 FPDFPage_SetMediaBox(page, left, top, righ [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 166 jfloat left, jfloat top, jfloat right, jfloat bottom) { 167 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom); 267 static void drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 270 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint); 280 static void drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 283 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint); 292 static void drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 295 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint); 298 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument 302 get_canvas(canvasHandle)->drawArc(left, top, righ 165 quickRejectRect(jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument 343 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 374 drawBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument [all...] |
H A D | android_hardware_display_DisplayViewport.cpp | 47 jfieldID top; member in struct:android::__anon1093 70 viewport->logicalTop = env->GetIntField(logicalFrameObj, gRectClassInfo.top); 77 viewport->physicalTop = env->GetIntField(physicalFrameObj, gRectClassInfo.top); 113 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
|
H A D | android_opengl_GLES10.cpp | 1263 /* void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 1266 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 1271 (GLfloat)top, 1277 /* void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1280 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1285 (GLfixed)top, 2714 /* void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 2717 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 2722 (GLfloat)top, 2728 /* void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixe 1265 android_glFrustumf__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 1279 android_glFrustumx__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2716 android_glOrthof__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 2730 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 | 1198 /* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 1201 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 1206 (GLfixed)top, 2177 /* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */ 2180 (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) { 2185 (GLfixed)top, 3273 /* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */ 3276 (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) { 3281 (GLfloat)top, 3287 /* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloa 1200 android_glFrustumxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 2179 android_glOrthoxOES__IIIIII(JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) argument 3275 android_glFrustumfOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument 3289 android_glOrthofOES__FFFFFF(JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) argument [all...] |
H A D | android_view_RenderNode.cpp | 121 jint left, jint top, jint right, jint bottom) { 122 android::uirenderer::Rect clipBounds(left, top, right, bottom); 141 jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) { 143 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 256 static jboolean android_view_RenderNode_setTop(jlong renderNodePtr, int top) { argument 257 return SET_AND_DIRTY(setTop, top, RenderNode::Y); 269 int left, int top, int right, int bottom) { 271 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 470 (jint) bounds.left, (jint) bounds.top, 502 void doUpdatePositionAsync(jlong frameNumber, jint left, jint top, argument 120 android_view_RenderNode_setClipBounds(jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 140 android_view_RenderNode_setOutlineRoundRect(jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 268 android_view_RenderNode_setLeftTopRightBottom(jlong renderNodePtr, int left, int top, int right, int bottom) argument [all...] |