Searched refs:right (Results 226 - 250 of 772) sorted by relevance

1234567891011>>

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java81 // Adds an item at the bottom-right quarter of the custom view.
156 * @param right Right coordinate as a fraction of the parent width,
159 public CustomItem addItem(String description, float left, float top, float right, argument
163 item.mBounds = new RectF(left, top, right, bottom);
197 parent.mBounds.left + bounds.right * parent.mBounds.width(),
278 out.right = (int) (in.right * width);
/frameworks/base/core/java/android/text/
H A DLayout.java182 * @param align whether to left, right, or center the text. Styles can
202 * @param align whether to left, right, or center the text. Styles can
301 int right = mWidth;
341 right -= margin.getLeadingMargin(useFirstLineMargin);
379 return right - left - indentWidth;
414 int right = mWidth;
447 // Draw all leading margin spans. Adjust left or right according
467 margin.drawLeadingMargin(canvas, paint, right, dir, ltop,
470 right -= margin.getLeadingMargin(useFirstLineMargin);
510 x = right
659 getLineStartPos(int line, int left, int right) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java340 mLayerBounds.right, mLayerBounds.bottom,
529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
760 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
761 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
840 src.right, src.top,
841 src.right, src.bottom,
850 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java202 recyclerView.setPadding(padding.left, padding.top, padding.right, padding.bottom);
219 assertThat(recyclerView.getWidth(), is(width + padding.left + padding.right));
300 mOffsetX = mRvParentSize.right - mRvSize.right;
318 && mRawChildrenBox.right <= mRvSize.right - mRvPadding.right;
430 + ",r:" + (postInfo.right + mOffsetX)
477 int expectedW = mRawChildrenBox.width() + mRvPadding.left + mRvPadding.right;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java106 result = (r.left | r.top | r.bottom | r.right) != 0;
116 final int right = padding.right;
117 padding.left = right;
118 padding.right = left;
308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
310 mHotspotBounds = new Rect(left, top, right, bottom);
312 mHotspotBounds.set(left, top, right, bottom);
316 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
561 hotspotBounds.right, hotspotBound
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java388 cropRect.right = Math.min(rotatedInSize[0], cropRect.right);
393 // Extend the crop all the way to the right, for parallax
397 extraSpace = 2f * Math.min(rotatedInSize[0] - cropRect.right, cropRect.left);
399 extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
407 cropRect.right += extraSpace / 2f;
410 cropRect.right += extraSpace;
685 mCropBounds.right /= scaleDownSampleSize;
691 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth();
693 if (roundedTrueCrop.right > fullSiz
[all...]
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java177 return right(widget, buffer);
257 * Performs a right movement action.
258 * Moves the cursor or scrolls right by one character.
264 protected boolean right(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
446 int right = Integer.MIN_VALUE;
449 if (lineRight > right) {
450 right = lineRight;
453 return right;
478 * Performs a scroll right action.
479 * Scrolls right b
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDividerSnapAlgorithm.java42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio
138 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right;
235 return mInsets.right;
262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right;
295 : mDisplayWidth - mInsets.right;
306 : mDisplayWidth - mInsets.right;
309 ? mDisplayWidth - mInsets.right
374 * if {@param increment} is negative and moves right otherwise.
401 /** If the divider reaches this value, the right/bottom task should be dismissed */
404 /** Position of this snap target. The right/botto
[all...]
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java150 final State startStateX = new State(startClip.left, startClip.right, startX);
151 final State endStateX = new State(endClip.left, endClip.right, endX);
182 final State startStateX = new State(startClip.left, startClip.right, startX);
183 final State endStateX = new State(endClip.left, endClip.right, endX);
298 tempState.upper = tempRect.right + (int) tempState.trans;
313 tempRect.right = value.upper - (int) value.trans;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right,
283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom);
289 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart();
303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationHeaderUtil.java205 View right;
210 // Lets find the item to the right
212 right = rowHeader.getChildAt(i);
213 if (mDividers.contains(Integer.valueOf(right.getId()))) {
217 } else if (right.getVisibility() != View.GONE && right instanceof TextView) {
219 left = right;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DShadowPainter.java92 int right = shadowSize - left;
94 int xStop = dstWidth - right;
96 int yStop = dstHeight - right;
106 int lastPixelOffset = right * dstWidth;
119 bufferOffset -= right;
129 a = dataBuffer[bufferOffset + right] >>> 24;
180 * @return the source image with a drop shadow on the bottom and right
207 * @return the source image with a drop shadow on the bottom and right
395 // After making the graphics, I cut out the top right, bottom left
396 // and bottom right corner
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DExpressionVisitor.java227 ctx.right.accept(this), left);
276 return mModel.comparison(ctx.op.getText(), ctx.left.accept(this), ctx.right.accept(this));
329 return mModel.math(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
339 return mModel.logical(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
349 return mModel.math(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
359 return mModel.bitshift(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
/frameworks/rs/script_api/
H A Drs_matrix.spec32 multiply the two source matrices, with the first transformation as the right
53 arg: float4* right, "Right plane."
68 right->x = viewProj->m[3] - viewProj->m[0];
69 right->y = viewProj->m[7] - viewProj->m[4];
70 right->z = viewProj->m[11] - viewProj->m[8];
71 right->w = viewProj->m[15] - viewProj->m[12];
95 len = length(right->xyz);
96 *right /= len;
128 arg: float4* right, "Right plane."
141 distToCenter = dot(right
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java342 protected boolean setFrame(int left, int top, int right, int bottom) { argument
343 boolean result = super.setFrame(left, top, right, bottom);
522 mScreenRect.right = mWindowSpaceLeft + getWidth();
590 mSurfaceFrame.right = mSurfaceWidth;
594 mSurfaceFrame.right = (int) (mSurfaceWidth * appInvertedScale + 0.5f);
598 final int surfaceWidth = mSurfaceFrame.right;
747 mScreenRect.right, mScreenRect.bottom));
797 int left, int top, int right, int bottom) {
813 && mRTLastReportedPosition.right == right
796 updateSurfacePosition_renderWorker(long frameNumber, int left, int top, int right, int bottom) argument
[all...]
H A DDisplayListCanvas.java216 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx,
219 right.getNativeContainer(), bottom.getNativeContainer(),
215 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp166 jfloat left, jfloat top, jfloat right, jfloat bottom) {
167 bool result = get_canvas(canvasHandle)->quickRejectRect(left, top, right, bottom);
268 jfloat right, jfloat bottom, jlong paintHandle) {
270 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
281 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
283 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
293 jfloat right, jfloat bottom, jlong paintHandle) {
295 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
299 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
302 get_canvas(canvasHandle)->drawArc(left, top, right, botto
165 quickRejectRect(jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
267 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
280 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
292 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
298 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
343 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
[all...]
/frameworks/av/include/media/stagefright/
H A DMetaData.h247 int32_t right, int32_t bottom);
258 int32_t *right, int32_t *bottom);
/frameworks/av/media/libstagefright/foundation/include/
H A DMetaData.h247 int32_t right, int32_t bottom);
258 int32_t *right, int32_t *bottom);
/frameworks/av/media/libstagefright/include/
H A DMetaData.h247 int32_t right, int32_t bottom);
258 int32_t *right, int32_t *bottom);
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java92 mBounds.right - 1, mBounds.bottom - 1)) {
96 mBounds.right - 1, mBounds.bottom - 1);
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java117 int right = Math.round(bottomRight.x);
119 view.setLeftTopRightBottom(left, top, right, bottom);
134 int right = view.getRight();
136 view.setLeftTopRightBottom(left, top, right, bottom);
151 int right = left + view.getWidth();
153 view.setLeftTopRightBottom(left, top, right, bottom);
294 final int startRight = startBounds.right;
295 final int endRight = endBounds.right;
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java132 * the right edge.
218 positionStr = "right";
221 diff = drawableBounds.right - drawablePadding.right - maxRight;
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom));
353 || contentRect.right > mPageInfo.mPageWidth
/frameworks/base/libs/hwui/
H A DBakedOpRenderer.h98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument
99 float ltrb[4] = { left, top, right, bottom };

Completed in 613 milliseconds

1234567891011>>