Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java26 import android.text.Layout;
53 private Layout mLabelStart;
54 private Layout mLabelMid;
55 private Layout mLabelEnd;
140 final Layout start = mLabelStart; in onDraw()
148 final Layout mid = mLabelMid; in onDraw()
156 final Layout end = mLabelEnd; in onDraw()
165 private Layout makeLabel(CharSequence text) { in makeLabel()
174 (int) Math.ceil(Layout.getDesiredWidth(text, paint)), in makeLabel()
175 Layout.Alignment.ALIGN_NORMAL, 1.f, 0, true); in makeLabel()
DLinkAccessibilityHelper.java21 import android.text.Layout;
153 final Layout layout = mView.getLayout(); in getBoundsForSpan()
DChartSweepView.java29 import android.text.Layout;
30 import android.text.Layout.Alignment;
749 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DMultiLineTexture.java21 import android.text.Layout;
31 private final Layout mLayout;
33 private MultiLineTexture(Layout layout) { in MultiLineTexture()
40 Layout.Alignment alignment) { in newInstance()
42 Layout layout = new StaticLayout(text, 0, text.length(), paint, in newInstance()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java120 private static class Layout { class in MultiAttachmentLayout
122 public Layout(final Tile[] tilesArray) { in Layout() method in MultiAttachmentLayout.Layout
130 private static final Layout[] ATTACHMENT_LAYOUTS_BY_COUNT = {
133 new Layout(new Tile[] { Tile.large(0, 0), Tile.large(2, 0) }), // 2 items
134 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.wide(2, 1) }), // 3 items
135 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.small(2, 1), // 4+ items
142 private static final Layout[] ATTACHMENT_RTL_LAYOUTS_BY_COUNT = {
145 new Layout(new Tile[] { Tile.large(2, 0), Tile.large(0, 0)}), // 2 items
146 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.wide(0, 1) }), // 3 items
147 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.small(1, 1), // 4+ items
[all …]
/packages/inputmethods/OpenWnn/
DChangeLog.txt15 - Layout of soft keyboard is changed.
16 - Layout of symbol list is changed.
17 - Layout of emoticon list is changed.
62 - Layout of software keyboards are changed.
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DEllipsizedMultilineTextView.java21 import android.text.Layout;
22 import android.text.Layout.Alignment;
73 Layout layout = getLayout(); in setText()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java24 import android.text.Layout;
186 final float newCharWidth = Layout.getDesiredWidth("\u2007", paint); in onMeasure()
193 final float decimalSeparatorWidth = Layout.getDesiredWidth( in onMeasure()
195 final float minusExtraWidth = Layout.getDesiredWidth( in onMeasure()
197 final float ellipsisExtraWidth = Layout.getDesiredWidth(KeyMaps.ELLIPSIS, paint) in onMeasure()
606 final int width = (int) Layout.getDesiredWidth(getText(), getPaint());
DCalculatorText.java24 import android.text.Layout;
205 if (Layout.getDesiredWidth(text, mTempPaint) > mWidthConstraint) { in getVariableTextSize()
/packages/apps/Gallery/src/com/android/camera/
DActionMenuButton.java25 import android.text.Layout;
75 final Layout layout = getLayout(); in draw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java25 import android.text.Layout;
114 final Layout layout = textView.getLayout(); in extractFromTextViewInternal()
175 layout.getParagraphDirection(line) == Layout.DIR_LEFT_TO_RIGHT; in extractFromTextViewInternal()
/packages/apps/Launcher3/src/com/android/launcher3/
DPendingAppWidgetHostView.java31 import android.text.Layout;
61 private Layout mSetupTextLayout;
242 Layout.Alignment.ALIGN_CENTER, 1, 0, true); in updateDrawableBounds()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java41 import android.text.Layout;
147 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize()
148 Layout.Alignment.ALIGN_NORMAL, 1, 0, true); in chooseSize()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java41 import android.text.Layout;
149 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize()
150 Layout.Alignment.ALIGN_NORMAL, 1, 0, true); in chooseSize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java72 private final Layout mLayout = new Layout();
395 public class Layout { class in SlotView
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidates1LineViewManager.java28 import android.text.Layout;
334 mCenterSpan = new AlignmentSpan.Standard(Layout.Alignment.ALIGN_CENTER); in initView()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSubjectAndFolderView.java26 import android.text.Layout;
DConversationItemView.java41 import android.text.Layout.Alignment;
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/text/
DSubtitleView.java29 import android.text.Layout.Alignment;
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java49 import android.text.Layout;
223 Layout ll = tv.getLayout(); in onTouch()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCaptionWindowLayout.java22 import android.text.Layout.Alignment;
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md29 ## Data Layout {#DataLayout}
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java44 import android.text.Layout.Alignment;
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...