/frameworks/data-binding/compilerCommon/ |
H A D | BindingExpression.g4 | 58 | left=expression op=('*'|'/'|'%') right=expression # MathOp 59 | left=expression op=('+'|'-') right=expression # MathOp 60 | left=expression op=('<<' | '>>>' | '>>') right=expression # BitShiftOp 61 | left=expression op=('<=' | '>=' | '>' | '<') right=expression # ComparisonOp 63 | left=expression op=('==' | '!=') right=expression # ComparisonOp 64 | left=expression op='&' right=expression # BinaryOp 65 | left=expression op='^' right=expression # BinaryOp 66 | left=expression op='|' right=expression # BinaryOp 67 | left=expression op='&&' right=expression # AndOrOp 68 | left [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | SimpleItemAnimator.java | 44 * 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...] |
H A D | DividerItemDecoration.java | 110 final int left; 113 left = parent.getPaddingLeft(); 115 canvas.clipRect(left, parent.getPaddingTop(), right, 118 left = 0; 128 mDivider.setBounds(left, top, right, bottom); 153 final int left = right - mDivider.getIntrinsicWidth(); 154 mDivider.setBounds(left, top, right, bottom);
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomLayout.java | 30 public LayoutParams(int left, int top, int right, int bottom) { argument 32 mLeft = left;
|
/frameworks/support/compat/api20/android/support/v4/view/ |
H A D | WindowInsetsCompatApi20.java | 54 public static Object replaceSystemWindowInsets(Object insets, int left, int top, int right, argument 56 return ((WindowInsets) insets).replaceSystemWindowInsets(left, top, right, bottom);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ClipRectAnimation.java | 57 int l = mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it);
|
/frameworks/base/core/java/android/widget/ |
H A D | RtlSpacingHelper.java | 21 * 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 D | FocusAfterRemoval.java | 38 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 D | LargeBitmap.java | 54 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 D | Canvas.java | 429 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 D | RtlSpacingHelper.java | 21 * 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 D | Region.cpp | 128 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/core-ui/java/android/support/v4/widget/ |
H A D | FocusStrategy.java | 118 } else if (firstRect.left < secondRect.left) { 120 } else if (firstRect.left > secondRect.left) { 191 * @param direction the direction (up, down, left, right) 254 // For example, for direction left, if rect1 is to the left of the 290 * (e.g. left of) from source. 299 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 300 && srcRect.left > destRec [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 119 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 D | OpenGLRenderer.h | 138 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 D | BlackFrame.java | 41 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 D | LaunchingTaskPositioner.java | 96 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 D | h264bsd_deblocking.c | 71 * Info 701: Shift left of signed quantity (int) 134 u32 left; member in struct:__anon642 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 D | Touch.java | 45 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 D | Canvas.h | 118 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/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 333 final int left = mLastXOffset + newBounds.left; 338 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 346 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 352 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 357 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 365 private void drawColorViews(int left, int top, int width, int height, argument 371 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 81 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 D | FocusFinder.java | 128 // 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 D | BinTree.h | 35 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 D | SidePropagation.java | 93 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
|