Searched refs:right (Results 101 - 125 of 772) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java97 int right = Math.round(bounds.right);
106 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
109 copy.layout(left, top, right, bottom);
134 int right = existingBounds.right;
138 drawable.setBounds(left, top, right, bottom);
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A Dtrace_creator.py120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop()
124 change.final_crop.rectangle.right,\
139 new.right = rect[2]
277 change.projection.viewport.right,\
282 change.projection.frame.right,\
288 right = input("Enter right: ")
291 return int(left), int(top), int(right), int(bottom)
/frameworks/base/libs/hwui/
H A DSkiaCanvas.h82 virtual int saveLayer(float left, float top, float right, float bottom,
84 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
96 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
98 virtual bool clipRect(float left, float top, float right, float bottom,
115 virtual void drawRect(float left, float top, float right, float bottom,
118 virtual void drawRoundRect(float left, float top, float right, float bottom,
121 virtual void drawOval(float left, float top, float right, float bottom,
123 virtual void drawArc(float left, float top, float right, float bottom,
145 uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right,
H A DCanvasState.h123 bool quickRejectConservative(float left, float top, float right, float bottom) const;
125 bool clipRect(float left, float top, float right, float bottom, SkClipOp op);
144 * Returns true if drawing in the rectangle (left, top, right, bottom)
148 bool calculateQuickRejectForScissor(float left, float top, float right, float bottom,
H A DDamageAccumulator.h55 void dirty(float left, float top, float right, float bottom);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h155 uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right,
177 virtual int saveLayer(float left, float top, float right, float bottom,
179 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
194 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
197 virtual bool clipRect(float left, float top, float right, float bottom,
220 virtual void drawRect(float left, float top, float right, float bottom,
223 virtual void drawRoundRect(float left, float top, float right, float bottom,
226 virtual void drawOval(float left, float top, float right, float bottom,
228 virtual void drawArc(float left, float top, float right, float bottom,
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java125 public void setPadding(int left, int top, int right, int bottom) { argument
175 * @param right The right padding in pixels
183 public void setContentPadding(int left, int top, int right, int bottom) { argument
184 mContentPadding.set(left, top, right, bottom);
245 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight,
311 * Returns the inner padding before the Card's right edge
313 * @return the inner padding before the Card's right edge
316 return mContentPadding.right;
458 public void setShadowPadding(int left, int top, int right, in
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java70 int right = 90 * dpi;
72 int width = right - left;
87 mIconDrawable.setBounds(left, top, right, bottom);
100 circle.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction.CW);
129 assertEquals("right", boundFromDrawable.right, boundFromDeviceConfig.right, delta);
141 int right = 90 * dpi;
145 mIconDrawable.setBounds(left, top, right, bottom);
153 assertEquals("right", righ
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java102 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), radius);
119 r.right - mInset.right, r.bottom - mInset.bottom);
H A DOvalShape.java44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
H A DRectShape.java45 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimateableViewBounds.java51 * Resets the right and bottom clip for this view.
63 mSourceView.getWidth() - mClipRect.right,
68 mSourceView.getWidth() - mClipRect.right,
115 mSourceView.getWidth() - Math.max(0, mClipRect.right),
/frameworks/support/compat/tests/java/android/support/v4/testutils/
H A DTestUtils.java98 * Checks whether the specified rectangle matches the specified left / top / right /
102 int left, int top, int right, int bottom) {
105 Assert.assertEquals(failMessagePrefix + " right", rectangle.right, right);
101 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
H A DTestUtils.java97 * Checks whether the specified rectangle matches the specified left / top / right /
101 int left, int top, int right, int bottom) {
104 Assert.assertEquals(failMessagePrefix + " right", rectangle.right, right);
100 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java241 public void startHintAnimation(boolean right, argument
244 startHintAnimationPhase1(right, onFinishedListener);
247 private void startHintAnimationPhase1(final boolean right, final Runnable onFinishedListener) { argument
248 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon;
249 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount);
265 startUnlockHintAnimationPhase2(right, onFinishedListener);
279 private void startUnlockHintAnimationPhase2(boolean right, final Runnable onFinishedListener) { argument
280 ValueAnimator animator = getAnimatorToRadius(right, 0);
296 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { argument
297 final KeyguardAffordanceView targetView = right
344 fling(float vel, final boolean snapBack, boolean right) argument
371 startFinishingCircleAnimation(float velocity, Runnable mAnimationEndRunnable, boolean right) argument
[all...]
/frameworks/rs/script_api/include/
H A Drs_matrix.rsh34 * multiply the two source matrices, with the first transformation as the right
61 * right: Right plane.
69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top,
77 right->x = viewProj->m[3] - viewProj->m[0];
78 right->y = viewProj->m[7] - viewProj->m[4];
79 right->z = viewProj->m[11] - viewProj->m[8];
80 right->w = viewProj->m[15] - viewProj->m[12];
104 len = length(right->xyz);
105 *right /= len;
131 * right
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_display_DisplayViewport.cpp48 jfieldID right; member in struct:android::__anon1093
71 viewport->logicalRight = env->GetIntField(logicalFrameObj, gRectClassInfo.right);
78 viewport->physicalRight = env->GetIntField(physicalFrameObj, gRectClassInfo.right);
114 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto33 required int32 right = 2;
60 required float right = 2;
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java88 * @param right
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
116 float right = top * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
/frameworks/base/tools/aapt2/compile/
H A DNinePatch.cpp308 for (int32_t x = region.left; x < region.right; x++) {
380 bounds.right = col_iter->start + 1;
386 bounds.right = col_iter->end + 1;
394 bounds.right = width + 1;
528 &nine_patch->padding.left, &nine_patch->padding.right,
530 &nine_patch->layout_bounds.right, "bottom", out_err)) {
544 &nine_patch->layout_bounds.bottom, "right", out_err)) {
565 // Find left and right extent of 9-patch content on center row.
568 &nine_patch->outline.right);
576 (width - 2) - nine_patch->outline.left - nine_patch->outline.right;
[all...]
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) ||
30 (rhs->left > lhs->left && rhs->left < lhs->right));
/frameworks/support/transition/base/android/support/transition/
H A DViewUtilsImpl.java45 void setLeftTopRightBottom(View v, int left, int top, int right, int bottom); argument
/frameworks/support/transition/src/android/support/transition/
H A DTransitionUtils.java51 int right = Math.round(bounds.right);
60 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY);
63 copy.layout(left, top, right, bottom);
/frameworks/data-binding/compiler/src/test/java/android/databinding/
H A DBindingExpressionParserTest.java235 assertEquals("two", ((PrimaryContext) expression.right).identifier().getText());
292 assertTrue(expression.right instanceof ExpressionContext);
293 String two = ((PrimaryContext) expression.right).literal().javaLiteral().getText();
304 assertTrue(expression.right instanceof ExpressionContext);
305 String two = ((PrimaryContext) expression.right).literal().javaLiteral().getText();
316 assertTrue(expression.right instanceof ExpressionContext);
317 String two = ((PrimaryContext) expression.right).literal().javaLiteral().getText();
328 assertTrue(expression.right instanceof ExpressionContext);
329 String two = ((PrimaryContext) expression.right).literal().javaLiteral().getText();
340 assertTrue(expression.right instanceo
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DCompositeDrawable.java399 if (obj.getBoundsRule().right == null) {
400 obj.getBoundsRule().right = ValueRule.absoluteValue(value);
402 obj.getBoundsRule().right.setAbsoluteValue(value);
410 if (obj.getBoundsRule().right == null) {
411 return obj.mParent.getBounds().right;
413 return obj.getBoundsRule().right.getAbsoluteValue();
516 if (obj.getBoundsRule().right == null) {
517 obj.getBoundsRule().right = ValueRule.inheritFromParent(value);
519 obj.getBoundsRule().right.setFraction(value);
527 if (obj.getBoundsRule().right
[all...]

Completed in 2359 milliseconds

1234567891011>>