/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
PointLabelFormatter.java | 30 public float hOffset;
45 * @param hOffset Horizontal offset of text in pixels.
49 public PointLabelFormatter(int textColor, float hOffset, float vOffset) {
51 this.hOffset = hOffset;
|
BarRenderer.java | 244 canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf.vOffset, plf.getTextPaint());
265 canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), leftX + width/2 + plf.hOffset, b.intY + plf.vOffset, plf.getTextPaint());
288 canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf.vOffset, plf.getTextPaint());
|
LineAndPointRenderer.java | 149 canvas.drawText(pointLabeler.getLabel(series, p.second), p.first.x + plf.hOffset, p.first.y + plf.vOffset, plf.getTextPaint());
|
/external/dng_sdk/source/ |
dng_tile_iterator.cpp | 123 int32 hOffset = tile.l; 126 int32 tileWidth = tile.r - hOffset; 131 fLeftPage = (fArea.l - hOffset ) / tileWidth; 132 fRightPage = (fArea.r - hOffset - 1) / tileWidth; 141 fTileLeft = fHorizontalPage * tileWidth + hOffset;
|
/frameworks/base/libs/hwui/hwui/ |
Canvas.cpp | 183 DrawTextOnPathFunctor(const minikin::Layout& layout, Canvas* canvas, float hOffset, 187 , hOffset(hOffset) 194 canvas->drawLayoutOnPath(layout, hOffset, vOffset, paint, path, start, end); 199 float hOffset; 206 float hOffset, float vOffset, const Paint& paint, Typeface* typeface) { 210 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); 217 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path);
|
Canvas.h | 271 float hOffset, float vOffset, const Paint& paint, Typeface* typeface); 284 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
|
/frameworks/base/libs/hwui/font/ |
Font.h | 90 int numGlyphs, const SkPath* path, float hOffset, float vOffset); 142 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
|
Font.cpp | 237 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, 245 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 301 const SkPath* path, float hOffset, float vOffset) { 339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
|
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/ |
VideoProvider.java | 126 int hOffset = (height - rect.height()) / 2; 128 shader = new LinearGradient(wOffset, height - hOffset, width - wOffset, hOffset,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
FakeShadowDrawable.java | 141 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, 143 padding.set(hOffset, vOffset, hOffset, vOffset);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
ShadowDrawableWrapper.java | 151 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, 153 padding.set(hOffset, vOffset, hOffset, vOffset);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
RoundRectDrawableWithShadow.java | 171 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, 173 padding.set(hOffset, vOffset, hOffset, vOffset);
|
/frameworks/base/libs/hwui/ |
RecordedOp.h | 403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) 408 , hOffset(hOffset) 414 const float hOffset;
|
FontRenderer.h | 103 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
|
SkiaCanvas.h | 166 virtual void drawLayoutOnPath(const minikin::Layout& layout, float hOffset, float vOffset,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
NopCanvas.java | 288 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, 293 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatSpinner.java | 764 int hOffset = 0; 767 hOffset = ViewUtils.isLayoutRtl(AppCompatSpinner.this) ? mTempRect.right 792 hOffset += spinnerWidth - spinnerPaddingRight - getWidth(); 794 hOffset += spinnerPaddingLeft; 796 setHorizontalOffset(hOffset);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
ImageReaderTest.java | 561 * @param hOffset offset of the top of the patch. 565 private static int[] convertPixelYuvToRgba(int w, int h, int wOffset, int hOffset, 571 w > 0 && h > 0 && wOffset >= 0 && hOffset >= 0); 583 Rect crop = new Rect(/*left*/wOffset, /*top*/hOffset, /*right*/wOffset + w, 584 /*bottom*/hOffset + h); 616 for (int i = hOffset; i < hOffset + h; i++) { 619 if ((i & 1) == (hOffset & 1)) { [all...] |
/frameworks/base/core/java/android/view/ |
RecordingCanvas.java | 441 float hOffset, float vOffset, @NonNull Paint paint) { 446 path.readOnlyNI(), hOffset, vOffset, 451 public final void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, 454 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, 635 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, 640 float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface);
|
/frameworks/base/graphics/java/android/graphics/ |
BaseCanvas.java | 420 float hOffset, float vOffset, @NonNull Paint paint) { 426 path.readOnlyNI(), hOffset, vOffset, 430 public void drawTextOnPath(@NonNull String text, @NonNull Path path, float hOffset, 434 nDrawTextOnPath(mNativeCanvasWrapper, text, path.readOnlyNI(), hOffset, vOffset, 631 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, 635 float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface);
|
Canvas.java | [all...] |
/frameworks/base/core/java/android/widget/ |
Spinner.java | [all...] |
/external/skia/src/core/ |
SkDevice.cpp | 405 SkScalar hOffset = 0; 413 hOffset += pathLen; 429 m.postTranslate(xpos + hOffset, 0);
|
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 528 jint index, jint count, jlong pathHandle, jfloat hOffset, 538 hOffset, vOffset, *paint, typeface); 544 jlong pathHandle, jfloat hOffset, jfloat vOffset, 554 hOffset, vOffset, *paint, typeface);
|