Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java28 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()
DDonutView.java28 import android.text.Layout;
187 mBigNumberPaint, getWidth(), Layout.Alignment.ALIGN_CENTER, 1, 0, false); in drawInnerText()
DChartSweepView.java29 import android.text.Layout;
30 import android.text.Layout.Alignment;
752 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DChartGridView.java28 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()
DDonutView.java28 import android.text.Layout;
187 mBigNumberPaint, getWidth(), Layout.Alignment.ALIGN_CENTER, 1, 0, false); in drawInnerText()
DChartSweepView.java29 import android.text.Layout;
30 import android.text.Layout.Alignment;
752 return Layout.getDesiredWidth(view.mLabelLayout.getText(), view.mLabelLayout.getPaint());
/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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAppsDividerView.java27 import android.text.Layout;
70 private Layout mAllAppsLabelLayout;
197 Layout textLayout = getAllAppsLabelLayout(); in onDraw()
206 private Layout getAllAppsLabelLayout() { in getAllAppsLabelLayout()
217 .setAlignment(Layout.Alignment.ALIGN_CENTER) in getAllAppsLabelLayout()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DDeferredAppWidgetHostView.java23 import android.text.Layout;
38 private Layout mSetupTextLayout;
73 Layout.Alignment.ALIGN_CENTER, 1, 0, true); in onMeasure()
DPendingAppWidgetHostView.java26 import android.text.Layout;
64 private Layout mSetupTextLayout;
244 Layout.Alignment.ALIGN_CENTER, 1, 0, true); in updateDrawableBounds()
/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/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/Gallery/src/com/android/camera/
DActionMenuButton.java25 import android.text.Layout;
75 final Layout layout = getLayout(); in draw()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java19 import android.text.Layout;
102 final float width = Layout.getDesiredWidth(text, mMeasurePaint); in adjustTextSize()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailTosMessageCreator.java29 import android.text.Layout;
508 new AlignmentSpan.Standard(Layout.Alignment.ALIGN_CENTER),
526 new AlignmentSpan.Standard(Layout.Alignment.ALIGN_CENTER),
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java72 private final Layout mLayout = new Layout();
395 public class Layout { class in SlotView
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java27 import android.text.Layout;
233 Layout layout = textView.getLayout(); in decreaseAutoSizeMinTextSize()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java23 import android.text.Layout.Alignment;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSubjectAndFolderView.java26 import android.text.Layout;
DConversationItemView.java41 import android.text.Layout.Alignment;
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java62 import android.text.Layout;
304 private Layout mEmptyTextLayout;
1416 .setAlignment(Layout.Alignment.ALIGN_CENTER) in updateEmptyStateUi()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java29 import android.text.Layout.Alignment;
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java23 import android.text.Layout.Alignment;
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md29 ## Data Layout {#DataLayout}

12