Searched refs:left (Results 26 - 50 of 741) sorted by relevance

1234567891011>>

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMathExpr.java27 MathExpr(Expr left, String op, Expr right) { argument
28 super(left, right);
108 final Expr left = getLeft();
110 final Expr constExpr = left.isDynamic() ? right : left;
111 final Expr varExpr = left.isDynamic() ? left : right;
122 if (!left.isDynamic()) { // const - x = value => x = const - value)
131 if (!left.isDynamic()) { // const / x = value => x = const / value
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraUtils.java59 long left = widthA * (long) heightA;
61 if (left == right) {
62 left = widthA;
65 return (left < right) ? -1 : (left > right ? 1 : 0);
/frameworks/base/services/core/java/com/android/server/policy/
H A DRecentApplicationsBackground.java60 protected boolean setFrame(int left, int top, int right, int bottom) { argument
62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
65 return super.setFrame(left, top, right, bottom);
105 int left, right;
108 left = chld.left - bkg.left;
112 left = 0;
115 background.setBounds(left, top, right, bottom);
144 r.left
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTreeBase.h22 NodeBase* left; member in class:mcld::NodeBase
26 NodeBase() : left(NULL), right(NULL) {}
64 return ((m_pNode->left) != (m_pNode->left->right));
78 this->m_pNode = this->m_pNode->left;
89 this->m_pNode->left = pOther;
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java87 int left = (tempRect.left+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE;
95 if (left < 0) {
96 left = 0;
97 } else if (left > dims[0]) {
98 left = dims[0];
113 if (left > 0 && top > 0) {
114 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left) +
116 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left) +
118 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left)
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java89 int left = (faceRect.left+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE;
97 if (left < 0) {
98 left = 0;
99 } else if (left > bitmap.getWidth()) {
100 left = bitmap.getWidth();
115 if (left > 0 && top > 0) {
116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
120 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left)
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.h56 u8 *above, u8 *left, u32 constrainedIntraPred);
58 u8 *above, u8 *left, u32 constrainedIntraPred);
61 u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred);
63 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRect.java42 buffer.putInt(value.left);
50 int left = buffer.getInt();
55 int right = left + width;
58 return new Rect(left, top, right, bottom);
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java26 int left, int right,
25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DRectUtils.java30 * The top-left of the transformed full rectangle will always be placed at (0, 0).
47 // Then translate so that the upper left corner of the rotated full rect is at (0,0).
49 matrix.setTranslate(-fullRectF.left, -fullRectF.top);
53 fullRect.set((int) fullRectF.left, (int) fullRectF.top, (int) fullRectF.right,
55 partialRect.set((int) partialRectF.left, (int) partialRectF.top, (int) partialRectF.right,
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java31 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java45 outRect.left = position + dividerSize;
58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are
64 // If the bounds are either on the top or left of the screen, rather move it further to the
65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the
68 if (bounds.left >= bounds.right) {
69 bounds.left = bounds.right - 1;
75 if (bounds.right <= bounds.left) {
76 bounds.right = bounds.left + 1;
91 return bounds.left - dividerSize;
101 int start = isHorizontalDivision ? insets.top : insets.left;
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
539 * @param left The left side of a rectangle to add to the path
545 public void addRect(float left, floa argument
565 addOval(float left, float top, float right, float bottom, Direction dir) argument
600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
843 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
H A DRegion.java71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
76 public Region(int left, int top, int right, int bottom) { argument
78 nativeSetRect(mNativeRegion, left, top, right, bottom);
97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
102 public boolean set(int left, int top, int right, int bottom) { argument
103 return nativeSetRect(mNativeRegion, left, top, right, bottom);
182 return quickContains(r.left, r.top, r.right, r.bottom);
191 public native boolean quickContains(int left, int top, int right, argument
200 return quickReject(r.left, r.top, r.right, r.bottom);
208 public native boolean quickReject(int left, in argument
267 op(int left, int top, int right, int bottom, Op op) argument
412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java78 final int left = (getWidth() - width) / 2;
84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
95 mPatch2.setBounds(left, top, left + width, top + height);
H A DPathDestructionActivity.java59 float left, top, right, bottom;
60 left = MathUtils.random(getWidth() - MIN_SIZE);
62 right = left + MathUtils.random(getWidth() - left);
65 path.moveTo(left, top);
68 path.lineTo(left, bottom);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DStyledCornersBitmapDrawable.java249 float left = bounds.left + mBorderWidth / 2;
258 flapCornerRectF.offsetTo(left, top);
273 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide);
304 float left = bounds.left;
313 fakeCornerRectF.offsetTo(left, top);
315 mCompatibilityModePath.moveTo(left, top);
316 mCompatibilityModePath.lineTo(left + mCornerRoundRadius, top);
341 fakeCornerRectF.offsetTo(left, botto
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java83 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
93 return mCustomOutline ? mOutlineRect.left : (int) getTranslation();
114 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
118 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
122 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
H A DGridLayoutTest.java70 int left = mLeftView.getWidth();
73 assertTrue("left item should get some width", left > 0);
76 assertTrue("left view should be almost two times right view " + left + " vs " + right,
77 Math.abs(right * 2 - left) < 2);
83 int left = mLeftView.getWidth();
86 assertTrue("left item should get some width", left > 0);
89 assertTrue("left vie
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirOps.h52 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument
56 if (left) {
69 int16_t v = left ? static_cast<int16_t>(vRL) : static_cast<int16_t>(vRL>>16);
120 int32_t mulAddRL(int left, uint32_t inRL, int16_t v, int32_t a) argument
124 if (left) {
137 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_t>(inRL>>16);
143 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument
147 if (left) {
160 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_t>(inRL>>16);
/frameworks/base/libs/hwui/
H A DOutline.h42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument
45 && left == mBounds.left
55 mBounds.set(left, top, right, bottom);
61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
64 mPath.addRect(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java53 private void updatePaint(int left, int top, int right, int bottom) { argument
70 0, 0, right - left, 0,
75 right - left, 0, 0, 0,
82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
85 updatePaint(left, top, right, bottom);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp45 const int left = (j > 0)? -4 : 0; local
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 +
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) +
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left);
58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) +
/frameworks/data-binding/compilerCommon/
H A DBindingExpression.g458 | 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...]

Completed in 575 milliseconds

1234567891011>>