/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 66 public static Rect scaleInsets(int left, int top, int right, int bottom, float scale) { 68 return new Rect(left, top, right, bottom); 72 result.left = (int) Math.ceil(left * scale);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
OvalShape.java | 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/frameworks/base/libs/hwui/ |
CanvasState.cpp | 206 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { 207 mSnapshot->clip(Rect(left, top, right, bottom), op); 232 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); 262 bool CanvasState::calculateQuickRejectForScissor(float left, float top, 266 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 270 Rect r(left, top, right, bottom); 292 bool CanvasState::quickRejectConservative(float left, float top, 294 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 298 Rect r(left, top, right, bottom);
|
Snapshot.cpp | 101 void Snapshot::setClip(float left, float top, float right, float bottom) { 103 mClipArea->setClip(left, top, right, bottom); 120 void Snapshot::resetClip(float left, float top, float right, float bottom) { 125 setClip(left, top, right, bottom); 169 outTransform->translate(current->layer->layer.left, current->layer->layer.top); 210 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius; 211 state->dangerRects[1].left = state->dangerRects[3].left = bounds.right - radius; 285 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
|
/frameworks/base/libs/hwui/protos/ |
ProtoHelpers.h | 26 dest->set_left(src.left);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcherScrim.java | 63 isLtr ? bounds.right : bounds.left + width, width, mRadialGradientPaint); 88 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, 90 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) { 91 mLayoutWidth = right - left;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 65 public int saveLayer(float left, float top, float right, float bottom, Paint paint, 71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { 86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, 92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { 162 public void drawRect(float left, float top, float right, float bottom, Paint paint) { 170 public void drawOval(float left, float top, float right, float bottom, Paint paint) { 183 public void drawArc(float left, float top, float right, float bottom, float startAngle, 192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, 213 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) {
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
BindingExpressionParserTest.java | 216 ((PrimaryContext) expression.left).literal().javaLiteral().getText()); 230 DotOpContext left = (DotOpContext) expression.expression(); local 231 assertEquals("two", left.Identifier().getText()); 232 assertEquals(".", left.getChild(1).getText()); 233 assertEquals("one", ((PrimaryContext) left.expression()).identifier().getText()); 240 assertEquals("one", ((PrimaryContext) expression.left).identifier().getText()); 287 assertTrue(expression.left instanceof ExpressionContext); 288 String one = ((PrimaryContext) expression.left).literal().javaLiteral().getText(); 299 assertTrue(expression.left instanceof ExpressionContext); 300 String one = ((PrimaryContext) expression.left).literal().javaLiteral().getText() [all...] |
/frameworks/minikin/include/minikin/ |
MinikinFontFreeType.h | 35 int left; member in struct:android::GlyphBitmap
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 80 outRect.left = (int) (horizSliceFrac * (srcW - srcCroppedW)); 81 outRect.right = outRect.left + srcCroppedW; 123 outRect.left = (srcW - srcCroppedW) / 2; 124 outRect.right = outRect.left + srcCroppedW;
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 52 short left; member in struct:__anon29535 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 154 sine[i].right = sine[i].left; 157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; 158 square[i].right = square[i].left; 161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; 162 sawtooth[i].right = sawtooth[i].left; 165 half[i].left = sine[i].left;
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
HwcLayer.cpp | 34 x.left == y.left && 47 x.left == y.left && 286 mPlane->setPosition(layer->displayFrame.left, 288 layer->displayFrame.right - layer->displayFrame.left, 290 mPlane->setSourceCrop(layer->sourceCropf.left, 292 layer->sourceCropf.right - layer->sourceCropf.left, 393 mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
HwcLayer.cpp | 33 x.left == y.left && 46 x.left == y.left && 244 mPlane->setPosition(layer->displayFrame.left, 246 layer->displayFrame.right - layer->displayFrame.left, 248 mPlane->setSourceCrop(layer->sourceCropf.left, 250 layer->sourceCropf.right - layer->sourceCropf.left, 331 mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top);
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
layer_stack.h | 120 float rotation = 0.0f; //!< Left most pixel coordinate. 218 float left = 0.0f; //!< Left-most pixel coordinate. member in struct:sdm::LayerRect 225 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } 228 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom; 270 //!< top-left corner of the screen.
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewStatusListener.java | 49 public void onPreviewLayoutChanged(View v, int left, int top, int right,
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
NormalizedFace.java | 52 bounds.left = (float) (face.getBounds().left - offX) / dX; 69 float oldLeft = bounds.left; 70 bounds.left = 1f - bounds.right;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 44 r.left, r.top, 47 r.left, r.bottom 63 return !(x > r.right || x < r.left || y > r.bottom || y < r.top); 79 r.left = (x < r.left) ? x : r.left; 100 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 203 r.left = r.centerX() - finalW / 2; 204 r.right = r.left + finalW;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 192 return mBounds.right - mBounds.left; 271 int xoffset = component.mBounds.left - mScrollX; 298 int left = rect.left; local 301 event.offsetLocation(-left, -top); 303 event.offsetLocation(left, top); 306 event.offsetLocation(left, top); 348 public void layout(int left, int top, int right, int bottom) { 349 boolean sizeChanged = setBounds(left, top, right, bottom); 355 onLayout(sizeChanged, left, top, right, bottom) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationFastScroller.java | 98 // Whether to render the scrollbar on the right side (otherwise it'll be on the left). 423 public void onLayoutChange(View v, int left, int top, int right, int bottom, 430 mContainer.set(left, top + mRv.getPaddingTop(), right, bottom); 441 int left = mPosRight ? (mContainer.right - mTrackWidth) : mContainer.left; local 443 int right = mPosRight ? mContainer.right : (mContainer.left + mTrackWidth); 445 mTrackImageView.layout(left, top, right, bottom); 453 int left = mPosRight ? (mContainer.right - mTrackWidth) : mContainer.left; local 455 int right = mPosRight ? mContainer.right : (mContainer.left + mTrackWidth) 472 final int left, right; local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SummaryPreference.java | 69 public void setRatios(float left, float middle, float right) { 70 mLeftRatio = left; 76 public void setColors(int left, int middle, int right) { 77 mLeft = left;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 119 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 124 child.layout(childRect.left, childRect.top, childRect.right, 129 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 149 parentRect.left += sweepMargins.left; 155 parentRect.left += sweepMargins.left + (int) sweep.getPoint(); 156 parentRect.right = parentRect.left;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ComparableTester.java | 77 private void assertLess(int left, int right, Collection<T> leftGroup, 82 String leftName = "Item[" + left + "," + (leftSub++) + "]"; 92 private void assertMore(int left, int right, Collection<T> leftGroup, 97 String leftName = "Item[" + left + "," + (leftSub++) + "]";
|
ComparatorTester.java | 91 private void assertLess(int left, int right, Collection<T> leftGroup, 97 String leftName = "Item[" + left + "," + (leftSub++) + "]"; 105 private void assertMore(int left, int right, Collection<T> leftGroup, 111 String leftName = "Item[" + left + "," + (leftSub++) + "]";
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnClause.java | 67 new WnnPOS(stem.partOfSpeech.left, fzk.partOfSpeech.right),
|
/prebuilts/misc/darwin-x86_64/freetype/include/freetype2/ |
ftpfr.h | 110 * left :: Index of the left glyph. 130 FT_UInt left,
|