Searched refs:baseline (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java27 int top, int baseline, int bottom,
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
H A DLeadingMarginSpan.java59 * @param baseline the baseline of the line
69 int top, int baseline, int bottom,
146 int top, int baseline, int bottom,
67 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
144 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DIconMarginSpan.java42 int top, int baseline, int bottom,
41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DQuoteSpan.java67 int top, int baseline, int bottom,
66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DDrawableMarginSpan.java42 int top, int baseline, int bottom,
41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DBulletSpan.java81 int top, int baseline, int bottom,
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
/frameworks/base/tools/preload/
H A DMemoryUsage.java107 MemoryUsage subtract(MemoryUsage baseline) { argument
109 nativeSharedPages - baseline.nativeSharedPages,
110 javaSharedPages - baseline.javaSharedPages,
111 otherSharedPages - baseline.otherSharedPages,
112 nativePrivatePages - baseline.nativePrivatePages,
113 javaPrivatePages - baseline.javaPrivatePages,
114 otherPrivatePages - baseline.otherPrivatePages,
115 allocCount - baseline.allocCount,
116 allocSize - baseline.allocSize,
117 freedCount - baseline
156 static MemoryUsage baseline() { method in class:MemoryUsage
[all...]
H A DPrintCsv.java44 MemoryUsage baseline = MemoryUsage.baseline();
51 printRow(System.out, baseline, loadedClass);
70 static void printRow(PrintStream out, MemoryUsage baseline, argument
108 = loadedClass.memoryUsage.subtract(baseline);
H A DPrintHtmlDiff.java81 printTable(out, root.baseline, added);
83 printTable(out, root.baseline, removed);
87 static void printTable(PrintStream out, MemoryUsage baseline, argument
126 = clazz.memoryUsage.subtract(baseline);
H A DRoot.java49 MemoryUsage baseline = MemoryUsage.baseline(); field in class:Root
/frameworks/base/libs/hwui/
H A DDrawProfiler.h63 void prepareShapes(const int baseline);
H A DDrawProfiler.cpp175 void DrawProfiler::prepareShapes(const int baseline) { argument
180 r.bottom = baseline;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DIPTestListJB.java83 public final float baseline; field in class:IPTestListJB.TestName
88 baseline = base;
93 baseline = 1.f;
H A DIPControlsJB.java240 v = t.baseline / v;
/frameworks/base/core/java/android/widget/
H A DImageView.java1182 * <p>Return the offset of the widget's text baseline from the widget's top
1185 * @return the offset of the baseline within the widget's bounds or -1
1186 * if baseline alignment is not supported.
1199 * <p>Set the offset of the widget's text baseline from the widget's top
1203 * @param baseline The baseline to use, or -1 if none is to be provided.
1208 public void setBaseline(int baseline) { argument
1209 if (mBaseline != baseline) {
1210 mBaseline = baseline;
1216 * Set whether to set the baseline o
[all...]
H A DRelativeLayout.java104 * Rule that aligns a child's baseline with another child's baseline.
656 int baseline = child.getBaseline();
657 if (baseline != -1) {
658 offset -= baseline;
H A DGridLayout.java2917 return 0; // baseline gravity is top
2925 int baseline = view.getBaseline();
2926 return baseline == -1 ? UNDEFINED : baseline;
2933 In a baseline aligned row in which some components define a baseline
2936 including those that don't define a baseline.
H A DTextView.java5515 * Return the baseline for the specified line (0...getLineCount() - 1)
5521 * @return the Y-coordinate of the baseline
5531 int baseline = mLayout.getLineBounds(line, bounds);
5540 return baseline + voffset;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2796 return 0; // baseline gravity is top
2804 int baseline = view.getBaseline();
2805 return baseline == -1 ? UNDEFINED : baseline;
2812 In a baseline aligned row in which some components define a baseline
2815 including those that don't define a baseline.

Completed in 356 milliseconds