Searched refs:left (Results 101 - 125 of 852) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument
90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument
174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument
187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument
196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
/frameworks/data-binding/compiler/src/test/java/android/databinding/
H A DBindingExpressionParserTest.java210 ((PrimaryContext) expression.left).literal().javaLiteral().getText());
224 DotOpContext left = (DotOpContext) expression.expression();
225 assertEquals("two", left.Identifier().getText());
226 assertEquals(".", left.getChild(1).getText());
227 assertEquals("one", ((PrimaryContext) left.expression()).identifier().getText());
234 assertEquals("one", ((PrimaryContext) expression.left).identifier().getText());
288 assertTrue(expression.left instanceof ExpressionContext);
289 String one = ((PrimaryContext) expression.left).literal().javaLiteral().getText();
300 assertTrue(expression.left instanceof ExpressionContext);
301 String one = ((PrimaryContext) expression.left)
[all...]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dfield_of_view.h22 FieldOfView(float left, float right, float bottom, float top) argument
23 : left_(left), right_(right), bottom_(bottom), top_(top) {}
35 void SetLeft(float left) { left_ = left; } argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DBitmapUtils.java80 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/
H A Dintbufq.c52 short left; member in struct:__anon2183
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/graphics/java/android/graphics/
H A DBaseCanvas.java83 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument
86 nDrawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle,
93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter,
101 public void drawBitmap(@NonNull Bitmap bitmap, float left, float top, @Nullable Paint paint) { argument
104 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, top,
124 int left, top, right, bottom;
126 left = top = 0;
130 left = src.left;
136 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, to
256 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
338 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
358 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
556 nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
582 nDrawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
585 nDrawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
591 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
594 nDrawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 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 DBackdropFrameRenderer.java334 final int left = mLastXOffset + newBounds.left;
339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height);
347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight);
353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height);
358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets);
366 private void drawColorViews(int left, int top, int width, int height, argument
372 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp53 jfieldID left; member in struct:android::__anon1039
143 // PDF's coordinate system origin is left-bottom while in graphics it
144 // is the top-left. So, translate the PDF coordinates to ours.
229 float left; local
235 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom)
236 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom);
250 env->SetIntField(outBox, gRectClassInfo.left, (int) left);
284 const int left = env->GetIntField(box, gRectClassInfo.left); local
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java217 public void setBounds(int left, int top, int right, int bottom) { argument
218 super.setBounds(left, top, right, bottom);
220 mWidth = right - left;
273 mFrame.left + Math.round(width * 0.25f),
279 mButtonFrame.left += mSubpixelSmoothingLeft;
284 mFrame.left += mSubpixelSmoothingLeft;
303 mShapePath.moveTo(mButtonFrame.left, mButtonFrame.top);
308 mShapePath.lineTo(mFrame.left, mFrame.bottom);
309 mShapePath.lineTo(mFrame.left, mFrame.top);
310 mShapePath.lineTo(mButtonFrame.left, mFram
[all...]
/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java95 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/libs/androidfw/
H A DLocaleData.cpp143 uint32_t left = packLocale(requested_language, left_region); local
151 const bool leftIsSpecialSpanish = isSpecialSpanish(left);
154 left = LATIN_AMERICAN_SPANISH;
155 } else if (rightIsSpecialSpanish && !leftIsSpecialSpanish && left != 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}};
167 if (left_right_index == 0) { // We saw left earlier
174 // If we are here, neither left nor right are an ancestor of the
179 left, requested_script, request_ancestors, ancestor_count);
186 // If we are here, left an
[all...]
/frameworks/base/libs/hwui/
H A DSnapshot.cpp85 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
87 mClipArea->setClip(left, top, right, bottom);
104 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument
109 setClip(left, top, right, bottom);
142 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius;
143 state->dangerRects[1].left = state->dangerRects[3].left = bounds.right - radius;
201 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DBitShiftExpr.java27 BitShiftExpr(Expr left, String op, Expr right) { argument
28 super(left, right);
H A DComparisonExpr.java27 ComparisonExpr(String op, Expr left, Expr right) { argument
28 super(left, right);
H A DInstanceOfExpr.java29 InstanceOfExpr(Expr left, String type) { argument
30 super(left);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerTabStrip.java156 public void setPadding(int left, int top, int right, int bottom) { argument
160 super.setPadding(left, top, right, bottom);
266 final int left = mCurrText.getLeft() - mTabPadding;
271 canvas.drawRect(left, top, right, bottom, mTabPaint);
284 int left = mCurrText.getLeft() - mTabPadding;
288 r.set(left, top, right, bottom);
293 left = mCurrText.getLeft() - mTabPadding;
295 r.union(left, top, right, bottom);
/frameworks/support/v17/preference-leanback/api21/android/support/v17/internal/widget/
H A DOutlineOnlyWithChildrenFrameLayout.java62 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
63 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java69 int left = 18 * dpi;
72 int width = right - left;
87 mIconDrawable.setBounds(left, top, right, bottom);
88 can_test.translate(-left, -top);
90 can_test.translate(left, top);
100 circle.addCircle(width / 2, height / 2, (right - left)/2 -10 /* room for anti-alias */, Direction.CW);
127 assertEquals("left", boundFromDrawable.left, boundFromDeviceConfig.left, delta);
140 int left
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerCubic.cpp31 memset(&left, 0, sizeof(state));
82 out[outputIndex++] += vl * interp(&left, x);
108 advance(&left, in[inputIndex*2]);
150 sample = interp(&left, x);
176 advance(&left, in[inputIndex]);
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp727 uint32_t left = 0; local
729 while (left < right_plus_one) {
730 uint32_t center = left + (right_plus_one - left) / 2;
737 left = center + 1;
744 uint32_t closestIndex = left;
809 uint32_t left = 0; local
811 while (left < right_plus_one) {
812 uint32_t center = left + (right_plus_one - left) /
[all...]
/frameworks/base/core/java/android/view/animation/
H A DTransformation.java128 setClipRect(mClipRect.left + bounds.left, mClipRect.top + bounds.top,
147 setClipRect(mClipRect.left + bounds.left, mClipRect.top + bounds.top,
176 setClipRect(r.left, r.top, r.right, r.bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java95 int left, right;
98 left = right - indicator.getMeasuredWidth();
100 left = mIconFrame.getRight();
101 right = left + indicator.getMeasuredWidth();
104 left,
H A DTileLayout.java123 int left = getColumnStart(column);
127 right = w - left;
128 left = right - mCellWidth;
130 right = left + mCellWidth;
132 record.tileView.layout(left, top, right, top + record.tileView.getMeasuredHeight());
/frameworks/base/tools/aapt2/compile/
H A DNinePatch.cpp305 NinePatch::PackRGBA(rows[region.top] + region.left * 4);
308 for (int32_t x = region.left; x < region.right; x++) {
379 bounds.left = next_left + 1;
385 bounds.left = col_iter->start + 1;
393 bounds.left = next_left + 1;
482 "top-left corner pixel must be either opaque white or transparent";
515 err_stream << "found unexpected optical bounds (red pixel) on left border "
528 &nine_patch->padding.left, &nine_patch->padding.right,
529 &nine_patch->layout_bounds.left,
565 // Find left an
[all...]

Completed in 842 milliseconds

1234567891011>>