/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 57 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { argument 58 if (left != null) left = TintedDrawable.wrap(left); 62 super.setCompoundDrawables(left, top, right, bottom); 98 drawables[0] = compoundDrawables[0]; // left
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | Region.java | 59 path.moveTo(mPointsXY[i] - bounds.left + mCutOffsetX,
62 path.lineTo(mPointsXY[i] - bounds.left + mCutOffsetX,
108 path.moveTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX,
111 path.lineTo(mPointsXY[i] - mRoiBounds.left + cutOffsetX,
173 c.drawBitmap(mUndoBitmap, roi.left, roi.top, null);
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | TransitionUtils.java | 49 int left = Math.round(bounds.left); 60 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); 63 copy.layout(left, top, right, bottom); 89 matrix.postTranslate(-bounds.left, -bounds.top);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.h | 82 virtual int saveLayer(float left, float top, float right, float bottom, 84 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 96 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 98 virtual bool clipRect(float left, float top, float right, float bottom, 115 virtual void drawRect(float left, float top, float right, float bottom, 118 virtual void drawRoundRect(float left, float top, float right, float bottom, 121 virtual void drawOval(float left, float top, float right, float bottom, 123 virtual void drawArc(float left, float top, float right, float bottom, 130 virtual void drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) override; 144 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, [all...] |
H A D | RecordingCanvas.cpp | 118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument 130 Rect unmappedBounds(left, top, right, bottom); 174 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f); 177 clip.translate(-unmappedBounds.left, -unmappedBounds.top); 178 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom); 230 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument 231 return mState.quickRejectConservative(left, top, right, bottom); 237 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument 238 return mState.clipRect(left, top, right, bottom, op); 292 void RecordingCanvas::drawRect(float left, floa argument 308 float left = FLT_MAX; local 363 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 378 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 421 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 431 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 468 drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) argument [all...] |
H A D | CanvasState.h | 123 bool quickRejectConservative(float left, float top, float right, float bottom) const; 125 bool clipRect(float left, float top, float right, float bottom, SkClipOp op); 144 * Returns true if drawing in the rectangle (left, top, right, bottom) 148 bool calculateQuickRejectForScissor(float left, float top, float right, float bottom,
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 154 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, 177 virtual int saveLayer(float left, float top, float right, float bottom, 179 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 194 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0; 197 virtual bool clipRect(float left, float top, float right, float bottom, 220 virtual void drawRect(float left, float top, float right, float bottom, 223 virtual void drawRoundRect(float left, float top, float right, float bottom, 226 virtual void drawOval(float left, float top, float right, float bottom, 228 virtual void drawArc(float left, float top, float right, float bottom, 236 virtual void drawBitmap(Bitmap& bitmap, float left, floa [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | CmapCoverage.cpp | 76 // Returns true if left and right intersect. 77 inline static bool intersects(const Range& left, const Range& right) { argument 78 return left.isValid() && right.isValid() && 79 left.start < right.end && right.start < left.end; 82 // Returns merged range. This method assumes left and right are not invalid ranges and they have 84 static Range merge(const Range& left, const Range& right) { argument 85 return Range({ std::min(left.start, right.start), std::max(left.end, right.end) }); 105 Range left local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 405 final int left = mHandle.getLeft(); 406 mTouchDelta = (int) x - left; 407 prepareTracking(left); 462 final int left = mHandle.getLeft(); 468 (mExpanded && left < mTapThreshold + mTopOffset) || 469 (!mExpanded && left > mBottomOffset + mRight - mLeft - 476 animateClose(vertical ? top : left, true); 478 animateOpen(vertical ? top : left, true); 481 performFling(vertical ? top : left, velocity, false, true); 485 performFling(vertical ? top : left, velocit [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioProfile.cpp | 43 bool operator == (const SortedVector<T> &left, const SortedVector<T> &right) argument 45 if (left.size() != right.size()) { 49 if (left[index] != right[index]) { 56 bool operator == (const AudioProfile &left, const AudioProfile &compareTo) argument 58 return (left.getFormat() == compareTo.getFormat()) && 59 (left.getChannels() == compareTo.getChannels()) && 60 (left.getSampleRates() == compareTo.getSampleRates());
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 119 change.crop.rectangle.left, change.crop.rectangle.top, \ 122 change.final_crop.rectangle.left, \ 137 new.left = rect[0] 275 change.projection.viewport.left, \ 280 change.projection.frame.left, \ 286 left = input("Enter left: ") 291 return int(left), int(top), int(right), int(bottom)
|
/frameworks/rs/script_api/include/ |
H A D | rs_matrix.rsh | 60 * left: Left plane. 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 72 left->x = viewProj->m[3] + viewProj->m[0]; 73 left->y = viewProj->m[7] + viewProj->m[4]; 74 left->z = viewProj->m[11] + viewProj->m[8]; 75 left->w = viewProj->m[15] + viewProj->m[12]; 102 float len = length(left->xyz); 103 *left /= len; 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 130 * left [all...] |
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 48 int left = parentLeft+node.getLeft(); 50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight()); 156 int left = parentLeft + root.getLeft(); 168 left -= root.getScrollX(); 173 buildTextRects(child, matrixStackIndex, left, top); 186 canvas.drawRect(te.bounds.left - mTmpLocation[0], te.bounds.top - mTmpLocation[1], 195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top, 200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 56 mRoiBounds.left < 0 66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height()); 113 int noSearch_x = mRoiBounds.left - mSearchRange.left; 133 mCutOffsetX = mina[0] + mSearchRange.left; 152 int mPasteOffX = (int) mRect.left - 1; 181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 192 int xmin = Math.max(0, (int) (mRoiBounds.left - mRoiBounds.width() * 2));
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 125 public void setPadding(int left, int top, int right, int bottom) { argument 173 * @param left The left padding in pixels 183 public void setContentPadding(int left, int top, int right, int bottom) { argument 184 mContentPadding.set(left, top, right, bottom); 241 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft, 302 * Returns the inner padding after the Card's left edge 304 * @return the inner padding after the Card's left edge 307 return mContentPadding.left; 458 public void setShadowPadding(int left, in [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 191 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth() 194 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top, 195 rect.right - rect.left, rect.bottom - rect.top, options);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 48 * The first two floats are for the top-left corner 55 * The first two floats are for the top-left corner 101 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), 118 mInnerRect.set(r.left + mInset.left, r.top + mInset.top,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 62 outline.setRoundRect(mClipRect.left, mClipRect.top, 67 outline.setRect(mClipRect.left, mClipRect.top, 114 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
|
/frameworks/support/compat/tests/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 98 * Checks whether the specified rectangle matches the specified left / top / right / 102 int left, int top, int right, int bottom) { 103 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left); 101 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
|
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/ |
H A D | TestUtils.java | 97 * Checks whether the specified rectangle matches the specified left / top / right / 101 int left, int top, int right, int bottom) { 102 Assert.assertEquals(failMessagePrefix + " left", rectangle.left, left); 100 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 631 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 633 return subtract(left, right, observer, cookie, null); 648 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument 650 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 653 observer.foundNonMonotonic(left, -1, right, -1, cookie); 661 if (recycle != null && recycle.capacity >= left.size) { 666 result = new NetworkStats(deltaRealtime, left.size); 668 for (int i = 0; i < left.size; i++) { 669 entry.iface = left.iface[i]; 670 entry.uid = left 926 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument 1098 tunSubtract(int i, NetworkStats left, Entry right) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 78 /*package*/ static void nDrawBitmap(long nativeCanvas, Bitmap bitmap, float left, float top, argument 87 float right = left + image.getWidth(); 92 (int)left, (int)top, (int)right, (int)bottom); 208 final float left, final float top, final float right, final float bottom, long paint) { 217 graphics.fillRect((int)left, (int)top, 218 (int)(right-left), (int)(bottom-top)); 223 graphics.drawRect((int)left, (int)top, 224 (int)(right-left), (int)(bottom-top)); 230 /*package*/ static void nDrawOval(long nativeCanvas, final float left, argument 232 if (right > left 207 nDrawRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, long paint) argument 262 nDrawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument 291 nDrawRoundRect(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float rx, final float ry, long paint) argument 759 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 104 * <p> Comparison does as follows. If the first value of {@code left} is larger than the 105 * first value of {@code right}, {@code left} is large than {@code right}. If the first 106 * value of {@code left} is less than the first value of {@code right}, {@code left} is less 107 * than {@code right}. If the first value of {@code left} and the first value of 109 * in {@code left} and {@code right} are equal, {@code left} and {@code right} is equal.</p> 111 * @param left The length must be equal to {@code right}. 112 * @param right The length must be equal to {@code left}. 113 * @return 1 if {@code left} i 117 compare(@onNull byte[] left, @NonNull byte[] right) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_display_DisplayViewport.cpp | 46 jfieldID left; member in struct:android::__anon1093 69 viewport->logicalLeft = env->GetIntField(logicalFrameObj, gRectClassInfo.left); 76 viewport->physicalLeft = env->GetIntField(physicalFrameObj, gRectClassInfo.left); 112 gRectClassInfo.left = GetFieldIDOrDie(env, clazz, "left", "I");
|