Searched refs:baseline (Results 1 - 15 of 15) 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.java56 * @param baseline the baseline of the line
66 int top, int baseline, int bottom,
139 int top, int baseline, int bottom,
64 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
137 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.java43 int top, int baseline, int bottom,
42 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.java43 int top, int baseline, int bottom,
42 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/core/java/android/widget/
H A DImageView.java1043 * <p>Return the offset of the widget's text baseline from the widget's top
1046 * @return the offset of the baseline within the widget's bounds or -1
1047 * if baseline alignment is not supported.
1060 * <p>Set the offset of the widget's text baseline from the widget's top
1064 * @param baseline The baseline to use, or -1 if none is to be provided.
1069 public void setBaseline(int baseline) { argument
1070 if (mBaseline != baseline) {
1071 mBaseline = baseline;
1077 * Set whether to set the baseline o
[all...]
H A DGridLayout.java2716 return 0; // baseline gravity is top
2724 int baseline = view.getBaseline();
2725 return baseline == -1 ? UNDEFINED : baseline;
2732 In a baseline aligned row in which some components define a baseline
2735 including those that don't define a baseline.
H A DRelativeLayout.java104 * Rule that aligns a child's baseline with another child's baseline.
648 int baseline = child.getBaseline();
649 if (baseline != -1) {
650 offset -= baseline;
H A DTextView.java5242 * Return the baseline for the specified line (0...getLineCount() - 1)
5248 * @return the Y-coordinate of the baseline
5258 int baseline = mLayout.getLineBounds(line, bounds);
5267 return baseline + voffset;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java2603 return 0; // baseline gravity is top
2611 int baseline = view.getBaseline();
2612 return baseline == -1 ? UNDEFINED : baseline;
2619 In a baseline aligned row in which some components define a baseline
2622 including those that don't define a baseline.

Completed in 216 milliseconds