Searched defs:left (Results 151 - 175 of 262) sorted by relevance

1234567891011

/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp327 size_t left = 0; local
329 while (left < right_plus_one) {
330 size_t center = left + (right_plus_one - left) / 2;
337 left = center + 1;
339 left = center;
344 if (left == mTableOfContents.size()) {
345 --left;
348 const TOCEntry &entry = mTableOfContents.itemAt(left);
351 left, mTableOfContent
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h99 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
102 Area(int left, int top, int right, int bottom, int weight): argument
103 left(left), top(top), right(right), bottom(bottom),
106 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
274 float left; member in struct:android::camera2::Parameters::CropRegion
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h639 int left, int top, int right, int bottom)
643 crop.left = left;
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 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/view/animation/
H A DAnimation.java1000 * @param left
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1033 * @param left
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 DAdapterView.java541 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DAdapterViewAnimator.java763 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java302 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
329 * left/right child indicator when defined.
416 // the left & right bounds
419 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ?
424 indicatorRect.left = mIndicatorLeft;
429 final int temp = indicatorRect.left;
430 indicatorRect.left = width - indicatorRect.right;
433 indicatorRect.left -= mPaddingRight;
436 indicatorRect.left += mPaddingLeft;
443 if (indicatorRect.left !
1174 setChildIndicatorBounds(int left, int right) argument
1223 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java837 * (excluding fading edges) pretending that this View's left is located at
838 * the parameter left.
841 * @param leftFocus look for a candidate is the one at the left of the bounds
844 * @param left the left offset of the bounds in which a focusable must be
851 final int left, View preferredFocusable) {
858 final int leftWithoutFadingEdge = left + fadingEdgeLength;
859 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength;
876 * @param leftFocus look for a candidate is the one at the left of the bounds
879 * @param left th
850 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument
886 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument
1032 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java418 void drawVerticalDivider(Canvas canvas, int left) { argument
419 mDivider.setBounds(left, getPaddingTop() + mDividerPadding,
420 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
1479 * @param left
1484 void layoutVertical(int left, int top, int right, int bottom) { argument
1491 final int width = right - left;
1573 * @param left
1578 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1606 childLeft = mPaddingLeft + right - left - mTotalLength;
1611 childLeft = mPaddingLeft + (right - left
1702 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DSwitch.java618 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
644 // Adjust left and right padding to ensure there's enough room for the
646 int paddingLeft = padding.left;
650 paddingLeft = Math.max(paddingLeft, inset.left);
703 mTempRect.left + mTempRect.right + mTouchSlop;
878 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
879 super.onLayout(changed, left, top, right, bottom);
892 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left);
955 thumbInitialLeft += padding.left;
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java288 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
292 if (left && lp.leftMargin != insets.left) {
294 lp.leftMargin = insets.left;
469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
473 final int parentRight = right - left - getPaddingRight();
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp155 static void arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
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);
189 static void addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
191 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
196 static void addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
198 SkRect rect = SkRect::MakeLTRB(left, to
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
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 Dandroid_view_RenderNode.cpp121 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
122 android::uirenderer::Rect clipBounds(left, top, right, bottom);
142 jobject clazz, jlong renderNodePtr, jint left, jint top,
145 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
272 jobject clazz, jlong renderNodePtr, int left) {
273 return SET_AND_DIRTY(setLeft, left, RenderNode::X);
292 jobject clazz, jlong renderNodePtr, int left, int top,
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
271 android_view_RenderNode_setLeft(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left) argument
291 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
H A Dandroid_view_SurfaceControl.cpp70 jfieldID left; member in struct:android::__anon874
127 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local
131 Rect sourceCrop(left, top, right, bottom);
198 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local
202 Rect sourceCrop(left, top, right, bottom);
671 gRectClassInfo.left = env->GetFieldID(rectClazz, "left", "I");
/frameworks/base/graphics/java/android/graphics/
H A DPath.java438 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);
524 * @param left The left side of a rectangle to add to the path
530 public void addRect(float left, floa 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 DDrawable.java152 public void setBounds(int left, int top, int right, int bottom) { argument
159 if (oldBounds.left != left || oldBounds.top != top ||
165 mBounds.set(left, top, right, bottom);
175 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
540 * @param left
545 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
694 * (right-to left). See {@link android.util.LayoutDirection}.
703 * right-to-left. See {@link android.util.LayoutDirection}.
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 DRippleDrawable.java573 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 DDisplayListRenderer.cpp63 status_t DisplayListRenderer::prepareDirty(float left, float top, argument
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, to
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 DOpenGLRenderer.h136 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, floa
327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java557 * @param left Left position in pixels, relative to the overlay view.
565 public void layoutSurface(final int left, final int top, final int right, argument
567 if (left > right || top > bottom) {
574 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r="
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,
1004 frame.left, frame.top, type, flag, PixelFormat.TRANSPARENT);
1023 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1029 mWindowParams.x = frame.left;
[all...]
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/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java102 public void drawFadedEdges(Canvas c, int left, int right, int top, int bottom); argument
802 int left = getScrollX() + paddingLeft;
803 int right = left + getRight() - getLeft() - getPaddingRight() - paddingLeft;
811 mRecentsContainer.drawFadedEdges(canvas, left, right, top, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java646 mLayoutAlgorithm.mTaskRect.width() + mTmpRect.left + mTmpRect.right,
662 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
672 tv.layout(mLayoutAlgorithm.mTaskRect.left - mTmpRect.left,

Completed in 219 milliseconds

1234567891011