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

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
182 int[] calculateOffsets(int left, int top) { argument
185 offsets = new int[] {top * mStrides[0] + left,
187 + left / 2 * 2 };
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
221 rect.left &= ~1;
223 rect.right = rect.left + width;
228 // Make sure left an
[all...]
H A DPath.java438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
524 * @param left The left side of a rectangle to add to the path
530 public void addRect(float left, floa argument
550 addOval(float left, float top, float right, float bottom, Direction dir) argument
585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
819 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
411 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
419 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/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/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/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsResizeTaskDialog.java136 mBounds[1].left = mBounds[0].right;
141 mBounds[0].left = mBounds[1].right;
157 mBounds[1].left = mBounds[0].right;
161 mBounds[3].left = mBounds[0].right;
166 mBounds[0].left = mBounds[0].centerX();
168 mBounds[1].right = mBounds[0].left;
170 mBounds[2].left = mBounds[0].left;
172 mBounds[3].right = mBounds[0].left;
179 mBounds[1].left
[all...]
/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.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/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/av/services/audioflinger/
H A DAudioResamplerFirOps.h48 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument
52 if (left) {
65 int16_t v = left ? static_cast<int16_t>(vRL) : static_cast<int16_t>(vRL>>16);
116 int32_t mulAddRL(int left, uint32_t inRL, int16_t v, int32_t a) argument
120 if (left) {
133 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_t>(inRL>>16);
139 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument
143 if (left) {
156 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_t>(inRL>>16);
/frameworks/base/libs/hwui/
H A DCanvas.h74 virtual int saveLayer(float left, float top, float right, float bottom,
76 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
95 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
98 virtual bool clipRect(float left, float top, float right, float bottom,
119 virtual void drawRect(float left, float top, float right, float bottom,
121 virtual void drawRoundRect(float left, float top, float right, float bottom,
124 virtual void drawOval(float left, float top, float right, float bottom,
126 virtual void drawArc(float left, float top, float right, float bottom,
134 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top,
/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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DBitShiftExpr.java26 BitShiftExpr(Expr left, String op, Expr right) { argument
27 super(left, right);
H A DComparisonExpr.java26 ComparisonExpr(String op, Expr left, Expr right) { argument
27 super(left, right);
H A DInstanceOfExpr.java28 InstanceOfExpr(Expr left, String type) { argument
29 super(left);
H A DMathExpr.java26 MathExpr(Expr left, String op, Expr right) { argument
27 super(left, right);

Completed in 1136 milliseconds

1234567891011>>