/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 146 * first value of {@code right}, {@code left} is large than {@code right}. If the first 147 * value of {@code left} is less than the first value of {@code right}, {@code left} is less 148 * than {@code right}. If the first value of {@code left} and the first value of 149 * {@code right} is equal, do the same comparison to the next value. Finally if all values 150 * in {@code left} and {@code right} are equal, {@code left} and {@code right} is equal.</p> 152 * @param left The length must be equal to {@code right}. 153 * @param right The length must be equal to {@code left}. 154 * @return 1 if {@code left} is larger than {@code right} 158 compare(@onNull byte[] left, @NonNull byte[] right) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | DayOfMonthCursorTest.java | 83 assertFalse(mc.right()); 89 assertFalse(mc.right()); 95 assertTrue(mc.right());
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 233 scaledBounds.right = bounds.left + Math.round(bounds.width() / scale); 243 final float cx = (bounds.left + bounds.right) / 2.0f; 272 return (padding.left | padding.top | padding.right | padding.bottom) != 0; 291 bounds.right - mOutlineInsets.right, 309 return Insets.of(opticalInsets.right, opticalInsets.top, 676 final int right = Drawable.scaleFromDensity( 677 sourceOpticalInsets.right, sourceDensity, targetDensity, true); 680 mOpticalInsets = Insets.of(left, top, right, bottom); 694 mPadding.right [all...] |
/frameworks/base/libs/hwui/ |
H A D | CanvasState.h | 123 bool quickRejectConservative(float left, float top, float right, float bottom) const; 125 bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 141 * Returns true if drawing in the rectangle (left, top, right, bottom) 145 bool calculateQuickRejectForScissor(float left, float top, float right, float bottom,
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DividerSnapAlgorithm.java | 42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio 125 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; 222 return mInsets.right; 262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right; 279 : mDisplayWidth - mInsets.right; 290 : mDisplayWidth - mInsets.right; 293 ? mDisplayWidth - mInsets.right 348 * if {@param increment} is negative and moves right otherwise. 375 /** If the divider reaches this value, the right/bottom task should be dismissed */ 378 /** Position of this snap target. The right/botto [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 229 if (abs(r1.right - r2.right) > tolerance) { 233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right); 243 r1.left, r1.top, r1.right, r1.bottom, 244 r2.left, r2.top, r2.right, r2.bottom);
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 38 * left, top = {@code (0, 0)} and right, bottom = {@code (width, height)} 54 * each corner (left, top, right, bottom) rounded towards the nearest integer bounding box. 56 * <p>In particular (left, top) is floored, and (right, bottom) is ceiled.</p> 75 * a new rectangle, with each corner (left, top, right, bottom) rounded towards the nearest 174 destination.right = source.right;
|
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 826 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 852 // Adjust left and right padding to ensure there's enough room for the 855 int paddingRight = padding.right; 859 paddingRight = Math.max(paddingRight, inset.right); 912 mTempRect.left + mTempRect.right + mTouchSlop; 1087 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1088 super.onLayout(changed, left, top, right, bottom); 1102 opticalInsetRight = Math.max(0, insets.right - trackPadding.right); 1178 if (thumbInsets.right > paddin [all...] |
H A D | ExpandableListView.java | 300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right 327 * left/right child indicator when defined. 414 // the left & right bounds 419 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ? 423 indicatorRect.right = mIndicatorRight; 428 indicatorRect.left = width - indicatorRect.right; 429 indicatorRect.right = width - temp; 432 indicatorRect.right -= mPaddingRight; 435 indicatorRect.right += mPaddingLeft; 441 if (indicatorRect.left != indicatorRect.right) { 1172 setChildIndicatorBounds(int left, int right) argument 1221 setIndicatorBounds(int left, int right) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument 62 bool result = dst->setRect(left, top, right, bottom); 91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument 95 ir.set(left, top, right, bottom); 139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom); 144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 146 ir.set(left, top, right, bottom);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 185 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth() 189 rect.right - rect.left, rect.bottom - rect.top, options);
|
H A D | YuvImage.java | 223 rect.right = rect.left + width; 231 rect.right = rect.left + width;
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputClient.aidl | 42 void onLayoutSurface(int left, int top, int right, int bottom, int seq);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | Model.java | 223 int right = start; 225 while (left < right) { 226 int mid = (left + right) >>> 1; 242 right = mid; 296 int right = start; 298 while (left < right) { 299 int mid = ((left + right) >>> 1); 325 right = mid;
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 193 if (rect.left < 0 || rect.right > width || 196 rect.left, rect.top, rect.right, rect.bottom, 214 if (rect.left < 0 || rect.right > width || 217 rect.left, rect.top, rect.right, rect.bottom, 241 if (rect.left < 0 || rect.right > width || 244 rect.left, rect.top, rect.right, rect.bottom, 264 if (rect.left < 0 || rect.right > width || 267 rect.left, rect.top, rect.right, rect.bottom,
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | BitmapUtils.java | 81 outRect.right = outRect.left + srcCroppedW; 124 outRect.right = outRect.left + srcCroppedW;
|
/frameworks/support/percent/src/android/support/percent/ |
H A D | PercentFrameLayout.java | 112 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 113 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | NonOverlappingLinearLayoutWithForeground.java | 108 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 109 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperLollipop.java | 48 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 49 mDrawable.setHotspotBounds(left, top, right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 800 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 826 // Adjust left and right padding to ensure there's enough room for the 829 int paddingRight = padding.right; 833 paddingRight = Math.max(paddingRight, inset.right); 887 mTempRect.left + mTempRect.right + mTouchSlop; 1082 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1083 super.onLayout(changed, left, top, right, bottom); 1097 opticalInsetRight = Math.max(0, insets.right - trackPadding.right); 1173 if (thumbInsets.right > paddin [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 197 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 198 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 388 float right, float bottom, 396 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 461 bounds.right = rect.x + rect.width; 495 float right, float bottom) { 585 final float left, final float top, final float right, final float bottom, long paint) { 597 (int)(right-left), (int)(bottom-top)); 603 (int)(right-left), (int)(bottom-top)); 611 final float top, final float right, final float bottom, long paint) { 612 if (right > left && bottom > top) { 623 (int)(right 386 native_clipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument 493 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 584 native_drawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 610 native_drawOval(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 645 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument 677 native_drawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 1142 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkImage.h | 407 * <p>Note that the right and bottom coordinates are exclusive, so the width of the rectangle is 408 * (right - left) and the height of the rectangle is (bottom - top).</p> 413 int32_t right; member in struct:AImageCropRect
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioProfile.cpp | 43 bool operator == (const SortedVector<T> &left, const SortedVector<T> &right) argument 45 if (left.size() != right.size()) { 48 for(size_t index = 0; index < right.size(); index++) { 49 if (left[index] != right[index]) {
|
/frameworks/base/core/java/android/util/ |
H A D | DayOfMonthCursor.java | 26 * <li>Provides methods to move the cursor up / down / left / right.</li> 161 * Move right one box, potentially flipping to the next month. 165 public boolean right() { method in class:DayOfMonthCursor
|