/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GradientsActivity.java | 223 float left = 40.0f; 237 mMatrix.postTranslate(left, top); 240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); 242 left += 40.0f + mDrawWidth; 249 mMatrix.postTranslate(left, bottom); 252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); 259 mMatrix.postTranslate(left, top); 262 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); 264 right = left [all...] |
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 146 size_t left = curr - mBegin; local 147 while (left > 0) { 150 if (size < kRecordHeaderSize || size > left) { 160 left -= size;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 106 Word32 left, right; local 107 left = (mdctSpectrumLeft[j] >> 1); 109 mdctSpectrumLeft[j] = left + right; 110 mdctSpectrumRight[j] = left - right;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 45 displayRect.left = 0;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | GlobalFocusChange.java | 35 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this);
|
/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); 72 result.left = (int) Math.ceil(left * scale);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
|
/frameworks/base/libs/hwui/protos/ |
H A D | ProtoHelpers.h | 26 dest->set_left(src.left);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | 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, argument 90 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) { 91 mLayoutWidth = right - left;
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
H A D | BindingExpressionParserTest.java | 216 ((PrimaryContext) expression.left).literal().javaLiteral().getText()); 230 DotOpContext left = (DotOpContext) expression.expression(); 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) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | 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/base/libs/hwui/ |
H A D | CanvasState.cpp | 206 bool CanvasState::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument 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, argument 266 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 270 Rect r(left, top, right, bottom); 292 bool CanvasState::quickRejectConservative(float left, float top, argument 294 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 298 Rect r(left, top, right, bottom);
|
H A D | Snapshot.cpp | 101 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 103 mClipArea->setClip(left, top, right, bottom); 120 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument 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());
|
H A D | LayerRenderer.h | 54 float left, float top, float right, float bottom, bool opaque) override; 55 virtual void clear(float left, float top, float right, float bottom, bool opaque) override;
|
H A D | SkiaCanvas.cpp | 90 virtual int saveLayer(float left, float top, float right, float bottom, 92 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 104 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 106 virtual bool clipRect(float left, float top, float right, float bottom, 122 virtual void drawRect(float left, float top, float right, float bottom, 125 virtual void drawRoundRect(float left, float top, float right, float bottom, 128 virtual void drawOval(float left, float top, float right, float bottom, 130 virtual void drawArc(float left, float top, float right, float bottom, 137 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top, 153 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, 343 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, SaveFlags::Flags flags) argument 353 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SaveFlags::Flags flags) argument 483 quickRejectRect(float left, float top, float right, float bottom) const argument 492 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 575 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 589 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 599 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 604 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 629 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument 778 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument 827 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 65 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument 71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument 86 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 92 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument 162 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument 170 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument 183 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument 192 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument 213 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 52 short left; member in struct:__anon1828 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;
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 159 margin-left: -1cm; 194 padding-left: 53px; 244 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); 249 margin-left: 16px; 255 margin-left: 16px; 267 margin-left: 12px; 373 border-left: 2px solid #B8B8B8; 494 margin-left: 9px; 529 margin-left [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 598 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 600 return subtract(left, right, observer, cookie, null); 615 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 617 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 620 observer.foundNonMonotonic(left, -1, right, -1, cookie); 628 if (recycle != null && recycle.capacity >= left.size) { 633 result = new NetworkStats(deltaRealtime, left.size); 635 for (int i = 0; i < left.size; i++) { 636 entry.iface = left.iface[i]; 637 entry.uid = left 873 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument 1039 tunSubtract(int i, NetworkStats left, Entry right) argument [all...] |
/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 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/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 330 final int left = mLastXOffset + newBounds.left; 335 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 343 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 349 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 354 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 362 private void drawColorViews(int left, int top, int width, int height, argument 368 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterDrawable.java | 260 public void setBounds(int left, int top, int right, int bottom) { argument 261 super.setBounds(left, top, right, bottom); 263 mWidth = right - left; 342 mFrame.left + Math.round(width * 0.25f), 348 mButtonFrame.left += mSubpixelSmoothingLeft; 353 mFrame.left += mSubpixelSmoothingLeft; 372 mShapePath.moveTo(mButtonFrame.left, mButtonFrame.top); 377 mShapePath.lineTo(mFrame.left, mFrame.bottom); 378 mShapePath.lineTo(mFrame.left, mFrame.top); 379 mShapePath.lineTo(mButtonFrame.left, mFram [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | TransitionUtils.java | 95 int left = Math.round(bounds.left); 106 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 109 copy.layout(left, top, right, bottom); 132 int left = existingBounds.left; 138 drawable.setBounds(left, top, right, bottom); 163 matrix.postTranslate(-bounds.left, -bounds.top);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationExpandButton.java | 57 rect.left = rect.centerX() - touchTargetSize / 2; 58 rect.right = rect.left + touchTargetSize;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | BitShiftExpr.java | 27 BitShiftExpr(Expr left, String op, Expr right) { argument 28 super(left, right);
|