Searched refs:Layout (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/text/
H A DTextLayoutTest.java21 import android.text.Layout;
40 Layout l = new StaticLayout(mString, mPaint, 200,
41 Layout.Alignment.ALIGN_NORMAL, 1, 0,
47 Layout l = new DynamicLayout(mString, mPaint, 200,
48 Layout.Alignment.ALIGN_NORMAL, 1, 0,
H A DStaticLayoutTest.java21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
49 Layout l = b.build();
55 assertEquals(Layout.DIR_LEFT_TO_RIGHT, l.getParagraphDirection(0));
57 assertEquals(Layout.DIRS_ALL_LEFT_TO_RIGHT, l.getLineDirections(0));
73 Layout l = b.build();
89 Layout l = b.build();
107 Layout l = b.build();
135 Layout l = b.build();
156 Layout
[all...]
H A DStaticLayoutBidiTest.java29 public static final int REQ_DL = 2; // Layout.DIR_REQUEST_DEFAULT_LTR;
30 public static final int REQ_DR = -2; // Layout.DIR_REQUEST_DEFAULT_RTL;
31 public static final int REQ_L = 1; // Layout.DIR_REQUEST_LTR;
32 public static final int REQ_R = -1; // Layout.DIR_REQUEST_RTL;
33 public static final int L = Layout.DIR_LEFT_TO_RIGHT;
34 public static final int R = Layout.DIR_RIGHT_TO_LEFT;
/frameworks/base/core/java/android/text/style/
H A DAlignmentSpan.java20 import android.text.Layout;
25 public Layout.Alignment getAlignment();
29 public Standard(Layout.Alignment align) {
34 mAlignment = Layout.Alignment.valueOf(src.readString());
49 public Layout.Alignment getAlignment() {
53 private final Layout.Alignment mAlignment;
H A DLeadingMarginSpan.java22 import android.text.Layout;
68 boolean first, Layout layout);
141 boolean first, Layout layout) {
H A DLineHeightSpan.java21 import android.text.Layout;
H A DIconMarginSpan.java24 import android.text.Layout;
45 boolean first, Layout layout) {
H A DQuoteSpan.java22 import android.text.Layout;
69 boolean first, Layout layout) {
H A DDrawableMarginSpan.java24 import android.text.Layout;
45 boolean first, Layout layout) {
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java19 import android.text.Layout.Directions;
37 case Layout.DIR_REQUEST_LTR: dir = 0; break;
38 case Layout.DIR_REQUEST_RTL: dir = 1; break;
39 case Layout.DIR_REQUEST_DEFAULT_LTR: dir = -2; break;
40 case Layout.DIR_REQUEST_DEFAULT_RTL: dir = -1; break;
45 result = (result & 0x1) == 0 ? Layout.DIR_LEFT_TO_RIGHT : Layout.DIR_RIGHT_TO_LEFT;
52 * @param dir base line direction, either Layout.DIR_LEFT_TO_RIGHT or
53 * Layout.DIR_RIGHT_TO_LEFT
64 int baseLevel = dir == Layout
[all...]
H A DSelection.java121 public static boolean moveUp(Spannable text, Layout layout) {
162 public static boolean moveDown(Spannable text, Layout layout) {
204 public static boolean moveLeft(Spannable text, Layout layout) {
229 public static boolean moveRight(Spannable text, Layout layout) {
252 public static boolean extendUp(Spannable text, Layout layout) {
281 public static boolean extendDown(Spannable text, Layout layout) {
310 public static boolean extendLeft(Spannable text, Layout layout) {
326 public static boolean extendRight(Spannable text, Layout layout) {
338 public static boolean extendToLeftEdge(Spannable text, Layout layout) {
344 public static boolean extendToRightEdge(Spannable text, Layout layou
[all...]
H A DMeasuredText.java129 mDir = Layout.DIR_LEFT_TO_RIGHT;
137 bidiRequest = Layout.DIR_REQUEST_LTR;
139 bidiRequest = Layout.DIR_REQUEST_RTL;
141 bidiRequest = Layout.DIR_REQUEST_DEFAULT_LTR;
143 bidiRequest = Layout.DIR_REQUEST_DEFAULT_RTL;
146 bidiRequest = isRtl ? Layout.DIR_REQUEST_RTL : Layout.DIR_REQUEST_LTR;
162 int flags = mDir == Layout.DIR_LEFT_TO_RIGHT
H A DTextLine.java24 import android.text.Layout.Directions;
25 import android.text.Layout.TabStops;
152 mCharsValid = hasReplacement || hasTabs || directions != Layout.DIRS_ALL_LEFT_TO_RIGHT;
192 if (mDirections == Layout.DIRS_ALL_LEFT_TO_RIGHT) {
196 if (mDirections == Layout.DIRS_ALL_RIGHT_TO_LEFT) {
209 int runLimit = runStart + (runs[i+1] & Layout.RUN_LENGTH_MASK);
213 boolean runIsRtl = (runs[i+1] & Layout.RUN_RTL_FLAG) != 0;
224 if (codept >= Layout.MIN_EMOJI && codept <= Layout.MAX_EMOJI) {
225 bm = Layout
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFWriter.h22 class Layout;
52 const Layout& pLayout,
57 const Layout& pLayout,
62 const Layout& pLayout,
82 void emitSectionData(const Layout& pLayout,
86 void emitRelocation(const Layout& pLayout,
91 void emitRel(const Layout& pLayout,
96 void emitRela(const Layout& pLayout,
H A DRelocationFactory.h23 class Layout;
72 void setLayout(const Layout& pLayout);
75 const Layout& getLayout() const;
84 const Layout* m_pLayout;
H A DFragmentRef.h22 class Layout;
25 uint64_t computeFragmentSize(const Layout& pLayout,
H A DRelocation.h25 class Layout;
59 Address place(const Layout& pLayout) const;
H A DEhFrame.h26 class Layout;
57 uint64_t readEhFrame(Layout& pLayout,
/frameworks/compile/mclinker/lib/LD/
H A DLayout.cpp1 //===- Layout.cpp ---------------------------------------------------------===//
10 #include <mcld/LD/Layout.h>
33 Layout::Range::Range()
38 Layout::Range::Range(const LDSection& pHdr)
43 Layout::Range::~Range()
48 // Layout
50 Layout::Layout() function in class:Layout
54 Layout::~Layout()
[all...]
H A DRelocationFactory.cpp86 void RelocationFactory::setLayout(const Layout& pLayout)
91 const Layout& RelocationFactory::getLayout() const
H A DRelocation.cpp12 #include <mcld/LD/Layout.h>
35 Relocation::Address Relocation::place(const Layout& pLayout) const
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.h122 const Layout& pLayout,
128 const Layout& pLayout,
171 const Layout& pLayout) const;
192 const Layout& pLayout,
/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java21 import android.text.Layout;
49 final Layout layout = getLayout();
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCFragmentRef.h21 class Layout;
24 uint64_t computeFragmentSize(const Layout& pLayout,
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java20 import android.text.Layout;
38 private static int getCurrentLineTop(Spannable buffer, Layout layout) {
70 final Layout layout = widget.getLayout();
80 final Layout layout = widget.getLayout();
90 final Layout layout = widget.getLayout();
100 final Layout layout = widget.getLayout();
110 final Layout layout = widget.getLayout();
134 final Layout layout = widget.getLayout();
178 final Layout layout = widget.getLayout();
188 final Layout layou
[all...]

Completed in 249 milliseconds

123