/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 105 left(left), top(top), right(right), bottom(bottom), 108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0); 296 float left; member in struct:android::camera2::Parameters::CropRegion
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom); 1758 public void setAppBounds(int left, int top, int right, int bottom) { argument 1763 appBounds.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 182 * @param align whether to left, right, or center the text. Styles can 202 * @param align whether to left, right, or center the text. Styles can 300 int left = 0; 343 left += margin.getLeadingMargin(useFirstLineMargin); 379 return right - left - indentWidth; 413 int left = 0; 447 // Draw all leading margin spans. Adjust left or right according 472 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, 475 left += margin.getLeadingMargin(useFirstLineMargin); 507 x = left 659 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 293 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 342 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top, 694 * Sets the left position for the display list. 696 * @param left The left position, in pixels, of the display list 700 public boolean setLeft(int left) { argument 701 return nSetLeft(mNativeRenderNode, left); 738 * Sets the left and top positions for the display list 740 * @param left The left positio 750 setLeftTopRightBottom(int left, int top, int right, int bottom) argument 869 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 878 nSetLeft(long renderNode, int left) argument 892 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument 901 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument [all...] |
H A D | ThreadedRenderer.java | 532 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 535 mInsetLeft = surfaceInsets.left; 704 * @param left The left side of the protected bounds. 709 public void setContentDrawBounds(int left, int top, int right, int bottom) { argument 710 nSetContentDrawBounds(mNativeProxy, left, top, right, bottom); 877 return nCopySurfaceInto(surface, srcRect.left, srcRect.top, 1029 private static native void nSetContentDrawBounds(long nativeProxy, int left, argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 1690 public void updateCursor(View view, int left, int top, int right, int bottom) { argument 1699 mTmpCursorRect.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 645 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | SearchView.java | 366 public void onLayoutChange(View v, int left, int top, int right, int bottom, 819 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 820 super.onLayout(changed, left, top, right, bottom); 827 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top); 842 final int left = mTemp[0] - mTemp2[0]; 843 rect.set(left , top, left + view.getWidth(), top + view.getHeight()); 1081 // Next, check for left/right moves, which we use to "return" the 1085 // left key, at end if right key 1086 // TODO: Reverse left/righ [all...] |
H A D | StackView.java | 1103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1322 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top, 1326 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top, 1355 int left = Math.min(mView.getLeft() + horizontalOffsetDelta, mView.getLeft()); 1360 invalidateRectf.set(left, top, right, bottom); 1362 float xoffset = -invalidateRectf.left; 1368 invalidateRect.set((int) Math.floor(invalidateRectf.left),
|
H A D | Toolbar.java | 1168 * @param contentInsetLeft Content inset for the toolbar's left edge 1185 * Gets the left content inset for this toolbar. 1191 * @return The left content inset for this toolbar 1343 * Gets the content inset that will be used on the left side of the bar in the current 1346 * @return the current content inset left in pixels 1706 int left = paddingLeft; 1721 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1731 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [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 434 return x >= left 435 && x <= left + child.getWidth() 719 final int leftDiff = curX - mTmpRect.left - mRecyclerView.getPaddingLeft(); 774 final int left = Math.round(mSelectedStartX + mDx) - margin; 776 final int right = left + viewHolder.itemView.getWidth() + 2 * margin; 778 final int centerX = (left + right) / 2; 788 || other.getRight() < left || other.getLeft() > right) { 1306 * @param x The <code>left</code> offset of the View that is being dragged. This value 1443 flags &= ~masked; //remove left / 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, to 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_view_SurfaceControl.cpp | 67 jfieldID left; member in struct:android::__anon1140 136 int left = env->GetIntField(rectObj, gRectClassInfo.left); local 140 return Rect(left, top, right, bottom); 253 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local 257 Rect sourceCrop(left, top, right, bottom); 885 gRectClassInfo.left = GetFieldIDOrDie(env, rectClazz, "left", "I");
|
H A D | android_view_ThreadedRenderer.cpp | 401 // Runs any animations still left in mCurrentFrameAnimations 851 jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) { 853 proxy->setContentDrawBounds(left, top, right, bottom); 857 jobject clazz, jobject jsurface, jint left, jint top, 862 return RenderProxy::copySurfaceInto(surface, left, top, right, bottom, &bitmap); 850 android_view_ThreadedRenderer_setContentDrawBounds(JNIEnv* env, jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) argument 856 android_view_ThreadedRenderer_copySurfaceInto(JNIEnv* env, jobject clazz, jobject jsurface, jint left, jint top, jint right, jint bottom, jobject jbitmap) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 445 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 483 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument 485 return nSaveLayer(mNativeCanvasWrapper, left, top, right, bottom, 494 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument 495 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 531 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 552 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 555 return nSaveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, 563 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 564 return saveLayerAlpha(left, to 856 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument 874 clipRect(float left, float top, float right, float bottom) argument 889 clipOutRect(float left, float top, float right, float bottom) argument 907 clipRect(int left, int top, int right, int bottom) argument 922 clipOutRect(int left, int top, int right, int bottom) argument 1106 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument 1279 nClipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument 1290 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 1350 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument 1385 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument 1605 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1754 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1791 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 466 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 467 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom);
|
H A D | DrawableContainer.java | 106 result = (r.left | r.top | r.bottom | r.right) != 0; 115 final int left = padding.left; 117 padding.left = right; 118 padding.right = left; 308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 310 mHotspotBounds = new Rect(left, top, right, bottom); 312 mHotspotBounds.set(left, top, right, bottom); 316 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 560 d.setHotspotBounds(hotspotBounds.left, hotspotBound [all...] |
H A D | LayerDrawable.java | 456 * @param left The left padding of the new layer. 462 int left, int top, int right, int bottom) { 467 childDrawable.mInsetL = left; 760 * @param l number of pixels to add to the left bound 795 * @param l number of pixels to inset from the left bound 805 * @return number of pixels to inset from the left bound 1044 padding.left = paddingL; 1059 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 1072 * @param left th 461 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 1083 setPadding(int left, int top, int right, int bottom) argument 1297 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 412 bool setLeft(int left) { argument 413 if (RP_SET(mPrimitiveFields.mLeft, left)) { 472 bool setLeftTop(int left, int top) { argument 473 bool leftResult = setLeft(left); 478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 479 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 481 mPrimitiveFields.mLeft = left;
|
H A D | SkiaCanvas.cpp | 186 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument 188 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 194 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, argument 199 return this->saveLayer(left, top, right, bottom, &alphaPaint, flags); 201 return this->saveLayer(left, top, right, bottom, nullptr, flags); 376 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 377 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); 385 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 386 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 482 void SkiaCanvas::drawRect(float left, floa argument 494 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 506 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 512 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 541 drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) argument 746 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 685 * @param left Left position in pixels, relative to the overlay view. 691 public void layoutSurface(final int left, final int top, final int right, argument 693 if (left > right || top > bottom) { 701 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r=" 704 mSessionCallback.onLayoutSurface(left, top, right, bottom); 1236 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1266 frame.right - frame.left, frame.bottom - frame.top, 1267 frame.left, frame.top, type, flags, PixelFormat.TRANSPARENT); 1286 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top); 1292 mWindowParams.x = frame.left; [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 566 int32_t left, top, right, bottom; local 567 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) { 576 rectClazz.get(), rectConstructID, left, top, right + 1, bottom + 1);
|
/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 ) 350 int left, 578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 581 int left, 946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 949 float left, 957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 960 float left, 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/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackView.java | 1267 mLayoutAlgorithm.mSystemInsets.top, mLayoutAlgorithm.mSystemInsets.left, 1336 MeasureSpec.makeMeasureSpec(mTmpRect.width() + padding.left + padding.right, 1343 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1390 tv.layout(mTmpRect.left - padding.left, mTmpRect.top - padding.top,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 336 if (mStableInsets.left != insets.getStableInsetLeft() 352 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 353 super.onLayout(changed, left, top, right, bottom); 904 rect.set(containingRect.left, containingRect.top, 905 containingRect.left + width, containingRect.top + height); 1048 return mStableInsets.left != 0; 1101 taskRect.left = offsetPosition - width; 1105 taskRect.left = offsetPosition + mDividerSize; 1153 * @return true if and only if {@code dockSide} is top or left
|