Searched refs:left (Results 51 - 75 of 741) sorted by relevance

1234567891011>>

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DSimpleItemAnimator.java44 * contents of items will not be animated. What those animations do is left
78 int oldLeft = preLayoutInfo.left;
81 int newLeft = postLayoutInfo == null ? disappearingItemView.getLeft() : postLayoutInfo.left;
102 if (preLayoutInfo != null && (preLayoutInfo.left != postLayoutInfo.left
108 return animateMove(viewHolder, preLayoutInfo.left, preLayoutInfo.top,
109 postLayoutInfo.left, postLayoutInfo.top);
121 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) {
127 preInfo.left, preInf
[all...]
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomLayout.java30 public LayoutParams(int left, int top, int right, int bottom) { argument
32 mLeft = left;
/frameworks/support/v4/donut/android/support/v4/view/
H A DWindowInsetsCompat.java34 * Returns the left system window inset in pixels.
40 * @return The left system window inset
127 * <p>A round window's left, top, right and bottom edges reach all the way to the
151 * @param left New left inset in pixels
157 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
190 * Returns the left stable inset in pixels.
198 * @return The left stable inset
/frameworks/base/core/java/android/view/animation/
H A DClipRectAnimation.java57 int l = mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it);
/frameworks/base/core/java/android/widget/
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
67 public void setAbsolute(int left, int right) { argument
69 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout);
40 // top left makes parent layout GONE
45 left.setVisibility(View.GONE);
49 // bottom left makes parent layout INVISIBLE
50 // top left makes parent layout GONE
55 left.setVisibility(View.INVISIBLE);
/frameworks/base/graphics/java/android/graphics/
H A DLargeBitmap.java54 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
56 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top,
57 rect.right - rect.left, rect.bottom - rect.top, options);
H A DCanvas.java429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom,
509 * Helper for saveLayerAlpha(left, to
511 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
742 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
760 clipRect(float left, float top, float right, float bottom) argument
778 clipRect(int left, int top, int right, int bottom) argument
933 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1130 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1151 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1219 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1246 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1335 drawBitmap(@onNull Bitmap bitmap, float left, float top, @Nullable Paint paint) argument
2028 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2046 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2064 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2068 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2077 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument
2088 native_drawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, long nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
67 public void setAbsolute(int left, int right) { argument
69 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
/frameworks/native/libs/ui/
H A DRegion.cpp128 int left = current->left; local
137 // iterating over previous span RTL, quit if it's too far left
138 if (prev.right <= left) break;
140 if (prev.right > left && prev.right < right) {
145 if (prev.left > left && prev.left < right) {
146 dst.add(Rect(prev.left, top, right, bottom));
147 right = prev.left;
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DFocusStrategy.java117 } else if (firstRect.left < secondRect.left) {
119 } else if (firstRect.left > secondRect.left) {
190 * @param direction the direction (up, down, left, right)
253 // For example, for direction left, if rect1 is to the left of the
289 * (e.g. left of) from source.
298 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
299 && srcRect.left > destRec
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp119 float left, float top, float right, float bottom, bool opaque) {
122 left, top, right, bottom, mLightCenter);
124 mTilingClip.set(left, top, right, bottom);
133 discardFramebuffer(mTilingClip.left, mTilingClip.top, mTilingClip.right, mTilingClip.bottom);
139 clear(mTilingClip.left, mTilingClip.top,
144 float left, float top, float right, float bottom, bool opaque) {
146 setupFrameState(viewportWidth, viewportHeight, left, top, right, bottom, opaque);
160 void OpenGLRenderer::discardFramebuffer(float left, float top, float right, float bottom) { argument
165 left <= 0.0f && top <= 0.0f && right >= mState.getWidth() && bottom >= mState.getHeight()) {
174 void OpenGLRenderer::clear(float left, floa argument
118 setupFrameState(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument
143 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument
472 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument
530 saveLayerDeferred(float left, float top, float right, float bottom, const SkPaint* paint, int flags) argument
606 createLayer(float left, float top, float right, float bottom, const SkPaint* paint, int flags, const SkPath* convexMask) argument
1022 dirtyLayer(const float left, const float top, const float right, const float bottom, const Matrix4& transform) argument
1031 dirtyLayer(const float left, const float top, const float right, const float bottom) argument
1359 quickRejectSetupScissor(float left, float top, float right, float bottom, const SkPaint* paint) argument
1517 float left = FLT_MAX; local
1630 drawPatch(const SkBitmap* bitmap, const Patch* mesh, AssetAtlas::Entry* entry, float left, float top, float right, float bottom, const SkPaint* paint) argument
1788 drawShape(float left, float top, PathTexture* texture, const SkPaint* paint) argument
1801 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint* p) argument
1866 drawOval(float left, float top, float right, float bottom, const SkPaint* p) argument
1889 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) argument
1921 drawRect(float left, float top, float right, float bottom, const SkPaint* p) argument
2070 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument
2389 float left = FLT_MAX; local
2431 drawColorRect(float left, float top, float right, float bottom, const SkPaint* paint, bool ignoreTransform) argument
[all...]
H A DOpenGLRenderer.h138 float left, float top, float right, float bottom, bool opaque);
155 virtual int saveLayer(float left, float top, float right, float bottom, argument
157 return saveLayer(left, top, right, bottom, paint, flags, nullptr);
162 int saveLayer(float left, float top, float right, float bottom,
165 int saveLayerDeferred(float left, float top, float right, float bottom,
180 float left, float top, float right, float bottom, const SkPaint* paint);
182 void drawRect(float left, float top, float right, float bottom,
184 void drawRoundRect(float left, float top, float right, float bottom,
187 void drawOval(float left, float top, float right, float bottom,
189 void drawArc(float left, floa
269 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument
313 quickRejectConservative(float left, float top, float right, float bottom) const argument
[all...]
/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/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:__anon639
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/base/libs/hwui/hwui/
H A DCanvas.h118 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left,
141 virtual int saveLayer(float left, float top, float right, float bottom,
143 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
158 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
161 virtual bool clipRect(float left, float top, float right, float bottom,
182 virtual void drawRect(float left, float top, float right, float bottom,
185 virtual void drawRoundRect(float left, float top, float right, float bottom,
188 virtual void drawOval(float left, float top, float right, float bottom,
190 virtual void drawArc(float left, float top, float right, float bottom,
198 virtual void drawBitmap(const SkBitmap& bitmap, float left, floa
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h81 TYPE left, right; local
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
263 inline int next(TYPE& left, TYPE& right) argument
267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
279 void advance(region& reg, TYPE& left, TYP argument
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinder.java128 // make up a rect at top left or bottom right of root
277 * @param direction the direction (up, down, left, right)
334 // for example, for direction left, if rect1 is to the left of the source
366 * checks whether the dest is at least partially to the direction of (e.g left of)
375 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
376 && srcRect.left > destRect.left;
378 return (srcRect.left < destRect.left || srcRec
[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.java305 /*package*/ static void native_arcTo(long nPath, float left, float top, float right, argument
313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
328 float left, float top, float right, float bottom, int dir) {
334 pathDelegate.addRect(left, top, right, bottom, dir);
338 /*package*/ static void native_addOval(long nPath, float left, float top, float right, argument
346 left, top, right - left, bottom - top), false);
362 /*package*/ static void native_addArc(long nPath, float left, float top, float right, argument
371 left, top, right - left, botto
327 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
376 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
389 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
793 arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
826 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
/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);

Completed in 5711 milliseconds

1234567891011>>