Searched refs:left (Results 176 - 200 of 559) sorted by relevance

1234567891011>>

/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/wilhelm/src/itf/
H A DIOutputMixExt.c29 short left; member in struct:__anon1595
244 mixBuffer->left += (short) (source->left * track->mGains[0]);
250 mixBuffer->left += source->left;
258 mixBuffer->left = (short) (source->left * track->mGains[0]);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java179 public void setBounds(int left, int top, int right, int bottom) { argument
180 mDrawLeft = left + (right-left - mWidth) / 2;
396 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
446 float left = (inWidth - outWidth) * horizontalAlignment;
447 float right = left + outWidth;
450 cropRectF = new RectF(left, top, right, bottom);
495 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
538 cropRect.right = cropRect.left
[all...]
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java82 return new PointF(mBounds.left, mBounds.top);
116 int left = view.getLeft();
120 view.setLeftTopRightBottom(left, top, right, bottom);
133 int left = Math.round(topLeft.x);
137 view.setLeftTopRightBottom(left, top, right, bottom);
150 int left = Math.round(topLeft.x);
152 int right = left + view.getWidth();
154 view.setLeftTopRightBottom(left, top, right, bottom);
290 final int startLeft = startBounds.left;
291 final int endLeft = endBounds.left;
[all...]
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp47 status_t LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument
56 Rect dirty(left, top, right, bottom);
57 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 &&
63 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom);
68 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque);
71 status_t LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
82 return OpenGLRenderer::clear(left, top, right, bottom, opaque);
172 const float u1 = r->left * texX;
177 TextureVertex::set(mesh++, r->left, r->top, u1, v1);
179 TextureVertex::set(mesh++, r->left,
[all...]
H A DDeferredDisplayList.cpp84 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
117 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
129 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom));
132 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom));
211 float boundsDelta = mBounds.left - opBounds.left;
266 if (newClipSideFlags & kClipSide_Left) mClipRect.left = state->mClip.left;
295 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java336 mLayerBounds.left, mLayerBounds.top,
526 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
527 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
594 // then go to previous layer, only if there are any left, and its flags
719 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
731 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
732 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
829 src.left, src.top,
832 src.left, sr
[all...]
/frameworks/native/include/ui/
H A Dmat4.h134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far);
136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far);
232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument
234 m[0][0] = 2 / (right - left);
237 m[3][0] = -(right + left) / (right - left);
244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument
246 T A = (right + left) / (right - left);
250 m[0][0] = (2 * near) / (right - left);
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java110 edgesOut.left = leftEdge;
125 float cropLeft = -edges.left / scale;
206 mCenterX += Math.ceil(edges.left / scale);
297 if (edges.left > 0) {
298 adjustment[0] = edges.left / scale;
/frameworks/rs/
H A DrsRuntime.h104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
202 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right,
204 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java327 * @param left The left padding of the new layer.
332 ChildDrawable addLayer(Drawable layer, int[] themeAttrs, int id, int left, int top, int right, argument
339 childDrawable.mInsetL = left;
453 * @param l number of pixels to add to the left bound
536 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
540 padding.left = 0;
551 padding.left += mPaddingL[i];
559 padding.left = 0;
570 padding.left
605 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
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...]
H A DInsetDrawable.java251 padding.left += mState.mInsetLeft;
264 return Insets.of(contentInsets.left + mState.mInsetLeft,
276 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
277 mState.mDrawable.setHotspotBounds(left, top, right, bottom);
356 r.left += mState.mInsetLeft;
361 mState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
/frameworks/base/media/java/android/media/tv/
H A DTvView.java574 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
576 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right
583 mSurfaceView.layout(0, 0, right - left, bottom - top);
607 int left = location[0];
609 region.op(left, top, left + width, top + height, Region.Op.UNION);
1060 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1062 Log.d(TAG, "onLayoutSurface (left=" + left
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java423 int left = 0, right = 0, top = 0, bottom = 0;
435 left = right - maxSize;
437 left = layoutState.mOffset;
438 right = left + maxSize;
445 left = getPaddingLeft() + mSizePerSpan * params.mSpanIndex;
446 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view);
453 layoutDecorated(view, left + params.leftMargin, top + params.topMargin,
457 + (left + params.leftMargin) + ", t:" + (top + params.topMargin) + ", r:"
481 widthSpec = updateSpecWithExtra(widthSpec, lp.leftMargin + mDecorInsets.left,
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java165 return left(widget, buffer);
245 * Performs a left movement action.
246 * Moves the cursor or scrolls left by one character.
252 protected boolean left(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
429 int left = Integer.MAX_VALUE;
432 if (lineLeft < left) {
433 left = lineLeft;
436 return left;
457 * Performs a scroll left action.
458 * Scrolls left b
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp70 jfieldID left; member in struct:android::__anon871
208 dirtyRect.left = env->GetIntField(dirtyRectObj, gRectClassInfo.left);
254 env->SetIntField(dirtyRectObj, gRectClassInfo.left, dirtyRect.left);
473 gRectClassInfo.left = env->GetFieldID(clazz, "left", "I");
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...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java303 double oldLeft = (rectangle.left + 1000) / 2000.0;
307 int left = mCropRectangle.left + toIntConstrained(
311 int right = mCropRectangle.left + toIntConstrained(
315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top,
573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp199 b.left, b.top, b.width(), b.height());
467 float src_x = viewport.left;
469 float dst_x = frame.left;
506 mViewport.left, mViewport.top, mViewport.right, mViewport.bottom,
507 mFrame.left, mFrame.top, mFrame.right, mFrame.bottom,
508 mScissor.left, mScissor.top, mScissor.right, mScissor.bottom,
/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/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/av/include/media/stagefright/
H A DMetaData.h211 int32_t left, int32_t top,
222 int32_t *left, int32_t *top,
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h60 int32_t left, int32_t top, int32_t right, int32_t bottom);
77 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const;
/frameworks/av/media/libstagefright/yuv/
H A DYUVCanvas.cpp45 for (int32_t x = rect.left; x < rect.right; ++x) {
64 int32_t srcStartX = srcRect.left;

Completed in 543 milliseconds

1234567891011>>