/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridMatch.java | 90 case BASELINE: 91 return String.format("Align baseline in row %1$d", cellIndex + 1); 135 * Computes the sorting priority of this match, giving baseline matches higher 140 case BASELINE:
|
GridDropHandler.java | 76 * bounds and the drag baseline 333 * Adds a baseline match, if applicable. 343 rowMatches.add(new GridMatch(SegmentType.BASELINE, distance, rowBaselineY, row, 564 } else if (mRowMatch.type == SegmentType.BASELINE) { 565 // TODO: The rowSpan should always be 1 for baseline alignments, since 578 assert mRowMatch.type != SegmentType.BASELINE || rowSpan == 1 : rowSpan; 581 // the row; don't add a rowspan since that will defeat baseline alignment etc 707 if (mRowMatch.type == SegmentType.BASELINE) { 708 // There *is* no baseline gravity constant, instead, leave the 710 // baseline alignmen [all...] |
GridLayoutPainter.java | 174 } else if (rowMatch.type == SegmentType.BASELINE) { 245 // Preview baseline as well
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintType.java | 18 import static com.android.ide.common.api.SegmentType.BASELINE; 68 ALIGN_BASELINE(ATTR_LAYOUT_ALIGN_BASELINE, null, BASELINE, null, BASELINE, false, true, false, 158 * is one of the parent edges (actual edge, not center/baseline segments) 205 case BASELINE: 215 case BASELINE: 235 case BASELINE:
|
ResizeHandler.java | 19 import static com.android.ide.common.api.SegmentType.BASELINE; 66 assert horizontalEdgeType != BASELINE && verticalEdgeType != BASELINE; 233 || hEdge.edgeType == BASELINE : hEdge;
|
MoveHandler.java | 19 import static com.android.ide.common.api.SegmentType.BASELINE; 49 * different segment types -- the left edge, the right edge, the baseline, the center 163 } else if (hEdge.edgeType == BASELINE) { 226 // Match baseline 228 int baseline = firstNode.getBaseline(); local 229 if (baseline != -1) { 230 mDraggedBaseline = baseline; 231 edge = new Segment(b.y + baseline, b.x, b.x2(), firstNode, null, BASELINE, 236 int baseline = feedback.dragBaseline local [all...] |
ConstraintPainter.java | 21 import static com.android.ide.common.api.SegmentType.BASELINE; 157 // alignBaseline constraints to work around a surprising behavior of baseline 161 // Remove any baseline 481 if (sourceSegmentTypeY == BOTTOM || sourceSegmentTypeY == BASELINE) { 489 } else if (sourceSegmentTypeY == BASELINE) { 561 if (sourceSegmentTypeY == BASELINE) { 575 int x = sourceBounds.x + ((sourceSegmentTypeY == BASELINE) ? 598 assert targetSegmentTypeY == BASELINE : targetSegmentTypeY; [all...] |
GuidelineHandler.java | 21 import static com.android.ide.common.api.SegmentType.BASELINE; 134 * All horizontal segments in the relative layout - top and bottom edges, baseline 375 /** Records the baseline edge for the given node to the potential match list */ 380 mHorizontalEdges.add(new Segment(b.y + baselineY, b.x, b.x2(), node, id, BASELINE, 426 // Center horizontal, center vertical and Baseline only matches the same 428 case BASELINE: 565 // HACK! WORKAROUND! Baseline doesn't provide a new bottom edge for attachments 798 // Prefer matching on baseline 799 int baseline1 = (m1.edge.edgeType == BASELINE) ? -1 : 1; 800 int baseline2 = (m2.edge.edgeType == BASELINE) ? -1 : 1 [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/view/ |
GridLayout3.java | 20 import static android.support.v7.widget.GridLayout.BASELINE; 63 Spec emailRow = spec(2, BASELINE); 64 Spec passwordRow = spec(3, BASELINE);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GridLayout3.java | 52 Spec emailRow = spec(2, BASELINE); 53 Spec passwordRow = spec(3, BASELINE);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestGridLayoutCodeLtr.java | 57 Spec row3 = spec(2, BASELINE); 58 Spec row4 = spec(3, BASELINE);
|
BiDiTestGridLayoutCodeRtl.java | 57 Spec row3 = spec(2, BASELINE); 58 Spec row4 = spec(3, BASELINE);
|
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLSquareRoot.cpp | 178 box->style()->setVerticalAlign(BASELINE);
|
RenderMathMLRoot.cpp | 212 current->style()->setVerticalAlign(BASELINE);
|
RenderMathMLSubSup.cpp | 98 wrapperStyle->setVerticalAlign(BASELINE); 181 int baseline = offsetHeight(); local 183 return baseline; 194 // The baseline is top spacing of the base + the baseline of the base + adjusted space for zoom 202 baseline = box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode); 206 return baseline;
|
RenderMathMLOperator.cpp | 185 newStyle->setVerticalAlign(BASELINE);
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AlignmentTest.java | 35 public static final String[] VERTICAL_NAMES = {"north", "center", "baseline", "south", "fill"}; 36 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
|
/external/webkit/Source/WebCore/editing/mac/ |
EditorMac.mm | 125 case BASELINE:
|
/external/webkit/Source/WebCore/rendering/style/ |
RenderStyleConstants.h | 110 BASELINE, MIDDLE, SUB, SUPER, TEXT_TOP,
|
/external/webkit/Source/WebCore/rendering/ |
RenderTableSection.cpp | 181 m_grid[r].baseline = 0; 358 m_grid[r].baseline = 0; 359 int baseline = 0; local 407 // find out the baseline 409 if (va == BASELINE || va == TEXT_BOTTOM || va == TEXT_TOP || va == SUPER || va == SUB) { 412 baseline = max(baseline, b - cell->intrinsicPaddingBefore()); 418 // do we have baseline aligned elements? 419 if (baseline) { 420 // increase rowheight if baseline require [all...] |
InlineFlowBox.cpp | 118 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE) 125 // FIXME: This is dumb. We only turn off because current layout test results expect the <br> to be 0-height on the baseline. 135 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE 488 // the root box's baseline. The maxDescent value represents the distance of the lowest point of any box 489 // (also typically including line-height) from the root box baseline. These values can be negative. 491 // A secondary purpose of this function is to store the offset of every box's baseline from the root box's 492 // baseline. This information is cached in the logicalTop() of every box. We're effectively just using 497 // part of the box (EXCLUDING leading) is above (for ascent) or below (for descent) the root box's baseline [all...] |
RenderInline.cpp | 176 || (parentRenderInline && parentStyle->verticalAlign() != BASELINE) 177 || style()->verticalAlign() != BASELINE 187 || childStyle->verticalAlign() != BASELINE 497 // direction (aligned to the root box's baseline). 581 // direction (aligned to the root box's baseline). [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | [all...] |