Home
last modified time | relevance | path

Searched refs:Alignment (Results 1 – 4 of 4) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dlabel.h28 enum class Alignment : int8_t { LEFT, CENTER, RIGHT, TOP, BOTTOM }; enum
69 : fontSize_(10_px), lineHeight_(12_px), text_{}, horizontalTextAlignment_(Alignment::LEFT), in LabelImpl()
70 verticalTextAlignment_(Alignment::TOP), textColor_(0), font_{}, textId_(0) {}
71 LabelImpl(pxs fontSize, pxs lineHeight, text_t text, Alignment horizontal, in LabelImpl()
72 Alignment verticalJustified, Color textColor, FontBuffer font, uint64_t textId) in LabelImpl()
94 Alignment horizontalTextAlignment_;
95 Alignment verticalTextAlignment_;
109 static const constexpr Alignment label_horizontal_text_alignment = Alignment::LEFT;
110 static const constexpr Alignment label_vertical_text_alignment = Alignment::TOP;
148 static const constexpr Alignment label_horizontal_text_alignment = horizontalAligment;
[all …]
/system/teeui/libteeui/src/
Dlabel.cpp82 case Alignment::LEFT: in draw()
83 case Alignment::TOP: in draw()
84 case Alignment::BOTTOM: in draw()
86 case Alignment::CENTER: in draw()
89 case Alignment::RIGHT: in draw()
114 if (verticalTextAlignment_ == Alignment::CENTER) in draw()
116 else if (verticalTextAlignment_ == Alignment::BOTTOM) in draw()
/system/teeui/libteeui/example/layout/
Dtouch_button_layout.h54 HorizontalTextAlignment(Alignment::CENTER);
92 HorizontalTextAlignment(Alignment::CENTER);
93 VerticalTextAlignment(Alignment::CENTER);
106 HorizontalTextAlignment(Alignment::LEFT);
121 VerticalTextAlignment(Alignment::BOTTOM);
Dphys_button_layout.h135 VerticalTextAlignment(Alignment::BOTTOM);