Searched defs:left (Results 101 - 125 of 367) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/foundation/
H A DMetaData.cpp82 int32_t left, int32_t top,
85 r.mLeft = left;
171 int32_t *left, int32_t *top,
183 *left = r->mLeft;
80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
/frameworks/base/core/java/android/net/
H A DNetworkUtils.java321 public static boolean addressTypeMatches(InetAddress left, InetAddress right) { argument
322 return (((left instanceof Inet4Address) && (right instanceof Inet4Address)) ||
323 ((left instanceof Inet6Address) && (right instanceof Inet6Address)));
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java165 return left(widget, buffer);
245 * Performs a left movement action.
246 * Moves the cursor or scrolls left by one character.
252 protected boolean left(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
429 int left = Integer.MAX_VALUE;
432 if (lineLeft < left) {
433 left = lineLeft;
436 return left;
457 * Performs a scroll left action.
458 * Scrolls left b
[all...]
/frameworks/base/core/java/android/view/
H A DWindowInsets.java121 * Returns the left system window inset in pixels.
127 * @return The left system window inset
130 return mSystemWindowInsets.left;
173 * Returns the left window decor inset in pixels.
179 * @return The left window decor inset
183 return mWindowDecorInsets.left;
238 return mSystemWindowInsets.left != 0 || mSystemWindowInsets.top != 0 ||
253 return mWindowDecorInsets.left != 0 || mWindowDecorInsets.top != 0 ||
286 * <p>A round window's left, top, right and bottom edges reach all the way to the
312 * @param left tru
319 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument
343 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument
377 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument
393 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFrameLayout.java123 mForegroundPaddingLeft = padding.left;
260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
261 layoutChildren(left, top, right, bottom, false /* no force left gravity */);
264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument
268 final int parentRight = right - left - getPaddingRightWithForeground();
/frameworks/base/core/jni/android/graphics/
H A DGraphicBuffer.cpp65 jfieldID left; member in struct:android::__anon1037
166 rect.left = GET_INT(dirtyRect, gRectClassInfo.left);
200 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom,
205 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
313 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DMessagingLinearLayoutTest.java215 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java66 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);
H A DRect.java30 * 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).
37 * into the column and row described by its left and top coordinates, but not
41 public int left; field in class:Rect
68 * checking is performed, so the caller must ensure that left <= right and
71 * @param left The X coordinate of the left side of the rectangle
76 public Rect(int left, int top, int right, int bottom) { argument
77 this.left = left;
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 DRectF.java27 * 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).
33 public float left; field in class:RectF
45 * checking is performed, so the caller must ensure that left <= right and
48 * @param left The X coordinate of the left side of the rectangle
53 public RectF(float left, float top, float right, float bottom) { argument
54 this.left = left;
62 * rectangle (which is left unmodifie
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 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 DBakedOpRenderer.h98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument
99 float ltrb[4] = { left, top, right, bottom };
H A DCanvasState.cpp205 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);
244 bool CanvasState::calculateQuickRejectForScissor(float left, float top, argument
248 if (bottom <= top || right <= left) {
252 Rect r(left, top, right, bottom);
274 bool CanvasState::quickRejectConservative(float left, float top, argument
276 if (bottom <= top || right <= left) {
280 Rect r(left, top, right, bottom);
H A DDamageAccumulator.cpp227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument
228 mHead->pendingDirty.join(left, top, right, bottom);
H A DRect.h34 (r).left, (r).top, (r).right, (r).bottom
36 (r).left(), (r).top(), (r).right(), (r).bottom()
44 float left; member in class:android::uirenderer::Rect
56 left(0),
62 inline Rect(float left, float top, float right, float bottom): argument
63 left(left),
70 left(0.0f),
77 left(rect.fLeft),
84 left(rec
112 set(float left, float top, float right, float bottom) argument
[all...]
H A DTextDropShadowCache.h117 float left; member in struct:android::uirenderer::ShadowTexture
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp54 SkScalar left = x; local
61 drawRect(left, top, right, bottom, paint);
66 drawRect(left, top, right, bottom, paint);
171 // Set align to left for drawing, as we don't want individual
212 // Set align to left for drawing, as we don't want individual
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp61 void SkiaRecordingCanvas::drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, argument
65 drawDrawable(mDisplayList->allocateDrawable<AnimatedRoundRect>(left, top, right, bottom,
170 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) { argument
179 mRecorder.drawImage(image, left, top, nonAAPaint(paint, &tmpPaint));
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.h165 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 DRationalTest.java439 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
453 assertCompareEquals(T left, T right) argument
[all...]
/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/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java221 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument
223 canvas.drawRect(left - padding,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQuickQSPanel.java67 public void setPadding(int left, int top, int right, int bottom) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSIconViewImpl.java179 protected final void layout(View child, int left, int top) { argument
180 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp44 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) {

Completed in 440 milliseconds

1234567891011>>