/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | MessagingLinearLayoutTest.java | 215 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | NinePatch.java | 66 public static Rect scaleInsets(int left, int top, int right, int bottom, float scale) { argument 68 return new Rect(left, top, right, bottom); 74 result.right = (int) Math.ceil(right * scale);
|
H A D | Rect.java | 30 * represented by the coordinates of its 4 edges (left, top, right bottom). 33 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 35 * Note that the right and bottom coordinates are exclusive. This means a Rect 38 * those of its bottom and right. 43 public int right; field in class:Rect 68 * checking is performed, so the caller must ensure that left <= right and 73 * @param right The X coordinate of the right side of the rectangle 76 public Rect(int left, int top, int right, int bottom) { argument 79 this.right 270 set(int left, int top, int right, int bottom) argument 355 inset(int left, int top, int right, int bottom) argument 390 contains(int left, int top, int right, int bottom) argument 432 intersect(int left, int top, int right, int bottom) argument 497 intersects(int left, int top, int right, int bottom) argument 525 union(int left, int top, int right, int bottom) argument [all...] |
H A D | RectF.java | 27 * represented by the coordinates of its 4 edges (left, top, right bottom). 30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 35 public float right; field in class:RectF 45 * checking is performed, so the caller must ensure that left <= right and 50 * @param right The X coordinate of the right side of the rectangle 53 public RectF(float left, float top, float right, float bottom) { argument 56 this.right = right; 69 left = top = right 197 set(float left, float top, float right, float bottom) argument 302 contains(float left, float top, float right, float bottom) argument 344 intersect(float left, float top, float right, float bottom) argument 417 intersects(float left, float top, float right, float bottom) argument 466 union(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | LocaleData.cpp | 144 uint32_t right = packLocale(requested_language, right_region); local 152 const bool rightIsSpecialSpanish = isSpecialSpanish(right); 153 if (leftIsSpecialSpanish && !rightIsSpecialSpanish && right != LATIN_AMERICAN_SPANISH) { 156 right = LATIN_AMERICAN_SPANISH; 161 // Find the parents of the request, but stop as soon as we saw left or right 162 const std::array<uint32_t, 2> left_and_right = {{left, right}}; 170 if (left_right_index == 1) { // We saw right earlier 174 // If we are here, neither left nor right are an ancestor of the 181 right, requested_script, request_ancestors, ancestor_count); 186 // If we are here, left and right ar [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.h | 98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument 99 float ltrb[4] = { left, top, right, bottom };
|
H A D | CanvasState.cpp | 205 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 206 mSnapshot->clip(Rect(left, top, right, bottom), op); 223 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkClipOp::kIntersect); 245 float right, float bottom, 248 if (bottom <= top || right <= left) { 252 Rect r(left, top, right, bottom); 275 float right, float bottom) const { 276 if (bottom <= top || right <= left) { 280 Rect r(left, top, right, bottom); 244 calculateQuickRejectForScissor(float left, float top, float right, float bottom, bool* clipRequired, bool* roundRectClipRequired, bool snapOut) const argument 274 quickRejectConservative(float left, float top, float right, float bottom) const argument
|
H A D | DamageAccumulator.cpp | 227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument 228 mHead->pendingDirty.join(left, top, right, bottom);
|
H A D | FrameInfoVisualizer.cpp | 135 float right = width * .95; local 136 float baseLineWidth = right / mFrameSource.capacity(); 162 rect[ri + 0] = right - lineWidth; 164 rect[ri + 2] = right; 166 right -= lineWidth;
|
H A D | Rect.h | 34 (r).left, (r).top, (r).right, (r).bottom 36 (r).left(), (r).top(), (r).right(), (r).bottom() 46 float right; member in class:android::uirenderer::Rect 58 right(0), 62 inline Rect(float left, float top, float right, float bottom): argument 65 right(right), 72 right(width), 79 right(rect.fRight), 86 right(rec 112 set(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 55 SkScalar right = x + length; local 61 drawRect(left, top, right, bottom, paint); 66 drawRect(left, top, right, bottom, paint); 172 // glyphs centered or right-aligned; the offset above takes 213 // glyphs centered or right-aligned; the offset above takes
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaRecordingCanvas.cpp | 62 uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, 65 drawDrawable(mDisplayList->allocateDrawable<AnimatedRoundRect>(left, top, right, bottom, 61 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 165 void setContentDrawBounds(int left, int top, int right, int bottom) { argument 166 mContentDrawBounds.set(left, top, right, bottom);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | RationalTest.java | 439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { argument 440 assertTrue("Expected (LR) left " + left + " to be less than right " + right, 441 left.compareTo(right) < 0); 442 assertTrue("Expected (RL) left " + left + " to be less than right " + right, 443 right.compareTo(left) > 0); 446 private static <T extends Comparable<? super T>> void assertGreaterThan(T left, T right) { argument 447 assertTrue("Expected (LR) left " + left + " to be greater than right " + right, 453 assertCompareEquals(T left, T right) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 88 * @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/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 221 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument 225 right + padding,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QuickQSPanel.java | 67 public void setPadding(int left, int top, int right, int bottom) { argument
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 44 inline static bool operator<(const UnifiedSpan& left, const UnifiedSpan& right) { argument 45 if (left.first_char < right.first_char) { 47 } else if (left.first_char > right.first_char) { 49 } else if (left.last_char < right.last_char) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 296 int left, int top, int right, int bottom) { 302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 337 rect.left = rect.top = rect.right = rect.bottom = 0; 343 rect.right = bounds.x + bounds.width; 371 int left, int top, int right, int bottom, int op) { 378 new Rectangle2D.Float(left, top, right 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 210 /*package*/ static boolean nSetRight(long renderNode, int right) { argument 212 if (delegate != null && delegate.mRight != right) { 213 delegate.mRight = right; 230 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument 234 .mRight != right || delegate.mBottom != bottom)) { 237 delegate.mRight = right;
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 99 replace(lines, endLayoutPositions.left, endLayoutPositions.right, ""); 443 private final Position right; field in class:XmlEditor.PositionPair 445 private PositionPair(Position left, Position right) { argument 447 this.right = right;
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 82 TYPE left, right; local 83 int inner_inside = spannerInner.next(current.left, current.right); 85 if (current.left < current.right && 236 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 245 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; 250 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 254 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; 264 inline int next(TYPE& left, TYPE& right) argument 268 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 280 void advance(region& reg, TYPE& left, TYPE& right) { argument [all...] |
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | field_of_view.h | 22 FieldOfView(float left, float right, float bottom, float top) argument 23 : left_(left), right_(right), bottom_(bottom), top_(top) {} 36 void SetRight(float right) { right_ = right; } argument
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | buffer_hub.cpp | 47 stream << std::right; member in class:android::dvr::std 65 stream << std::right; member in class:android::dvr::std 92 stream << std::right; member in class:android::dvr::std 104 stream << std::right; member in class:android::dvr::std 134 stream << std::right << std::setw(6) << "Id"; 135 stream << std::right << std::setw(12) << " Capacity"; 136 stream << std::right << std::setw(12) << " Consumers"; 149 stream << std::right << std::setw(6) << info.id; 150 stream << std::right << std::setw(12) << info.capacity; 151 stream << std::right << st [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 140 stream << std::right; member in class:android::dvr::std
|