/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | WindowInsetsCompatApi21.java | 76 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument 77 return new WindowInsetsCompatApi21(mSource.replaceSystemWindowInsets(left, top, right, bottom));
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 155 public void setPadding(int left, int top, int right, int bottom) { argument 159 super.setPadding(left, top, right, bottom); 266 final int right = mCurrText.getRight() + mTabPadding; 270 canvas.drawRect(left, top, right, bottom, mTabPaint); 284 int right = mCurrText.getRight() + mTabPadding; 287 r.set(left, top, right, bottom); 293 right = mCurrText.getRight() + mTabPadding; 294 r.union(left, top, right, bottom);
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | ViewCompatJB.java | 41 int right, int bottom) { 42 view.postInvalidate(left, top, right, bottom); 40 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | SidePropagation.java | 95 int right = left + sceneRoot.getWidth(); 104 epicenterX = (left + right) / 2; 109 left, top, right, bottom); 122 int left, int top, int right, int bottom) { 136 distance = right - viewX + Math.abs(epicenterY - viewY); 121 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
|
H A D | TransitionUtils.java | 97 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/base/core/java/android/view/animation/ |
H A D | Transformation.java | 129 mClipRect.right + bounds.right, mClipRect.bottom + bounds.bottom); 148 mClipRect.right + bounds.right, mClipRect.bottom + bounds.bottom); 176 setClipRect(r.left, r.top, r.right, r.bottom);
|
/frameworks/base/libs/androidfw/ |
H A D | LocaleData.cpp | 133 const uint32_t right = packLocale(requested_language, right_region); local 138 // Find the parents of the request, but stop as soon as we saw left or right 139 const uint32_t left_and_right[] = {left, right}; 147 if (left_right_index == 1) { // We saw right earlier 151 // If we are here, neither left nor right are an ancestor of the 158 right, requested_script, request_ancestors, ancestor_count); 163 // If we are here, left and right are equidistant from the request. We will 166 const bool right_is_representative = isRepresentative(right, requested_script); 175 return (int64_t) right - (int64_t) left;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | AssertHelpers.java | 59 * right. 65 * @param right Right array 67 public static void assertArrayNotGreater(String message, float[] left, float[] right) { argument 68 assertEquals("Array lengths did not match", left.length, right.length); 71 String rightString = Arrays.toString(right); 76 "right = %s)", 77 message, left[i], right[i], i, leftString, rightString); 79 assertTrue(msg, left[i] <= right[i]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SignalTileView.java | 93 int left, right; 95 right = mIconFrame.getLeft(); 96 left = right - indicator.getMeasuredWidth(); 99 right = left + indicator.getMeasuredWidth(); 104 right,
|
H A D | TileLayout.java | 124 int right; 126 right = w - left; 127 left = right - mCellWidth; 129 right = left + mCellWidth; 131 record.tileView.layout(left, top, right, top + record.tileView.getMeasuredHeight());
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 305 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument 313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 328 float left, float top, float right, float bottom, int dir) { 334 pathDelegate.addRect(left, top, right, bottom, dir); 338 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument 346 left, top, right - left, bottom - top), false); 362 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument 371 left, top, right - left, bottom - top, 376 /*package*/ static void native_addRoundRect(long nPath, float left, float top, float right, argument 385 left, top, right 327 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 389 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument 793 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 826 addRect(float left, float top, float right, float bottom, int dir) argument [all...] |
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 56 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { argument 59 if (right != null) right = TintedDrawable.wrap(right.mutate()); 61 super.setCompoundDrawables(left, top, right, bottom); 99 drawables[2] = compoundDrawables[2]; // right
|
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 116 * // by x pixels to the right and redraw this view. All the commands 270 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom); 320 outline.mRect.right, outline.mRect.bottom, outline.mRadius, outline.mAlpha); 693 * Sets the right position for the display list. 695 * @param right The right position, in pixels, of the display list 699 public boolean setRight(int right) { argument 700 return nSetRight(mNativeRenderNode, right); 719 * @param right The right positio 727 setLeftTopRightBottom(int left, int top, int right, int bottom) argument 828 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument 831 nSetRight(long renderNode, int right) argument 840 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument 845 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GradientsActivity.java | 222 float right = 40.0f + mDrawWidth; 228 mMatrix.postTranslate(right, top); 231 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint); 240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); 243 right += 40.0f + mDrawWidth; 252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 264 right = left + mDrawWidth; 271 mMatrix.postTranslate(right, top); 274 canvas.drawRect(left, top, right, botto [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.cpp | 90 virtual int saveLayer(float left, float top, float right, float bottom, 92 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 104 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 106 virtual bool clipRect(float left, float top, float right, float bottom, 122 virtual void drawRect(float left, float top, float right, float bottom, 125 virtual void drawRoundRect(float left, float top, float right, float bottom, 128 virtual void drawOval(float left, float top, float right, float bottom, 130 virtual void drawArc(float left, float top, float right, float bottom, 154 uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, 343 int SkiaCanvas::saveLayer(float left, float top, float right, floa argument 353 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SaveFlags::Flags flags) argument 483 quickRejectRect(float left, float top, float right, float bottom) const argument 492 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 575 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 589 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 599 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 604 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 778 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument 827 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
H A D | DamageAccumulator.h | 55 void dirty(float left, float top, float right, float bottom);
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 45 int left, right; 51 right = 0; 55 right = (int) Math.max(right, layout.getLineRight(i)); 59 right = availableWidth; 62 final int actualWidth = right - left; 71 // direction to resolve it to left or right 77 x = Math.min(x, right - availableWidth);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 125 public void setPadding(int left, int top, int right, int bottom) { argument 174 * @param right The right padding in pixels 182 public void setContentPadding(int left, int top, int right, int bottom) { argument 183 mContentPadding.set(left, top, right, bottom); 244 mContentPadding.right = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingRight, 310 * Returns the inner padding before the Card's right edge 312 * @return the inner padding before the Card's right edge 315 return mContentPadding.right; 457 public void setShadowPadding(int left, int top, int right, in [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 100 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), 118 r.right - mInset.right, r.bottom - mInset.bottom);
|
H A D | RectShape.java | 44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 51 * 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/v4/tests/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 131 * Checks whether the specified rectangle matches the specified left / top / right / 135 int left, int top, int right, int bottom) { 138 Assert.assertEquals(failMessagePrefix + " right", rectangle.right, right); 134 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 D | KeyguardAffordanceHelper.java | 240 public void startHintAnimation(boolean right, argument 243 startHintAnimationPhase1(right, onFinishedListener); 246 private void startHintAnimationPhase1(final boolean right, final Runnable onFinishedListener) { argument 247 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; 248 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); 264 startUnlockHintAnimationPhase2(right, onFinishedListener); 278 private void startUnlockHintAnimationPhase2(boolean right, final Runnable onFinishedListener) { argument 279 ValueAnimator animator = getAnimatorToRadius(right, 0); 295 private ValueAnimator getAnimatorToRadius(final boolean right, int radius) { argument 296 final KeyguardAffordanceView targetView = right 343 fling(float vel, final boolean snapBack, boolean right) argument 370 startFinishingCircleAnimation(float velocity, Runnable mAnimationEndRunnable, boolean right) argument [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_matrix.rsh | 34 * 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/libs/hwui/protos/ |
H A D | hwui.proto | 33 required int32 right = 2; 60 required float right = 2;
|