Searched refs:left (Results 76 - 100 of 852) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/wm/
H A DBlackFrame.java41 final int left; field in class:BlackFrame.BlackSurface
48 left = l;
76 mTmpMatrix.setTranslate(left, top);
85 Slog.i(TAG_WM, "Black Surface @ (" + left + "," + top + "): ("
116 pw.print(" left="); pw.print(bs.left);
132 outer.left, outer.top, inner.right, inner.top, layerStack);
134 if (outer.left < inner.left) {
136 outer.left, inne
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java115 final int left;
119 left = parent.getPaddingLeft();
121 canvas.clipRect(left, parent.getPaddingTop(), right,
124 left = 0;
134 mDivider.setBounds(left, top, right, bottom);
160 final int left = right - mDivider.getIntrinsicWidth();
161 mDivider.setBounds(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java445 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
483 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
485 return nSaveLayer(mNativeCanvasWrapper, left, top, right, bottom,
494 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
495 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
531 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
552 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
555 return nSaveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
563 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
564 return saveLayerAlpha(left, to
856 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
874 clipRect(float left, float top, float right, float bottom) argument
889 clipOutRect(float left, float top, float right, float bottom) argument
907 clipRect(int left, int top, int right, int bottom) argument
922 clipOutRect(int left, int top, int right, int bottom) argument
1106 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1279 nClipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
1290 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
1350 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1385 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument
1605 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1754 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1791 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
[all...]
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);
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java96 mDefaultFreeformStartX = mAvailableRect.left + width / MARGIN_SIZE_DENOMINATOR;
107 * we mean that two tasks have left-top corner very close to each other, so one might get
173 mTmpProposal.set(mAvailableRect.left, mAvailableRect.bottom - height,
174 mAvailableRect.left + width, mAvailableRect.bottom);
187 mTmpProposal.set(mAvailableRect.left, mAvailableRect.top,
188 mAvailableRect.left + width, mAvailableRect.top + height);
223 proposal.set(mAvailableRect.left, mAvailableRect.top,
224 mAvailableRect.left + proposal.width(),
228 if (restarted && (proposal.left > mDefaultFreeformStartX
243 return start.left < mAvailableRec
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c71 * Info 701: Shift left of signed quantity (int)
134 u32 left; member in struct:__anon737
232 Function to determine if there is a slice boundary on the left side
304 /* filterLeftMbEdgeFlag, left mb is MB_A */
389 Function to calculate boundary strength value bs for left- or
486 Function to calculate boundary strength value bs for left-
558 filtered macroblock, macroblock above and macroblock on the left of
563 mb pointer to macroblock data structure of the top-left
1172 /* left edges */
1177 bS[0].left
[all...]
/frameworks/base/core/java/android/text/method/
H A DTouch.java45 int left, right;
50 left = Integer.MAX_VALUE;
54 left = (int) Math.min(left, layout.getLineLeft(i));
58 left = 0;
62 final int actualWidth = right - left;
66 x = left - ((availableWidth - actualWidth) / 2);
71 // direction to resolve it to left or right
72 x = left - (availableWidth - actualWidth);
74 x = left;
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h82 TYPE left, right; local
83 int inner_inside = spannerInner.next(current.left, current.right);
85 if (current.left < current.right &&
235 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
244 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
249 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
253 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
264 inline int next(TYPE& left, TYPE& right) argument
268 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
280 void advance(region& reg, TYPE& left, TYP argument
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h35 m_Stack.push(m_pNode->left);
50 m_Stack.push(m_pNode->left);
65 m_Queue.push(m_pNode->left);
80 m_Queue.push(m_pNode->left);
261 // | |left |
275 TreeImpl() : NodeFactory<DataType>() { node.left = node.right = &node; }
287 if ((*data).left == &pClient.node)
288 (*data).left = &node;
304 result->left = result->right = &m_Root.node;
309 pNode->left
[all...]
/frameworks/base/core/java/android/transition/
H A DSidePropagation.java93 int left = loc[0] + Math.round(sceneRoot.getTranslationX());
95 int right = left + sceneRoot.getWidth();
104 epicenterX = (left + right) / 2;
109 left, top, right, bottom);
122 int left, int top, int right, int bottom) {
142 distance = viewX - left + Math.abs(epicenterY - viewY);
121 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java58 * Assert that every element in left is less than or equals to the corresponding element in
64 * @param left Left array
67 public static void assertArrayNotGreater(String message, float[] left, float[] right) { argument
68 assertEquals("Array lengths did not match", left.length, right.length);
70 String leftString = Arrays.toString(left);
73 for (int i = 0; i < left.length; ++i) {
75 "%s: (%s should be less than or equals than %s; item index %d; left = %s; " +
77 message, left[i], right[i], i, leftString, rightString);
79 assertTrue(msg, left[i] <= right[i]);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java307 /*package*/ static void nArcTo(long nPath, float left, float top, float right, argument
315 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
330 float left, float top, float right, float bottom, int dir) {
336 pathDelegate.addRect(left, top, right, bottom, dir);
340 /*package*/ static void nAddOval(long nPath, float left, float top, float right, argument
348 left, top, right - left, bottom - top), false);
364 /*package*/ static void nAddArc(long nPath, float left, float top, float right, argument
373 left, top, right - left, botto
329 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument
378 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
391 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
796 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
829 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/support/transition/src/android/support/transition/
H A DSidePropagation.java93 int left = loc[0] + Math.round(sceneRoot.getTranslationX());
95 int right = left + sceneRoot.getWidth();
104 epicenterX = (left + right) / 2;
109 left, top, right, bottom);
122 int left, int top, int right, int bottom) {
144 distance = viewX - left + Math.abs(epicenterY - viewY);
121 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/support/transition/tests/src/android/support/transition/
H A DChangeClipBoundsTest.java65 assertTrue(midClip.left > 0 && midClip.left < newClip.left);
98 assertTrue(midClip.left > 0 && midClip.left < newClip.left);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DBitmapFillrate.cpp56 void createNode(Canvas& canvas, SkColor color, int left, int top, argument
60 auto card = TestUtils::createNode(left, top, left + itemWidth , top + itemHeight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFixedSizeFrameLayout.java58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
59 mLayoutBounds.set(left, top, right, bottom);
90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientsActivity.java223 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 DMetadata.cpp146 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 Dms_stereo.c106 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 DAccessibilityNodeInfoHelper.java45 displayRect.left = 0;
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java57 public final void drawArc(float left, float top, float right, float bottom, float startAngle, argument
59 nDrawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle,
66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter,
76 public final void drawBitmap(@NonNull Bitmap bitmap, float left, float top, argument
79 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, top,
100 int left, top, right, bottom;
102 left = top = 0;
106 left = src.left;
112 nDrawBitmap(mNativeCanvasWrapper, bitmap, left, to
238 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
357 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
379 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
536 nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
571 nDrawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
575 nDrawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
583 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
587 nDrawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DGlobalFocusChange.java35 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this);
/frameworks/base/libs/hwui/
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);
/frameworks/base/libs/hwui/protos/
H A DProtoHelpers.h26 dest->set_left(src.left);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java63 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;

Completed in 4424 milliseconds

1234567891011>>