/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathDestructionActivity.java | 59 float left, top, right, bottom; local 62 right = left + MathUtils.random(getWidth() - left); 66 path.lineTo(right, top); 67 path.lineTo(right, bottom);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarOverlayLayout.java | 70 boolean bottom, boolean right) { 81 if (right && lp.rightMargin != insets.right) { 83 lp.rightMargin = insets.right;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoHelper.java | 46 displayRect.right = width;
|
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
AccessibilityNodeInfoHelper.java | 46 displayRect.right = width;
|
/packages/apps/Gallery/src/com/android/camera/ |
HighlightView.java | 125 int right = mDrawRect.right + 1; local 139 + ((mDrawRect.right - mDrawRect.left) / 2); 149 mResizeDrawableWidth.setBounds(right - widthWidth, 151 right + widthWidth, 216 && (x < r.right + hysteresis); 222 if ((Math.abs(r.right - x) < hysteresis) && verticalCheck) { 279 Math.min(0, mImageRect.right - mCropRect.right), 334 } else if (r.right > mImageRect.right) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
QuickContactDivot.java | 134 final int right = getWidth(); local 135 final int middle = right / 2; 143 right - mDrawableIntrinsicWidth, 145 right,
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnClause.java | 67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right),
|
/external/chromium/chrome/browser/ui/views/infobars/ |
infobar_button_border.cc | 20 normal_set_.right = rb.GetBitmapNamed(IDR_INFOBARBUTTON_RIGHT_N); 31 hot_set_.right = rb.GetBitmapNamed(IDR_INFOBARBUTTON_RIGHT_H); 41 pushed_set_.right = rb.GetBitmapNamed(IDR_INFOBARBUTTON_RIGHT_P); 78 // Draw top right image. 90 bounds.width() - set->right->width() - set->left->width(), 93 // Stretch right image. 94 canvas->DrawBitmapInt(*set->right, 0, 0, set->right->width(), 95 set->right->height(), bounds.width() - set->right->width() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 123 if (!mIsVertical && (left + length > right - length)) { 124 length = (right - left) / 2; 145 canvas.drawRect(left, top, right, top + length, mFadePaint); 152 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); 160 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); 174 mFadeMatrix.postTranslate(right, top); 176 canvas.drawRect(right - length, top, right, bottom, mFadePaint);
|
/external/pixman/pixman/ |
pixman-trap.c | 384 pixman_line_fixed_edge_init (&r, bpp, t, &trap->right, x_off, y_off); 461 EXTEND(trap->right.p1.x); 462 EXTEND(trap->right.p2.x); 581 const pixman_point_fixed_t *top, *left, *right, *tmp; local 585 right = &tri->p3; 594 if (greater_y (top, right)) 596 tmp = right; 597 right = top; 601 if (clockwise (top, right, left)) 603 tmp = right; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
tzrule.cpp | 23 compareDates(const void * /*context*/, const void *left, const void *right) { 25 UDate r = *((UDate*)right); 45 TimeZoneRule::operator=(const TimeZoneRule& right) { 46 if (this != &right) { 47 fName = right.fName; 48 fRawOffset = right.fRawOffset; 49 fDSTSavings = right.fDSTSavings; 114 InitialTimeZoneRule::operator=(const InitialTimeZoneRule& right) { 115 if (this != &right) { 116 TimeZoneRule::operator=(right); [all...] |
/external/icu4c/i18n/ |
tzrule.cpp | 23 compareDates(const void * /*context*/, const void *left, const void *right) { 25 UDate r = *((UDate*)right); 45 TimeZoneRule::operator=(const TimeZoneRule& right) { 46 if (this != &right) { 47 fName = right.fName; 48 fRawOffset = right.fRawOffset; 49 fDSTSavings = right.fDSTSavings; 114 InitialTimeZoneRule::operator=(const InitialTimeZoneRule& right) { 115 if (this != &right) { 116 TimeZoneRule::operator=(right); [all...] |
/external/chromium_org/chrome/browser/resources/ntp4/ |
new_tab.css | 38 float: right; 138 margin-right: 13px; 140 right: 0; 145 /* For themes that right-align their images, we flip the attribution to the 148 html[themegravity='right'] #attribution, 152 right: auto; 153 text-align: right; 211 right: 0; 216 right: auto; 240 margin-right: 13px [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
test_tools.hpp | 71 // R - right argument 533 template <class Left, class Right> 534 predicate_result equal_impl( Left const& left, Right const& right ) 536 return left == right; 541 predicate_result BOOST_TEST_DECL equal_impl( char const* left, char const* right ); 542 inline predicate_result equal_impl( char* left, char const* right ) { return equal_impl( static_cast<char const*>(left), static_cast<char const*>(right) ); } 543 inline predicate_result equal_impl( char const* left, char* right ) { return equal_impl( static_cast<char const*>(left), static_cast<char const*>(right) ); } [all...] |
/external/chromium/chrome/browser/ui/views/bubble/ |
bubble_border.cc | 40 border_size.Enlarge(insets.left() + insets.right(), 120 int right = right_->width(); local 139 right = std::max(right, right_arrow_->width()); 147 insets->Set(top, left, bottom, right); 154 border_size.Enlarge(insets.left() + insets.right(), 218 const int right = view.width() - insets.right() + r_width; local 220 const int width = right - left; 289 // Top right corner [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Ordering.java | 52 * public int compare(String left, String right) { 53 * return Ints.compare(left.length(), right.length()); 80 @SuppressWarnings("unchecked") // TODO(kevinb): right way to explain this?? 171 // TODO(kevinb): make this public, document it right 220 @Override public int compare(Object left, Object right) { 221 if (left == right) { 225 int rightCode = identityHashCode(right); 231 int result = uids.get(left).compareTo(uids.get(right)); 392 @Override public abstract int compare(@Nullable T left, @Nullable T right); 457 E[] values, int left, int right, int k) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerTestRenderer.java | 115 // right face 171 * @param right the right operand of the cross product 175 public static void crossProduct(float[] left, float[] right, float[] out) { 176 out[0] = left[1] * right[2] - left[2] * right[1]; 177 out[1] = left[2] * right[0] - left[0] * right[2]; 178 out[2] = left[0] * right[1] - left[1] * right[0] [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkDCubicLineIntersection.cpp | 138 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { 139 addExactHorizontalEndPoints(left, right, axisIntercept); 145 double lineT = (pt.fX - left) / (right - left); 151 addNearHorizontalEndPoints(left, right, axisIntercept); 214 void addExactHorizontalEndPoints(double left, double right, double y) { 216 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); 225 void addNearHorizontalEndPoints(double left, double right, double y) { 231 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y); 300 int SkIntersections::horizontal(const SkDCubic& cubic, double left, double right, double y, 302 SkDLine line = {{{ left, y }, { right, y }}} [all...] |
SkDQuadLineIntersection.cpp | 119 A = line[1].fX - line[0].fX (adjacent side of the right triangle) 120 O = line[1].fY - line[0].fY (opposite side of the right triangle) 166 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { 167 addExactHorizontalEndPoints(left, right, axisIntercept); 173 double lineT = (pt.fX - left) / (right - left); 179 addNearHorizontalEndPoints(left, right, axisIntercept); 246 void addExactHorizontalEndPoints(double left, double right, double y) { 248 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y); 257 void addNearHorizontalEndPoints(double left, double right, double y) { 263 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y) [all...] |
SkIntersections.h | 66 int cubicHorizontal(const SkPoint a[4], SkScalar left, SkScalar right, SkScalar y, 70 return horizontal(cubic, left, right, y, flipped); 112 int lineHorizontal(const SkPoint a[2], SkScalar left, SkScalar right, SkScalar y, 116 return horizontal(line, left, right, y, flipped); 136 int quadHorizontal(const SkPoint a[3], SkScalar left, SkScalar right, SkScalar y, 140 return horizontal(quad, left, right, y, flipped); 201 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 202 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 203 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 205 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
BackgroundCollisionComponent.java | 144 final int right = left + mWidth; local 170 right, centerOffsetY, mHorizontalHitPoint, mHorizontalHitNormal, 181 right, centerOffsetY, mHorizontalHitPoint, mHorizontalHitNormal, 193 } else if (mCurrentPosition.x + right > level.getLevelWidth()) { 194 mCurrentPosition.x = (level.getLevelWidth() - right - 1); 251 float xEnd = right; 253 xStart = right; 276 mCurrentPosition.x = (mHorizontalHitPoint.x - right); 325 int left, int right, float centerY, Vector2 hitPoint, Vector2 hitNormal, 331 // Shoot a ray from the center of the previous frame's box to the edge (left or right, [all...] |
/external/skia/src/pathops/ |
SkDCubicLineIntersection.cpp | 138 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { 139 addExactHorizontalEndPoints(left, right, axisIntercept); 145 double lineT = (pt.fX - left) / (right - left); 151 addNearHorizontalEndPoints(left, right, axisIntercept); 214 void addExactHorizontalEndPoints(double left, double right, double y) { 216 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); 225 void addNearHorizontalEndPoints(double left, double right, double y) { 231 double lineT = SkDLine::NearPointH(fCubic[cIndex], left, right, y); 300 int SkIntersections::horizontal(const SkDCubic& cubic, double left, double right, double y, 302 SkDLine line = {{{ left, y }, { right, y }}} [all...] |
SkDQuadLineIntersection.cpp | 119 A = line[1].fX - line[0].fX (adjacent side of the right triangle) 120 O = line[1].fY - line[0].fY (opposite side of the right triangle) 166 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { 167 addExactHorizontalEndPoints(left, right, axisIntercept); 173 double lineT = (pt.fX - left) / (right - left); 179 addNearHorizontalEndPoints(left, right, axisIntercept); 246 void addExactHorizontalEndPoints(double left, double right, double y) { 248 double lineT = SkDLine::ExactPointH(fQuad[qIndex], left, right, y); 257 void addNearHorizontalEndPoints(double left, double right, double y) { 263 double lineT = SkDLine::NearPointH(fQuad[qIndex], left, right, y) [all...] |
SkIntersections.h | 66 int cubicHorizontal(const SkPoint a[4], SkScalar left, SkScalar right, SkScalar y, 70 return horizontal(cubic, left, right, y, flipped); 112 int lineHorizontal(const SkPoint a[2], SkScalar left, SkScalar right, SkScalar y, 116 return horizontal(line, left, right, y, flipped); 136 int quadHorizontal(const SkPoint a[3], SkScalar left, SkScalar right, SkScalar y, 140 return horizontal(quad, left, right, y, flipped); 201 int horizontal(const SkDLine&, double left, double right, double y, bool flipped); 202 int horizontal(const SkDQuad&, double left, double right, double y, bool flipped); 203 int horizontal(const SkDQuad&, double left, double right, double y, double tRange[2]); 205 int horizontal(const SkDCubic&, double left, double right, double y, bool flipped) [all...] |
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 193 int left, int top, int right, int bottom); 257 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, 265 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, 493 public boolean clipRect(float left, float top, float right, float bottom) { 494 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); 498 float right, float bottom, int op); 501 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { 502 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); 506 public boolean clipRect(int left, int top, int right, int bottom) { 507 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt) 850 int left, top, right, bottom; local 877 float left, top, right, bottom; local [all...] |