Searched refs:right (Results 251 - 275 of 664) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java103 boolean right = false;
113 right = true;
134 if (right) {
136 button.setText("right");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRangeTest.java72 // OK: right arg is null
170 Range<T> left, Range<T> right) {
172 " expected to be equal to right hash code for " + right,
173 left.hashCode(), right.hashCode());
169 assertHashCodeEquals( Range<T> left, Range<T> right) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java44 v.setLeftTopRightBottom(ltrb.left, ltrb.top, ltrb.right, ltrb.bottom);
130 return ((int) rect.left != v.getLeft()) || ((int) rect.right != v.getRight()) ||
156 v.setLeftTopRightBottom((int) rect.left, (int) rect.top, (int) rect.right,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
101 super.onLayout(changed, left, top, right, bottom);
300 outRect.right += getTranslationX();
/frameworks/base/services/core/java/com/android/server/wm/
H A DBoundsAnimationController.java153 mTmpRect.right = (int) (mFrom.right * remains + mTo.right * value + 0.5f);
H A DDisplayContent.java530 mTmpRect2.top = mTmpRect.bottom - bounds.right;
532 mTmpRect2.right = mTmpRect2.left + bounds.height();
537 mTmpRect2.left = mTmpRect.right - bounds.right;
538 mTmpRect2.right = mTmpRect2.left + bounds.width();
543 mTmpRect2.left = mTmpRect.right - bounds.bottom;
544 mTmpRect2.right = mTmpRect2.left + bounds.height();
H A DWindowStateAnimator.java740 && attrs.surfaceInsets.right == 0
797 mTmpSize.right = mTmpSize.left + w.mRequestedWidth;
809 mTmpSize.right = mTmpSize.left + displayInfo.logicalWidth;
812 mTmpSize.right = mTmpSize.left + w.mCompatFrame.width();
821 mTmpSize.right = mTmpSize.left + 1;
830 mTmpSize.right += attrs.surfaceInsets.right;
1186 decorRect.right - left, decorRect.bottom - top);
1199 mSystemDecorRect.right = (int) ((mSystemDecorRect.right
[all...]
H A DTaskStack.java446 inOutBounds.right -= movement;
449 movement = mTmpRect.right - inOutBounds.right;
451 inOutBounds.right += movement;
752 outBounds.right = position;
769 outBounds.right = dockedBounds.left - dockDividerWidth;
775 outBounds.left = dockedBounds.right + dockDividerWidth;
1051 mTmpAdjustedBounds.right =
1053 + (1 - minimizeAmount) * mBounds.right);
1054 mTmpAdjustedBounds.left = mTmpAdjustedBounds.right
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java303 e.getX()), mTranslateRect.right - widthBuffer);
417 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
423 // We're at the left-side of the image; allow intercepting movements to the right
426 // We're at the right-side of the image; allow intercepting movements to the left
450 final float drawWidth = mTranslateRect.right - mTranslateRect.left;
456 // We're at the left-side of the image; allow intercepting movements to the right
459 // We're at the right-side of the image; allow intercepting movements to the left
630 final int cropWidth = mCropRect.right - mCropRect.left;
722 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
723 super.onLayout(changed, left, top, right, botto
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DIllustration.java151 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
152 final int layoutWidth = right - left;
174 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DScaleFrameLayout.java93 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
103 parentRight = (int)(pivotX + (right - left - pivotX) / mLayoutScaleX + 0.5f)
107 parentRight = right - left - getPaddingRight();
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java232 int right = existingBounds.right;
236 drawable.setBounds(left, top, right, bottom);
/frameworks/volley/src/main/java/com/android/volley/
H A DRequest.java575 Priority right = other.getPriority();
579 return left == right ?
581 right.ordinal() - left.ordinal();
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java188 int right = left + child.getMeasuredWidth();
192 int layoutRight = right;
207 left = right + params.getMarginEnd();
338 r.right = getWidth();
358 r.right = (int) (r.left + size);
/frameworks/base/core/java/android/widget/
H A DFrameLayout.java125 mForegroundPaddingRight = padding.right;
260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument
268 final int parentRight = right - left - getPaddingRightWithForeground();
/frameworks/base/libs/hwui/
H A DRenderProperties.h440 bool setRight(int right) { argument
441 if (RP_SET(mPrimitiveFields.mRight, right)) {
476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
478 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) {
481 mPrimitiveFields.mRight = right;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp209 position[i*6 + 2].x = r->right;
213 position[i*6 + 4].x = r->right;
215 position[i*6 + 5].x = r->right;
232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
233 glScissor(left, bottom, right, top);
231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java326 for (int x = r.left, right = r.right; x < right; x += size) {
375 int right = (int) Math.ceil(left + width / scale);
382 right = Math.min(mImageWidth, right);
385 out.set(left, top, right, bottom);
444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) {
647 source.right /= 2f;
650 source.right
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp72 jfieldID right; member in struct:android::__anon947
306 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right);
342 dirtyRect.right, dirtyRect.bottom);
348 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right);
591 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java197 d + mShadowPadding.left + mShadowPadding.right,
473 rect.right -= mShadowPadding.right;
715 // If we're on the left edge, shift it the right
716 offsetLR = padding.right;
783 public void setShadowPadding(int left, int top, int right, int bottom) { argument
784 mShadowPadding.set(left, top, right, bottom);
786 right + mImagePadding, bottom + mImagePadding);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java361 * {@link BatchedCallback#dispatchLastEvent()} right after you complete your data changes.
592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument
593 while (left < right) {
594 final int middle = (left + right) / 2;
603 int exact = linearEqualitySearch(item, middle, left, right);
611 right = middle;
617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument
629 for (int next = middle + 1; next < right; next++) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java184 /** draw the gradient from the top-right to the bottom-left */
186 /** draw the gradient from the right to the left */
188 /** draw the gradient from the bottom-right to the top-left */
192 /** draw the gradient from the bottom-left to the top-right */
194 /** draw the gradient from the left to the right */
196 /** draw the gradient from the top-left to the bottom-right */
225 * ordered top-left, top-right, bottom-right, bottom-left. This property
248 * ordered top-left, top-right, bottom-right, botto
[all...]
H A DLayerDrawable.java452 * @param right The right padding of the new layer.
456 int left, int top, int right, int bottom) {
463 childDrawable.mInsetR = right;
756 * @param r number of pixels to subtract from the right bound
809 * @param r number of pixels to inset from the right bound
819 * @return number of pixels to inset from the right bound
1041 padding.right = paddingR;
1048 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
1063 * @param right th
455 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument
1072 setPadding(int left, int top, int right, int bottom) argument
1286 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java640 int left = 0, right = 0, top = 0, bottom = 0;
651 right = layoutState.mOffset;
652 left = right - maxSize;
655 right = left + maxSize;
663 right = getPaddingLeft() + mCachedBorders[params.mSpanIndex + params.mSpanSize];
664 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view);
667 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view);
675 layoutDecoratedWithMargins(view, left, top, right, bottom);
679 + (right - params.rightMargin) + ", b:" + (bottom - params.bottomMargin)
713 lp.rightMargin + mDecorInsets.right);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java288 boolean bottom, boolean right) {
299 if (right && lp.rightMargin != insets.right) {
301 lp.rightMargin = insets.right;
468 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
472 final int parentRight = right - left - getPaddingRight();
287 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument

Completed in 626 milliseconds

<<11121314151617181920>>