Searched defs:left (Results 251 - 275 of 334) sorted by relevance

<<11121314

/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java357 public boolean setFrame(int left, int top, int right, int bottom); argument
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java620 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DSearchView.java379 public void onLayoutChange(View v, int left, int top, int right, int bottom,
830 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
831 super.onLayout(changed, left, top, right, bottom);
838 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top);
853 final int left = mTemp[0] - mTemp2[0];
854 rect.set(left , top, left + view.getWidth(), top + view.getHeight());
1105 // Next, check for left/right moves, which we use to "return" the
1109 // left key, at end if right key
1110 // TODO: Reverse left/righ
[all...]
H A DStackView.java1098 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1317 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top,
1321 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top,
1350 int left = Math.min(mView.getLeft() + horizontalOffsetDelta, mView.getLeft());
1355 invalidateRectf.set(left, top, right, bottom);
1357 float xoffset = -invalidateRectf.left;
1363 invalidateRect.set((int) Math.floor(invalidateRectf.left),
H A DToolbar.java1145 * @param contentInsetLeft Content inset for the toolbar's left edge
1161 * Gets the left content inset for this toolbar.
1167 * @return The left content inset for this toolbar
1319 * Gets the content inset that will be used on the left side of the bar in the current
1322 * @return the current content inset left in pixels
1682 int left = paddingLeft;
1696 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1706 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin
1910 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp175 jfloat left, jfloat top, jfloat right, jfloat bottom) {
176 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
263 static void drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
266 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
276 static void drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
288 static void drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
291 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
294 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, argument
298 get_canvas(canvasHandle)->drawArc(left, to
174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
339 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
372 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
[all...]
H A Dandroid_view_ThreadedRenderer.cpp220 // Runs any animations still left in mCurrentFrameAnimations
665 jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) {
667 proxy->setContentDrawBounds(left, top, right, bottom);
664 android_view_ThreadedRenderer_setContentDrawBounds(JNIEnv* env, jobject clazz, jlong proxyPtr, jint left, jint top, jint right, jint bottom) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java302 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
303 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom);
H A DDrawableContainer.java109 result = (r.left | r.top | r.bottom | r.right) != 0;
118 final int left = padding.left;
120 padding.left = right;
121 padding.right = left;
297 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
299 mHotspotBounds = new Rect(left, top, right, bottom);
301 mHotspotBounds.set(left, top, right, bottom);
305 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
542 d.setHotspotBounds(hotspotBounds.left, hotspotBound
[all...]
H A DLayerDrawable.java450 * @param left The left padding of the new layer.
456 int left, int top, int right, int bottom) {
461 childDrawable.mInsetL = left;
754 * @param l number of pixels to add to the left bound
789 * @param l number of pixels to inset from the left bound
799 * @return number of pixels to inset from the left bound
1033 padding.left = paddingL;
1048 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
1061 * @param left th
455 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument
1072 setPadding(int left, int top, int right, int bottom) argument
1286 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListOp.h227 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
228 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
239 mLocalBounds.left = std::min(mLocalBounds.left, points[i]);
324 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
325 : mArea(left, top, right, bottom)
332 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
333 : mArea(left, top, right, bottom)
347 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
352 renderer.saveLayer(mArea.left, mAre
537 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
773 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
934 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
961 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1011 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1042 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1137 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1154 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
1182 float left, top, offset; local
[all...]
H A DRenderProperties.h410 bool setLeft(int left) { argument
411 if (RP_SET(mPrimitiveFields.mLeft, left)) {
470 bool setLeftTop(int left, int top) { argument
471 bool leftResult = setLeft(left);
476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop
479 mPrimitiveFields.mLeft = left;
H A DSkiaCanvas.cpp90 virtual int saveLayer(float left, float top, float right, float bottom,
92 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
104 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
106 virtual bool clipRect(float left, float top, float right, float bottom,
122 virtual void drawRect(float left, float top, float right, float bottom,
125 virtual void drawRoundRect(float left, float top, float right, float bottom,
128 virtual void drawOval(float left, float top, float right, float bottom,
130 virtual void drawArc(float left, float top, float right, float bottom,
137 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top,
153 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left,
343 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, SaveFlags::Flags flags) argument
353 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SaveFlags::Flags flags) argument
483 quickRejectRect(float left, float top, float right, float bottom) const argument
492 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
575 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument
589 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
599 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
604 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
629 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument
778 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument
827 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 DTvInputService.java684 * @param left Left position in pixels, relative to the overlay view.
690 public void layoutSurface(final int left, final int top, final int right, argument
692 if (left > right || top > bottom) {
700 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r="
703 mSessionCallback.onLayoutSurface(left, top, right, bottom);
1233 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1263 frame.right - frame.left, frame.bottom - frame.top,
1264 frame.left, frame.top, type, flags, PixelFormat.TRANSPARENT);
1283 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1289 mWindowParams.x = frame.left;
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp558 int32_t left, top, right, bottom; local
559 if (buffer->meta()->findRect("crop-rect", &left, &top, &right, &bottom)) {
568 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/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java1253 MeasureSpec.makeMeasureSpec(mTmpRect.width() + padding.left + padding.right,
1260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1299 tv.layout(mTmpRect.left - padding.left, mTmpRect.top - padding.top,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java269 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
274 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java710 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
711 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java1378 public void foundNonMonotonic(NetworkStats left, int leftIndex, NetworkStats right, argument
1384 builder.append("found non-monotonic " + cookie + " values at left[" + leftIndex
1386 builder.append("left=").append(left).append('\n');
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java2483 public void onLayoutSurface(int left, int top, int right, int bottom) { argument
2486 Slog.d(TAG, "onLayoutSurface (left=" + left + ", top=" + top
2493 mSessionState.client.onLayoutSurface(left, top, right, bottom,
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java526 * @param startPos Offset from left/top edge of outer rectangle to
527 * left/top edge of inner rectangle.
606 computePivot(mTmpRect.left, scaleW),
675 private void putDefaultNextAppTransitionCoordinates(int left, int top, int width, int height, argument
678 bitmap, new Rect(left, top, left + width, top + height));
746 int clipStartX = centerX - halfWidth - appFrame.left;
759 if (appFrame.left > centerX - halfWidth) {
760 translationX = (centerX - halfWidth) - appFrame.left;
919 fromX = mTmpRect.left;
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp342 // Look for left tick
456 // find left and right extent of nine patch content on center row
482 // diagonally from the top left corner towards the center
512 png_bytepp rows, int left, int top, int right, int bottom)
514 png_bytep color = rows[top] + left*4;
516 if (left > right || top > bottom) {
521 for (int i = left; i <= right; i++) {
560 int left; local
594 // Find left and right of sizing areas...
606 errorEdge = "left";
511 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp755 // Look for left tick
856 // find left and right extent of nine patch content on center row
884 // diagonally from the top left corner towards the center
912 static uint32_t getColor(png_bytepp rows, int left, int top, int right, int bottom) { argument
913 png_bytep color = rows[top] + left*4;
915 if (left > right || top > bottom) {
920 for (int i = left; i <= right; i++) {
958 int left; local
992 // Find left and right of sizing areas...
1004 errorEdge = "left";
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java387 float left, float top,
396 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
459 bounds.left = rect.x;
494 float left, float top,
585 final float left, final float top, final float right, final float bottom, long paint) {
596 graphics.fillRect((int)left, (int)top,
597 (int)(right-left), (int)(bottom-top));
602 graphics.drawRect((int)left, (int)top,
603 (int)(right-left), (int)(bottom-top));
610 public static void native_drawOval(long nativeCanvas, final float left, argument
386 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
493 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
584 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument
645 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
677 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
814 native_drawBitmap(Canvas thisCanvas, long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
1142 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]

Completed in 347 milliseconds

<<11121314