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

1234567891011>>

/frameworks/base/core/java/android/app/
H A DWallpaperManager.java221 public void setBounds(int left, int top, int right, int bottom) { argument
222 mDrawLeft = left + (right-left - mWidth) / 2;
455 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
475 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
538 float left = (inWidth - outWidth) * horizontalAlignment;
539 float right = left + outWidth;
542 cropRectF = new RectF(left, top, right, bottom);
586 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
628 cropRect.left
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java895 private boolean binderEquals(IInterface left, IInterface right) { argument
896 if (left == null) {
899 return right == null ? false : left.asBinder() == right.asBinder();
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java890 int left = leftChild(i);
891 int spanMax = mSpanMax[left];
896 count = countSpans(queryStart, queryEnd, kind, left);
944 int left = leftChild(i);
945 int spanMax = mSpanMax[left];
950 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority,
1057 int left = 2 * index + 1;
1058 while (left < size) {
1059 if (left < size - 1 && compareSpans(left, lef
1086 compareSpans(int left, int right, int[] priority, int[] insertionOrder) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java311 protected boolean setFrame(int left, int top, int right, int bottom) { argument
312 boolean result = super.setFrame(left, top, right, bottom);
472 + " left=" + (mWindowSpaceLeft != mLocation[0])
557 mSurfaceFrame.left = 0;
680 mWinFrame.left, mWinFrame.top,
682 mSession.repositionChild(mWindow, mWinFrame.left, mWinFrame.top,
699 int left, int top, int right, int bottom) {
715 if (mRTLastReportedPosition.left == left
725 frameNumber, left, to
698 updateWindowPositionRT(long frameNumber, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1012 * @param left
1021 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1027 invalidate.set(left, top, right, bottom);
1045 * @param left
1052 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1054 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java309 if (menuItemLayoutInfoPre.left != menuItemLayoutInfoPost.left) {
311 (menuItemLayoutInfoPre.left - menuItemLayoutInfoPost.left), 0);
1029 int left; field in class:ActionMenuPresenter.MenuItemLayoutInfo
1033 left = view.getLeft();
1038 left += view.getTranslationX();
H A DAdapterView.java549 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DAdapterViewAnimator.java760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
327 * left/right child indicator when defined.
414 // the left & right bounds
417 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ?
422 indicatorRect.left = mIndicatorLeft;
427 final int temp = indicatorRect.left;
428 indicatorRect.left = width - indicatorRect.right;
431 indicatorRect.left -= mPaddingRight;
434 indicatorRect.left += mPaddingLeft;
441 if (indicatorRect.left !
1172 setChildIndicatorBounds(int left, int right) argument
1221 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java862 * (excluding fading edges) pretending that this View's left is located at
863 * the parameter left.
866 * @param leftFocus look for a candidate is the one at the left of the bounds
869 * @param left the left offset of the bounds in which a focusable must be
876 final int left, View preferredFocusable) {
883 final int leftWithoutFadingEdge = left + fadingEdgeLength;
884 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength;
901 * @param leftFocus look for a candidate is the one at the left of the bounds
904 * @param left th
875 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument
911 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument
1057 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java444 void drawVerticalDivider(Canvas canvas, int left) { argument
445 mDivider.setBounds(left, getPaddingTop() + mDividerPadding,
446 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
1507 * @param left
1512 void layoutVertical(int left, int top, int right, int bottom) { argument
1519 final int width = right - left;
1612 * @param left
1617 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1645 childLeft = mPaddingLeft + right - left - mTotalLength;
1650 childLeft = mPaddingLeft + (right - left
1740 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DSimpleMonthView.java386 // day to the left, top, right, or bottom). Focus forward and back jumps out of the
879 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
885 final int w = right - left;
985 // Compute left edge, taking into account RTL.
988 final int left;
990 left = getWidth() - getPaddingRight() - (col + 1) * colWidth;
992 left = getPaddingLeft() + col * colWidth;
1001 outBounds.set(left, top, left + colWidth, top + rowHeight);
H A DSwitch.java826 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
852 // Adjust left and right padding to ensure there's enough room for the
854 int paddingLeft = padding.left;
858 paddingLeft = Math.max(paddingLeft, inset.left);
912 mTempRect.left + mTempRect.right + mTouchSlop;
1087 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1088 super.onLayout(changed, left, top, right, bottom);
1101 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left);
1164 thumbInitialLeft += padding.left;
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java287 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
291 if (left && lp.leftMargin != insets.left) {
293 lp.leftMargin = insets.left;
468 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
472 final int parentRight = right - left - getPaddingRight();
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp153 static void arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
157 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
167 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
170 obj->addRect(left, top, right, bottom, dir);
174 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
177 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
187 static void addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
189 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
194 static void addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, argument
196 SkRect rect = SkRect::MakeLTRB(left, to
166 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
173 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
202 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.cpp183 jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) {
184 android::uirenderer::Rect clipBounds(left, top, right, bottom);
204 jobject clazz, jlong renderNodePtr, jint left, jint top,
207 renderNode->mutateStagingProperties().mutableOutline().setRoundRect(left, top, right, bottom,
334 jobject clazz, jlong renderNodePtr, int left) {
335 return SET_AND_DIRTY(setLeft, left, RenderNode::X);
354 jobject clazz, jlong renderNodePtr, int left, int top,
357 if (renderNode->mutateStagingProperties().setLeftTopRightBottom(left, top, right, bottom)) {
561 bounds.left -= info.windowInsetLeft;
579 (jint) bounds.left, (jin
182 android_view_RenderNode_setClipBounds(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom) argument
203 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument
333 android_view_RenderNode_setLeft(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left) argument
353 android_view_RenderNode_setLeftTopRightBottom(JNIEnv* env, jobject clazz, jlong renderNodePtr, int left, int top, int right, int bottom) argument
608 doUpdatePosition(jlong frameNumber, jint left, jint top, jint right, jint bottom) argument
[all...]
H A Dandroid_view_SurfaceControl.cpp66 jfieldID left; member in struct:android::__anon949
135 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local
139 Rect sourceCrop(left, top, right, bottom);
204 int left = env->GetIntField(sourceCropObj, gRectClassInfo.left); local
208 Rect sourceCrop(left, top, right, bottom);
753 gRectClassInfo.left = GetFieldIDOrDie(env, rectClazz, "left", "I");
/frameworks/base/graphics/java/android/graphics/
H A DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
539 * @param left The left side of a rectangle to add to the path
545 public void addRect(float left, floa argument
565 addOval(float left, float top, float right, float bottom, Direction dir) argument
600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
843 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.java200 public void setBounds(int left, int top, int right, int bottom) { argument
207 if (oldBounds.left != left || oldBounds.top != top ||
213 mBounds.set(left, top, right, bottom);
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
667 * @param left position in pixels of the left bound
673 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
827 * (right-to left). See {@link android.util.LayoutDirection}.
836 * right-to-left
[all...]
H A DRippleDrawable.java629 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
631 mHotspotBounds.set(left, top, right, bottom);
789 final int left = bounds.left;
791 mMaskCanvas.translate(-left, -top);
797 mMaskCanvas.translate(left, top);
858 mMaskMatrix.setTranslate(bounds.left - x, bounds.top - y);
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp130 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument
136 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags));
181 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom);
185 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument
186 return mState.quickRejectConservative(left, top, right, bottom);
195 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument
197 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op));
198 return mState.clipRect(left, top, right, bottom, op);
236 void DisplayListCanvas::drawBitmap(const SkBitmap& bitmap, float left, float top, argument
239 translate(left, to
345 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument
350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
387 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
392 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
[all...]
H A DRecordingCanvas.cpp118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument
130 const Rect unmappedBounds(left, top, right, bottom);
173 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f);
176 clip.translate(-unmappedBounds.left, -unmappedBounds.top);
177 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom);
226 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument
227 return mState.quickRejectConservative(left, top, right, bottom);
233 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
234 return mState.clipRect(left, top, right, bottom, op);
291 void RecordingCanvas::drawRect(float left, floa argument
305 float left = FLT_MAX; local
357 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
370 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
412 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
420 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
453 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvView.java700 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
702 Log.d(TAG, "onLayout (left=" + left + ", top=" + top + ", right=" + right
709 mSurfaceView.layout(0, 0, right - left, bottom - top);
733 int left = location[0];
735 region.op(left, top, left + width, top + height, Region.Op.UNION);
1244 public void onLayoutSurface(Session session, int left, int top, int right, int bottom) { argument
1246 Log.d(TAG, "onLayoutSurface (left=" + left
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp369 int32_t left, top, right, bottom; local
370 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
376 AStringPrintf("%s-left", key).c_str(),
377 left);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java541 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument
546 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top);
549 final float right = left + mBackground.getWidth() * mScale;
553 c.clipRect(left, top, right, bottom,
559 RectF dest = new RectF(left, top, right, bottom);
569 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument
572 final float right = left + mBackground.getWidth() * mScale;
579 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom);
626 private FloatBuffer createMesh(int left, in argument
[all...]

Completed in 6446 milliseconds

1234567891011>>