Searched refs:left (Results 126 - 150 of 741) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java46 * top-left corner (remaining pairs correspond clockwise).
54 * top-left corner (remaining pairs correspond clockwise).
99 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
117 mInnerRect.set(r.left + mInset.left, r.top + mInset.top,
H A DRectShape.java43 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top),
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimateableViewBounds.java62 outline.setRoundRect(mClipRect.left, mClipRect.top,
67 outline.setRect(mClipRect.left, mClipRect.top,
114 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
/frameworks/support/v4/tests/java/android/support/v4/testutils/
H A DTestUtils.java131 * Checks whether the specified rectangle matches the specified left / top / right /
135 int left, int top, int right, int bottom) {
136 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left);
134 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/base/libs/hwui/
H A DDisplayListOp.h227 DrawBoundedOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
228 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {}
239 mLocalBounds.left = std::min(mLocalBounds.left, points[i]);
324 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument
325 : mArea(left, top, right, bottom)
332 SaveLayerOp(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
333 : mArea(left, top, right, bottom)
347 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom,
352 renderer.saveLayer(mArea.left, mAre
537 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument
773 DrawPatchOp(const SkBitmap* bitmap, const Res_png_9patch* patch, float left, float top, float right, float bottom, const SkPaint* paint) argument
934 DrawStrokableOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
961 DrawRectOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1011 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* paint) argument
1042 DrawRoundRectPropsOp(float* left, float* top, float* right, float* bottom, float *rx, float *ry, const SkPaint* paint) argument
1137 DrawOvalOp(float left, float top, float right, float bottom, const SkPaint* paint) argument
1154 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
1182 float left, top, offset; local
[all...]
H A DDamageAccumulator.h55 void dirty(float left, float top, float right, float bottom);
H A DDisplayListCanvas.h84 virtual void drawRoundRect(CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top,
133 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
135 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
139 return saveLayer(left, top, right, bottom, &paint, flags);
154 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
157 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override;
183 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
185 virtual void drawRoundRect(float left, float top, float right, float bottom,
188 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override;
189 virtual void drawArc(float left, floa
[all...]
H A DRecordingCanvas.h76 virtual void drawRoundRect(CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top,
110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
112 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
116 return saveLayer(left, top, right, bottom, &paint, flags);
131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
134 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override;
162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
164 virtual void drawRoundRect(float left, float top, float right, float bottom,
167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override;
168 virtual void drawArc(float left, floa
[all...]
H A DUvMapper.h84 * - left = min. U
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left);
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java145 * <p> Comparison does as follows. If the first value of {@code left} is larger than the
146 * first value of {@code right}, {@code left} is large than {@code right}. If the first
147 * value of {@code left} is less than the first value of {@code right}, {@code left} is less
148 * than {@code right}. If the first value of {@code left} and the first value of
150 * in {@code left} and {@code right} are equal, {@code left} and {@code right} is equal.</p>
152 * @param left The length must be equal to {@code right}.
153 * @param right The length must be equal to {@code left}.
154 * @return 1 if {@code left} i
158 compare(@onNull byte[] left, @NonNull byte[] right) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutWithDefaultTouchRecepient.java62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto32 required int32 left = 1;
59 required float left = 1;
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java87 * @param left
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
115 float left = bottom * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
/frameworks/minikin/include/minikin/
H A DMinikinFontFreeType.h35 int left; member in struct:android::GlyphBitmap
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) ||
30 (rhs->left > lhs->left && rhs->left < lhs->right));
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp48 jfieldID left; member in struct:android::__anon848
210 // PDF's coordinate system origin is left-bottom while in graphics it
211 // is the top-left. So, translate the PDF coordinates to ours.
274 float left; local
280 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom)
281 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom);
289 env->SetIntField(outBox, gRectClassInfo.left, (int) left);
322 const int left = env->GetIntField(box, gRectClassInfo.left); local
[all...]
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
337 super.internalSetPadding(left, top, right, bottom);
402 final int left;
405 left = mBasePadding;
406 right = left + mCheckMarkWidth;
409 left = right - mCheckMarkWidth;
411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionCallback.aidl39 void onLayoutSurface(int left, int top, int right, int bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
48 int xStart = static_cast<int>(width * left);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h100 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
112 const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
123 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
135 const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
155 iterator it = iterator(BinaryTreeBase<Input>::m_Root.node.left);
162 return const_iterator(BinaryTreeBase<Input>::m_Root.node.left);
199 pPosition.hook<DIRECT>(pTree.m_Root.node.left);
202 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
/frameworks/rs/
H A DrsScriptC_LibGL.cpp230 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
231 if (left) {
232 *left = metrics->left;
246 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
252 SetMetrics(&metrics, left, right, top, bottom);
257 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
261 SetMetrics(&metrics, left, right, top, bottom);
229 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
245 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
256 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/percent/src/android/support/percent/
H A DPercentRelativeLayout.java112 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
113 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatLollipop.java39 public static void setHotspotBounds(Drawable drawable, int left, int top, argument
41 drawable.setHotspotBounds( left, top, right, bottom);
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp146 // assume same number of tail samples on each side, left and right
148 CentralTendencyStatistics left, right; local
150 left.sample(tail[i]);
155 " left tail: mean=%.2f min=%.2f max=%.2f stddev=%.2f\n"
157 left.mean()*1e-6, left.minimum()*1e-6, left.maximum()*1e-6, left.stddev()*1e-6,

Completed in 6697 milliseconds

1234567891011>>