/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 639 int left, int top, int right, int bottom) 646 crop.bottom = bottom; 638 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 179 public void setBounds(int left, int top, int right, int bottom) { argument 181 mDrawTop = top + (bottom-top - mHeight) / 2; 398 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 449 float bottom = top + outHeight; 450 cropRectF = new RectF(left, top, right, bottom); 535 cropRect.bottom = inHeight; 544 cropRect.bottom = cropRect.top + cropHeight; 959 * on its left, top, right, and bottom sides.
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1003 * @param bottom 1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument 1015 invalidate.set(left, top, right, bottom); 1036 * @param bottom 1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 1042 region.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 541 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1155 // Either we hit the bottom, or we are trying to move up
|
H A D | AdapterViewAnimator.java | 763 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | LinearLayout.java | 360 int bottom = 0; 362 bottom = getHeight() - getPaddingBottom() - mDividerHeight; 365 bottom = child.getBottom() + lp.bottomMargin; 367 drawHorizontalDivider(canvas, bottom); 1482 * @param bottom 1484 void layoutVertical(int left, int top, int right, int bottom) { argument 1505 childTop = mPaddingTop + bottom - top - mTotalLength; 1510 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; 1576 * @param bottom 1578 void layoutHorizontal(int left, int top, int right, int bottom) { argument [all...] |
H A D | Switch.java | 878 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 879 super.onLayout(changed, left, top, right, bottom); 972 if (thumbInsets.bottom > padding.bottom) { 973 trackBottom -= thumbInsets.bottom - padding.bottom; 1012 final int switchInnerBottom = switchBottom - padding.bottom;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 289 boolean bottom, boolean right) { 304 if (bottom && lp.bottomMargin != insets.bottom) { 306 lp.bottomMargin = insets.bottom; 319 // The top and bottom action bars are always within the content area. 382 // xlarge screen layout doesn't have bottom action bar. 414 // If action bar is split, adjust bottom insets for it. 432 mContentInsets.bottom += bottomInset; 435 mInnerInsets.bottom += bottomInset; 469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 288 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 156 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, 159 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 169 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 172 obj->addRect(left, top, right, bottom, dir); 176 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) { 179 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 190 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { 191 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom); 197 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) { 198 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 155 arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument 168 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 175 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument 189 addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument 196 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument 204 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 121 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) { 122 android::uirenderer::Rect clipBounds(left, top, right, bottom); 143 jint right, jint bottom, jfloat radius, jfloat alpha) { 145 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom, 287 jobject clazz, jlong renderNodePtr, int bottom) { 288 return SET_AND_DIRTY(setBottom, bottom, RenderNode::Y); 293 int right, int bottom) { 295 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) { 120 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument 141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 286 android_view_RenderNode_setBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int bottom) argument 291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
|
H A D | android_view_SurfaceControl.cpp | 69 jfieldID bottom; member in struct:android::__anon874 130 int bottom = env->GetIntField(sourceCropObj, gRectClassInfo.bottom); local 131 Rect sourceCrop(left, top, right, bottom); 201 int bottom = env->GetIntField(sourceCropObj, gRectClassInfo.bottom); local 202 Rect sourceCrop(left, top, right, bottom); 670 gRectClassInfo.bottom = env->GetFieldID(rectClazz, "bottom", "I");
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 527 * @param bottom The bottom of a rectangle to add to the path 530 public void addRect(float left, float top, float right, float bottom, Directio argument 550 addOval(float left, float top, float right, float bottom, Direction dir) argument 585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 819 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 152 public void setBounds(int left, int top, int right, int bottom) { argument 160 oldBounds.right != right || oldBounds.bottom != bottom) { 165 mBounds.set(left, top, right, bottom); 175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 543 * @param bottom 545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
|
H A D | LayerDrawable.java | 330 * @param bottom The bottom padding of the new layer. 333 int bottom) { 342 childDrawable.mInsetB = bottom; 456 * @param b number of pixels to subtract from the bottom bound 536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 543 padding.bottom = 0; 554 padding.bottom += mPaddingB[i]; 562 padding.bottom = 0; 573 padding.bottom 332 addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 605 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
H A D | RippleDrawable.java | 573 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 575 mHotspotBounds.set(left, top, right, bottom);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 64 float right, float bottom, bool opaque) { 119 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 125 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, flags)); 163 bool DisplayListRenderer::clipRect(float left, float top, float right, float bottom, argument 165 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 166 return StatefulBaseRenderer::clipRect(left, top, right, bottom, op); 253 float left, float top, float right, float bottom, const SkPaint* paint) { 258 addDrawOp(new (alloc()) DrawPatchOp(bitmap, patch, left, top, right, bottom, paint)); 267 status_t DisplayListRenderer::drawRect(float left, float top, float right, float bottom, argument 270 addDrawOp(new (alloc()) DrawRectOp(left, top, right, bottom, pain 63 prepareDirty(float left, float top, float right, float bottom, bool opaque) argument 252 drawPatch(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument 274 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument 281 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 315 drawOval(float left, float top, float right, float bottom, const SkPaint* paint) argument 322 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument [all...] |
H A D | OpenGLRenderer.h | 136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 146 virtual int saveLayer(float left, float top, float right, float bottom, argument 148 return saveLayer(left, top, right, bottom, paint, flags, NULL); 153 int saveLayer(float left, float top, float right, float bottom, 156 int saveLayerDeferred(float left, float top, float right, float bottom, 173 float left, float top, float right, float bottom, const SkPaint* paint); 175 float left, float top, float right, float bottom, const SkPaint* paint); 177 virtual status_t drawRect(float left, float top, float right, float bottom, 179 virtual status_t drawRoundRect(float left, float top, float right, float bottom, 182 virtual status_t drawOval(float left, float top, float right, float bottom, 327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 560 * @param bottom Bottom position in pixels, relative to the overlay view. 566 final int bottom) { 567 if (left > right || top > bottom) { 575 + right + ", b=" + bottom + ",)"); 577 mSessionCallback.onLayoutSurface(left, top, right, bottom); 976 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1003 frame.right - frame.left, frame.bottom - frame.top, 1023 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1032 mWindowParams.height = frame.bottom - frame.top; 565 layoutSurface(final int left, final int top, final int right, final int bottom) argument
|
H A D | TvView.java | 574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 577 + ", bottom=" + bottom + ",)"); 583 mSurfaceView.layout(0, 0, right - left, bottom - top); 1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument 1063 + right + ", bottom=" + bottom + ",)"); 1072 mSurfaceViewBottom = bottom;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPanelView.java | 102 public void drawFadedEdges(Canvas c, int left, int right, int top, int bottom); argument 172 // index is reverse since most recent appears at the bottom... 805 int bottom = top + getFadeHeight(offsetRequired); 809 bottom += getBottomPaddingOffset(); 811 mRecentsContainer.drawFadedEdges(canvas, left, right, top, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackView.java | 275 mLayoutAlgorithm.mViewRect.bottom); 623 taskStackBounds.bottom -= mConfig.systemInsets.bottom; 649 mLayoutAlgorithm.mTaskRect.height() + mTmpRect.top + mTmpRect.bottom, 662 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 675 mLayoutAlgorithm.mTaskRect.bottom + mTmpRect.bottom); 686 int offscreenY = mLayoutAlgorithm.mViewRect.bottom - 809 ctx.offscreenTranslationY = mLayoutAlgorithm.mViewRect.bottom -
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ActivatableNotificationView.java | 501 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 502 super.onLayout(changed, left, top, right, bottom); 638 float bottom; 641 bottom = actualHeight - heightFraction * mAnimationTranslationY * 0.1f 643 top = bottom * heightFraction; 647 bottom = actualHeight * (1 - heightFraction) + top * heightFraction; 649 mAppearAnimationRect.set(left, top, right, bottom); 651 bottom + mAppearAnimationTranslation);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 402 * We only do this if the current content is scrolled to the bottom, 615 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument 616 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 301 float bottom, 308 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 323 float left, float top, float right, float bottom, int dir) { 329 pathDelegate.addRect(left, top, right, bottom, dir); 334 float bottom, int dir) { 341 left, top, right - left, bottom - top), false); 358 float bottom, float startAngle, float sweepAngle) { 366 left, top, right - left, bottom - top, 372 float bottom, float rx, float ry, int dir) { 380 left, top, right - left, bottom 300 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 322 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 333 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 357 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 371 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 384 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 727 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 760 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 98 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
|