Searched defs:left (Results 201 - 225 of 262) sorted by relevance

1234567891011

/frameworks/base/core/java/android/widget/
H A DStackView.java1101 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1320 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top,
1324 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top,
1353 int left = Math.min(mView.getLeft() + horizontalOffsetDelta, mView.getLeft());
1358 invalidateRectf.set(left, top, right, bottom);
1360 float xoffset = -invalidateRectf.left;
1366 invalidateRect.set((int) Math.floor(invalidateRectf.left),
H A DToolbar.java940 * @param contentInsetLeft Content inset for the toolbar's left edge
954 * Get the left content inset for this toolbar.
960 * @return The left content inset for this toolbar
1319 int left = paddingLeft;
1333 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1343 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargins,
1350 left = layoutChildLeft(mMenuView, left, collapsingMargin
1545 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java1061 // We only scale to fit horizontally if we're not pinned to the left or right. Likewise,
1117 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1118 super.onLayout(changed, left, top, right, bottom);
1119 final int width = right - left;
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp68 virtual int saveLayer(float left, float top, float right, float bottom,
70 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
82 virtual bool quickRejectRect(float left, float top, float right, float bottom) const;
84 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
99 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint);
100 virtual void drawRoundRect(float left, float top, float right, float bottom,
103 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint);
104 virtual void drawArc(float left, float top, float right, float bottom,
111 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint);
288 int SkiaCanvas::saveLayer(float left, floa argument
296 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SkCanvas::SaveFlags flags) argument
421 quickRejectRect(float left, float top, float right, float bottom) const argument
430 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
514 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument
520 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
530 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
535 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
560 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp154 jfloat left, jfloat top, jfloat right, jfloat bottom) {
155 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
242 static void drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
245 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
248 static void drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
251 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
260 static void drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
263 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
266 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
270 get_canvas(canvasHandle)->drawArc(left, to
153 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
311 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jlong bitmapHandle, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
464 SkScalar left = x; local
[all...]
H A Dandroid_view_GLES20Canvas.cpp121 jlong rendererPtr, jint left, jint top, jint right, jint bottom,
124 return renderer->prepareDirty(left, top, right, bottom, opaque);
208 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom,
212 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags);
220 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom,
225 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom,
228 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags);
235 return renderer->saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom,
244 jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) {
246 const bool result = renderer->quickRejectConservative(left, to
120 android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jboolean opaque) argument
207 android_view_GLES20Canvas_saveLayer(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr, jint saveFlags) argument
224 android_view_GLES20Canvas_saveLayerAlpha(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint alpha, jint saveFlags) argument
243 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
250 android_view_GLES20Canvas_clipRectF(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jint op) argument
259 android_view_GLES20Canvas_clipRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jint left, jint top, jint right, jint bottom, jint op) argument
349 android_view_GLES20Canvas_drawBitmap(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong bitmapPtr, jfloat left, jfloat top, jlong paintPtr) argument
390 android_view_GLES20Canvas_drawBitmapData(JNIEnv* env, jobject clazz, jlong rendererPtr, jintArray colors, jint offset, jint stride, jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, jlong paintPtr) argument
437 android_view_GLES20Canvas_drawPatch(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong bitmapPtr, jlong patchPtr, float left, float top, float right, float bottom, jlong paintPtr) argument
455 android_view_GLES20Canvas_drawRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument
463 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintPtr) argument
502 android_view_GLES20Canvas_drawOval(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintPtr) argument
510 android_view_GLES20Canvas_drawArc(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintPtr) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java104 result = (r.left | r.top | r.bottom | r.right) != 0;
113 final int left = padding.left;
115 padding.left = right;
116 padding.right = left;
292 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
294 mHotspotBounds = new Rect(left, top, bottom, right);
296 mHotspotBounds.set(left, top, bottom, right);
300 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
514 d.setHotspotBounds(hotspotBounds.left, hotspotBound
[all...]
/frameworks/base/libs/hwui/
H A DRenderProperties.h381 bool setLeft(int left) { argument
382 if (RP_SET(mPrimitiveFields.mLeft, left)) {
441 bool setLeftTop(int left, int top) { argument
442 bool leftResult = setLeft(left);
447 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
448 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop
450 mPrimitiveFields.mLeft = left;
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java310 * @param left Left position.
317 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
435 void postLayoutSurface(final int left, final int top, final int right, argument
440 mSessionCallback.onLayoutSurface(mSession, left, top, right, bottom);
699 public void onLayoutSurface(int left, int top, int right, int bottom, int seq) {
706 record.postLayoutSurface(left, top, right, bottom);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp494 int32_t left, top, right, bottom; local
495 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) {
504 rectClazz.get(), rectConstructID, left, top, right + 1, bottom + 1);
/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java347 // 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/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java172 final int left = args.argi1;
176 handleOnRectangleOnScreenRequested(left, top, right, bottom);
242 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
244 args.argi1 = left;
251 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument
254 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
261 if (right - left > magnifFrameInScreenCoords.width()) {
264 scrollX = left - magnifFrameInScreenCoords.left;
268 } else if (left < magnifFrameInScreenCoord
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2113 public void onLayoutSurface(int left, int top, int right, int bottom) { argument
2116 Slog.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top
2123 mSessionState.client.onLayoutSurface(left, top, right, bottom,
/frameworks/base/tools/aapt/
H A DImages.cpp339 // Look for left tick
454 // find left and right extent of nine patch content on center row
480 // diagonally from the top left corner towards the center
507 png_bytepp rows, int left, int top, int right, int bottom)
509 png_bytep color = rows[top] + left*4;
511 if (left > right || top > bottom) {
516 for (int i = left; i <= right; i++) {
557 int left, right, top, bottom; local
560 image->width, &left, &right);
565 // hpatch, vpatch, left, to
506 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
590 int left; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java372 float left, float top,
381 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
445 bounds.left = rect.x;
480 float left, float top,
571 final float left, final float top, final float right, final float bottom, long paint) {
582 graphics.fillRect((int)left, (int)top,
583 (int)(right-left), (int)(bottom-top));
588 graphics.drawRect((int)left, (int)top,
589 (int)(right-left), (int)(bottom-top));
596 /*package*/ static void native_drawOval(long nativeCanvas, final float left, argument
371 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
479 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
570 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
631 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
663 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument
720 native_drawBitmap(Canvas thisCanvas, long nativeCanvas, long bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
1048 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp55 EGLint left, EGLint top, EGLint width, EGLint height);
254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
258 left = max(left, r.left);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
272 int32_t left; member in struct:android::egl_window_surface_v2_t::Rect
2154 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp397 float insetL = winCrop.left * xScale;
402 crop.left += insetL;
451 activeCrop.left, activeCrop.bottom));
717 float left = float(win.left) / float(s.active.w); local
725 texCoords[0] = vec2(left, 1.0f - top);
726 texCoords[1] = vec2(left, 1.0f - bottom);
795 position[0] = tr.transform(win.left, win.top);
796 position[1] = tr.transform(win.left, win.bottom);
875 c.active.crop.left,
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java300 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer,
400 float maxX = mTranslateRect.left * relativeDistance;
446 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
452 // We're at the left-side of the image; allow intercepting movements to the right
455 // We're at the right-side of the image; allow intercepting movements to the left
479 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
485 // We're at the left-side of the image; allow intercepting movements to the right
488 // We're at the right-side of the image; allow intercepting movements to the left
659 final int cropWidth = mCropRect.right - mCropRect.left;
665 matrix.postTranslate(-mCropRect.left,
751 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java270 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
389 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
390 view.invalidate(left, top, right, bottom);
1018 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
1019 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
1222 * @param direction Negative to check scrolling left, positive to check scrolling right.
1445 * @param left The left coordinate of the rectangle to invalidate.
1450 public static void postInvalidateOnAnimation(View view, int left, int top, argument
1452 IMPL.postInvalidateOnAnimation(view, left, to
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DDrawerLayout.java62 * to emerge from: left or right. (Or start/end on platform versions that support layout direction.)
76 * guide</a>, any drawers positioned to the left/start should
79 * This preserves the same navigation left, actions right structure present in the Action Bar
379 * Set a simple drawable used for the left or right shadow.
405 * Set a simple drawable used for the left or right shadow.
1313 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1353 * @param gravity Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right.
1657 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
1663 offset = (float) (childWidth + left) / childWidth;
1666 offset = (float) (width - left) / childWidt
1772 clampViewPositionHorizontal(View child, int left, int dx) argument
[all...]
H A DSlidingPaneLayout.java52 * of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a
126 * Drawable used to draw the shadow between panes to support RTL (right to left language).
360 final int left;
365 left = panel.getLeft();
370 left = right = top = bottom = 0;
388 if (clampedChildLeft >= left && clampedChildTop >= top &&
912 * itself is open revealing the left pane, or if all content fits without sliding.
1002 mTmpRect.left = Math.max(mTmpRect.left, mSlideableView.getRight());
1087 * @deprecated Renamed to {@link #setShadowDrawableLeft(Drawable d)} to support LTR (left t
1328 onViewPositionChanged(View changedView, int left, int top, int dx, int dy) argument
1361 clampViewPositionHorizontal(View child, int left, int dx) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbar.java941 * @param contentInsetLeft Content inset for the toolbar's left edge
955 * Get the left content inset for this toolbar.
961 * @return The left content inset for this toolbar
1335 int left = paddingLeft;
1349 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1359 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargins,
1366 left = layoutChildLeft(mMenuView, left, collapsingMargin
1561 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2526 int32_t left, top, right, bottom; local
2528 &left, &top,
2539 ((right - left + 1) * scale.xWidth) >> 16);
4209 int32_t left, top, right, bottom; local
4213 &left, &top, &right, &bottom));
4216 crop.left = left;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java432 * Flag indicating the motion event intersected the left edge of the screen.
453 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
455 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
636 * indicates that the major axis of contact is oriented to the left.
637 * The full range is from -PI/2 radians (finger pointing fully left) to PI/2 radians
642 * -PI/2 radians is pointing left, -PI or PI radians is pointing down, and PI/2 radians
677 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
763 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
794 * <li>For a joystick, reports the absolute position of the left trigger control.
843 * The value is normalized to a range from -1.0 (turn left) t
2861 isWithinBoundsNoHistory(float left, float top, float right, float bottom) argument
2887 clampNoHistory(float left, float top, float right, float bottom) argument
[all...]
H A DWindowManagerPolicy.java228 * @return Rect The left, top, right, and bottom insets, relative
238 * @return Rect The left, top, right, and bottom insets, relative
498 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom); argument

Completed in 549 milliseconds

1234567891011