Searched refs:right (Results 201 - 225 of 664) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java109 result = (r.left | r.top | r.bottom | r.right) != 0;
119 final int right = padding.right;
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);
543 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/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.java140 ctx.right.accept(this), left);
186 return mModel.comparison(ctx.op.getText(), ctx.left.accept(this), ctx.right.accept(this));
239 return mModel.math(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
249 return mModel.logical(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
259 return mModel.math(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
269 return mModel.bitshift(ctx.left.accept(this), ctx.op.getText(), ctx.right.accept(this));
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument
84 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
218 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
219 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom);
323 * direction is RTL (right-to left). See
339 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}.
370 int right, int bottom) {
371 IMPL.setHotspotBounds(drawable, left, top, right, bottom);
369 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
/frameworks/rs/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/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);
264 jfloat right, jfloat bottom, jlong paintHandle) {
266 get_canvas(canvasHandle)->drawRect(left, top, right, bottom, *paint);
277 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) {
279 get_canvas(canvasHandle)->drawRoundRect(left, top, right, bottom, rx, ry, *paint);
289 jfloat right, jfloat bottom, jlong paintHandle) {
291 get_canvas(canvasHandle)->drawOval(left, top, right, bottom, *paint);
295 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
298 get_canvas(canvasHandle)->drawArc(left, top, right, botto
174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
263 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
288 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
294 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) 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
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java149 * @param align whether to left, right, or center the text. Styles can
169 * @param align whether to left, right, or center the text. Styles can
282 int right = mWidth;
315 // Draw all leading margin spans. Adjust left or right according
335 margin.drawLeadingMargin(canvas, paint, right, dir, ltop,
338 right -= margin.getLeadingMargin(useFirstLineMargin);
375 x = right + getIndentAdjust(lineNum, Alignment.ALIGN_RIGHT);
381 x = right - max + getIndentAdjust(lineNum, Alignment.ALIGN_RIGHT);
387 x = ((right + left - max) >> 1) +
511 * Return the start position of the line, given the left and right bound
519 getLineStartPos(int line, int left, int right) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DMetaData.h243 int32_t right, int32_t bottom);
254 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.java118 int right = Math.round(bottomRight.x);
120 view.setLeftTopRightBottom(left, top, right, bottom);
135 int right = view.getRight();
137 view.setLeftTopRightBottom(left, top, right, bottom);
152 int right = left + view.getWidth();
154 view.setLeftTopRightBottom(left, top, right, bottom);
294 final int startRight = startBounds.right;
295 final int endRight = endBounds.right;
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java244 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx,
247 right.getNativeContainer(), bottom.getNativeContainer(),
243 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/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java133 * the right edge.
206 positionStr = "right";
209 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 };
H A DSnapshot.h151 void setClip(float left, float top, float right, float bottom);
180 void resetClip(float left, float top, float right, float bottom);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java83 * top-left of the image and 1,1 is the bottom-right.
162 (int) srcRect.right * srcImage.getWidth(),
166 (int) dstRect.right * srcImage.getWidth(),
/frameworks/native/libs/gui/tests/
H A DFillBuffer.cpp64 bool inside = rect.left <= x && x < rect.right &&
68 bool inside = rect.left <= 2*x && 2*x < rect.right &&
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11Ext.spec22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
40 void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
77 void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
78 void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifListLayout.java98 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
99 super.onLayout(changed, left, top, right, bottom);
145 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts).
H A DSetupWizardListLayout.java95 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
96 super.onLayout(changed, left, top, right, bottom);
130 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts).

Completed in 6234 milliseconds

1234567891011>>