Home
last modified time | relevance | path

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

/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/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/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java121 private static class Layout { class in MultiAttachmentLayout
123 public Layout(final Tile[] tilesArray) { in Layout() method in MultiAttachmentLayout.Layout
131 private static final Layout[] ATTACHMENT_LAYOUTS_BY_COUNT = {
134 new Layout(new Tile[] { Tile.large(0, 0), Tile.large(2, 0) }), // 2 items
135 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.wide(2, 1) }), // 3 items
136 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.small(2, 1), // 4+ items
143 private static final Layout[] ATTACHMENT_RTL_LAYOUTS_BY_COUNT = {
146 new Layout(new Tile[] { Tile.large(2, 0), Tile.large(0, 0)}), // 2 items
147 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.wide(0, 1) }), // 3 items
148 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/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()
DTextSizeHelper.kt19 import android.text.Layout
93 val 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/TV/src/com/android/tv/dvr/ui/browse/
DRecordingCardView.java26 import android.text.Layout;
67 private Layout mTitleViewLayout;
/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;
231 Layout layout = textView.getLayout(); in decreaseAutoSizeMinTextSize()
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/
DAutoResizeTextView.java23 import android.text.Layout.Alignment;
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java62 import android.text.Layout;
305 private Layout mEmptyTextLayout;
1470 .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}
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java44 import android.text.Layout.Alignment;