Lines Matching refs:attr

179  * @attr ref android.R.styleable#TextView_text
180 * @attr ref android.R.styleable#TextView_bufferType
181 * @attr ref android.R.styleable#TextView_hint
182 * @attr ref android.R.styleable#TextView_textColor
183 * @attr ref android.R.styleable#TextView_textColorHighlight
184 * @attr ref android.R.styleable#TextView_textColorHint
185 * @attr ref android.R.styleable#TextView_textAppearance
186 * @attr ref android.R.styleable#TextView_textColorLink
187 * @attr ref android.R.styleable#TextView_textSize
188 * @attr ref android.R.styleable#TextView_textScaleX
189 * @attr ref android.R.styleable#TextView_fontFamily
190 * @attr ref android.R.styleable#TextView_typeface
191 * @attr ref android.R.styleable#TextView_textStyle
192 * @attr ref android.R.styleable#TextView_cursorVisible
193 * @attr ref android.R.styleable#TextView_maxLines
194 * @attr ref android.R.styleable#TextView_maxHeight
195 * @attr ref android.R.styleable#TextView_lines
196 * @attr ref android.R.styleable#TextView_height
197 * @attr ref android.R.styleable#TextView_minLines
198 * @attr ref android.R.styleable#TextView_minHeight
199 * @attr ref android.R.styleable#TextView_maxEms
200 * @attr ref android.R.styleable#TextView_maxWidth
201 * @attr ref android.R.styleable#TextView_ems
202 * @attr ref android.R.styleable#TextView_width
203 * @attr ref android.R.styleable#TextView_minEms
204 * @attr ref android.R.styleable#TextView_minWidth
205 * @attr ref android.R.styleable#TextView_gravity
206 * @attr ref android.R.styleable#TextView_scrollHorizontally
207 * @attr ref android.R.styleable#TextView_password
208 * @attr ref android.R.styleable#TextView_singleLine
209 * @attr ref android.R.styleable#TextView_selectAllOnFocus
210 * @attr ref android.R.styleable#TextView_includeFontPadding
211 * @attr ref android.R.styleable#TextView_maxLength
212 * @attr ref android.R.styleable#TextView_shadowColor
213 * @attr ref android.R.styleable#TextView_shadowDx
214 * @attr ref android.R.styleable#TextView_shadowDy
215 * @attr ref android.R.styleable#TextView_shadowRadius
216 * @attr ref android.R.styleable#TextView_autoLink
217 * @attr ref android.R.styleable#TextView_linksClickable
218 * @attr ref android.R.styleable#TextView_numeric
219 * @attr ref android.R.styleable#TextView_digits
220 * @attr ref android.R.styleable#TextView_phoneNumber
221 * @attr ref android.R.styleable#TextView_inputMethod
222 * @attr ref android.R.styleable#TextView_capitalize
223 * @attr ref android.R.styleable#TextView_autoText
224 * @attr ref android.R.styleable#TextView_editable
225 * @attr ref android.R.styleable#TextView_freezesText
226 * @attr ref android.R.styleable#TextView_ellipsize
227 * @attr ref android.R.styleable#TextView_drawableTop
228 * @attr ref android.R.styleable#TextView_drawableBottom
229 * @attr ref android.R.styleable#TextView_drawableRight
230 * @attr ref android.R.styleable#TextView_drawableLeft
231 * @attr ref android.R.styleable#TextView_drawableStart
232 * @attr ref android.R.styleable#TextView_drawableEnd
233 * @attr ref android.R.styleable#TextView_drawablePadding
234 * @attr ref android.R.styleable#TextView_drawableTint
235 * @attr ref android.R.styleable#TextView_drawableTintMode
236 * @attr ref android.R.styleable#TextView_lineSpacingExtra
237 * @attr ref android.R.styleable#TextView_lineSpacingMultiplier
238 * @attr ref android.R.styleable#TextView_marqueeRepeatLimit
239 * @attr ref android.R.styleable#TextView_inputType
240 * @attr ref android.R.styleable#TextView_imeOptions
241 * @attr ref android.R.styleable#TextView_privateImeOptions
242 * @attr ref android.R.styleable#TextView_imeActionLabel
243 * @attr ref android.R.styleable#TextView_imeActionId
244 * @attr ref android.R.styleable#TextView_editorExtras
245 * @attr ref android.R.styleable#TextView_elegantTextHeight
246 * @attr ref android.R.styleable#TextView_letterSpacing
247 * @attr ref android.R.styleable#TextView_fontFeatureSettings
248 * @attr ref android.R.styleable#TextView_breakStrategy
249 * @attr ref android.R.styleable#TextView_hyphenationFrequency
299 private static final int[] MULTILINE_STATE_SET = { R.attr.state_multiline };
700 this(context, attrs, com.android.internal.R.attr.textViewStyle);
767 int attr = appearance.getIndex(i);
769 switch (attr) {
771 textColorHighlight = appearance.getColor(attr, textColorHighlight);
775 textColor = appearance.getColorStateList(attr);
779 textColorHint = appearance.getColorStateList(attr);
783 textColorLink = appearance.getColorStateList(attr);
787 textSize = appearance.getDimensionPixelSize(attr, textSize);
791 typefaceIndex = appearance.getInt(attr, -1);
795 fontFamily = appearance.getString(attr);
799 styleIndex = appearance.getInt(attr, -1);
803 allCaps = appearance.getBoolean(attr, false);
807 shadowcolor = appearance.getInt(attr, 0);
811 dx = appearance.getFloat(attr, 0);
815 dy = appearance.getFloat(attr, 0);
819 r = appearance.getFloat(attr, 0);
823 elegant = appearance.getBoolean(attr, false);
827 letterSpacing = appearance.getFloat(attr, 0);
831 fontFeatureSettings = appearance.getString(attr);
866 int attr = a.getIndex(i);
868 switch (attr) {
870 editable = a.getBoolean(attr, editable);
874 inputMethod = a.getText(attr);
878 numeric = a.getInt(attr, numeric);
882 digits = a.getText(attr);
886 phone = a.getBoolean(attr, phone);
890 autotext = a.getBoolean(attr, autotext);
894 autocap = a.getInt(attr, autocap);
898 buffertype = a.getInt(attr, buffertype);
902 selectallonfocus = a.getBoolean(attr, selectallonfocus);
906 mAutoLinkMask = a.getInt(attr, 0);
910 mLinksClickable = a.getBoolean(attr, true);
914 drawableLeft = a.getDrawable(attr);
918 drawableTop = a.getDrawable(attr);
922 drawableRight = a.getDrawable(attr);
926 drawableBottom = a.getDrawable(attr);
930 drawableStart = a.getDrawable(attr);
934 drawableEnd = a.getDrawable(attr);
938 drawableTint = a.getColorStateList(attr);
942 drawableTintMode = Drawable.parseTintMode(a.getInt(attr, -1), drawableTintMode);
946 drawablePadding = a.getDimensionPixelSize(attr, drawablePadding);
950 setMaxLines(a.getInt(attr, -1));
954 setMaxHeight(a.getDimensionPixelSize(attr, -1));
958 setLines(a.getInt(attr, -1));
962 setHeight(a.getDimensionPixelSize(attr, -1));
966 setMinLines(a.getInt(attr, -1));
970 setMinHeight(a.getDimensionPixelSize(attr, -1));
974 setMaxEms(a.getInt(attr, -1));
978 setMaxWidth(a.getDimensionPixelSize(attr, -1));
982 setEms(a.getInt(attr, -1));
986 setWidth(a.getDimensionPixelSize(attr, -1));
990 setMinEms(a.getInt(attr, -1));
994 setMinWidth(a.getDimensionPixelSize(attr, -1));
998 setGravity(a.getInt(attr, -1));
1002 hint = a.getText(attr);
1006 text = a.getText(attr);
1010 if (a.getBoolean(attr, false)) {
1016 singleLine = a.getBoolean(attr, singleLine);
1020 ellipsize = a.getInt(attr, ellipsize);
1024 setMarqueeRepeatLimit(a.getInt(attr, mMarqueeRepeatLimit));
1028 if (!a.getBoolean(attr, true)) {
1034 if (!a.getBoolean(attr, true)) {
1040 maxlength = a.getInt(attr, -1);
1044 setTextScaleX(a.getFloat(attr, 1.0f));
1048 mFreezesText = a.getBoolean(attr, false);
1052 shadowcolor = a.getInt(attr, 0);
1056 dx = a.getFloat(attr, 0);
1060 dy = a.getFloat(attr, 0);
1064 r = a.getFloat(attr, 0);
1068 setEnabled(a.getBoolean(attr, isEnabled()));
1072 textColorHighlight = a.getColor(attr, textColorHighlight);
1076 textColor = a.getColorStateList(attr);
1080 textColorHint = a.getColorStateList(attr);
1084 textColorLink = a.getColorStateList(attr);
1088 textSize = a.getDimensionPixelSize(attr, textSize);
1092 typefaceIndex = a.getInt(attr, typefaceIndex);
1096 styleIndex = a.getInt(attr, styleIndex);
1100 fontFamily = a.getString(attr);
1105 password = a.getBoolean(attr, password);
1109 mSpacingAdd = a.getDimensionPixelSize(attr, (int) mSpacingAdd);
1113 mSpacingMult = a.getFloat(attr, mSpacingMult);
1117 inputType = a.getInt(attr, EditorInfo.TYPE_NULL);
1122 mEditor.mAllowUndo = a.getBoolean(attr, true);
1128 mEditor.mInputContentType.imeOptions = a.getInt(attr,
1135 mEditor.mInputContentType.imeActionLabel = a.getText(attr);
1141 mEditor.mInputContentType.imeActionId = a.getInt(attr,
1146 setPrivateImeOptions(a.getString(attr));
1151 setInputExtras(a.getResourceId(attr, 0));
1160 mCursorDrawableRes = a.getResourceId(attr, 0);
1164 mTextSelectHandleLeftRes = a.getResourceId(attr, 0);
1168 mTextSelectHandleRightRes = a.getResourceId(attr, 0);
1172 mTextSelectHandleRes = a.getResourceId(attr, 0);
1176 mTextEditSuggestionItemLayout = a.getResourceId(attr, 0);
1180 mTextEditSuggestionContainerLayout = a.getResourceId(attr, 0);
1184 mTextEditSuggestionHighlightStyle = a.getResourceId(attr, 0);
1188 setTextIsSelectable(a.getBoolean(attr, false));
1192 allCaps = a.getBoolean(attr, false);
1196 elegant = a.getBoolean(attr, false);
1200 letterSpacing = a.getFloat(attr, 0);
1204 fontFeatureSettings = a.getString(attr);
1208 mBreakStrategy = a.getInt(attr, Layout.BREAK_STRATEGY_SIMPLE);
1212 mHyphenationFrequency = a.getInt(attr, Layout.HYPHENATION_FREQUENCY_NONE);
1459 int attr = a.getIndex(i);
1461 switch (attr) {
1463 focusable = a.getBoolean(attr, focusable);
1467 clickable = a.getBoolean(attr, clickable);
1471 longClickable = a.getBoolean(attr, longClickable);
1633 * @attr ref android.R.styleable#TextView_typeface
1634 * @attr ref android.R.styleable#TextView_textStyle
1680 * @attr ref android.R.styleable#TextView_text
1779 * @attr ref android.R.styleable#TextView_numeric
1780 * @attr ref android.R.styleable#TextView_digits
1781 * @attr ref android.R.styleable#TextView_phoneNumber
1782 * @attr ref android.R.styleable#TextView_inputMethod
1783 * @attr ref android.R.styleable#TextView_capitalize
1784 * @attr ref android.R.styleable#TextView_autoText
1805 * @attr ref android.R.styleable#TextView_numeric
1806 * @attr ref android.R.styleable#TextView_digits
1807 * @attr ref android.R.styleable#TextView_phoneNumber
1808 * @attr ref android.R.styleable#TextView_inputMethod
1809 * @attr ref android.R.styleable#TextView_capitalize
1810 * @attr ref android.R.styleable#TextView_autoText
1900 * @attr ref android.R.styleable#TextView_password
1901 * @attr ref android.R.styleable#TextView_singleLine
1911 * @attr ref android.R.styleable#TextView_password
1912 * @attr ref android.R.styleable#TextView_singleLine
2163 * @attr ref android.R.styleable#TextView_drawableLeft
2164 * @attr ref android.R.styleable#TextView_drawableTop
2165 * @attr ref android.R.styleable#TextView_drawableRight
2166 * @attr ref android.R.styleable#TextView_drawableBottom
2302 * @attr ref android.R.styleable#TextView_drawableLeft
2303 * @attr ref android.R.styleable#TextView_drawableTop
2304 * @attr ref android.R.styleable#TextView_drawableRight
2305 * @attr ref android.R.styleable#TextView_drawableBottom
2326 * @attr ref android.R.styleable#TextView_drawableLeft
2327 * @attr ref android.R.styleable#TextView_drawableTop
2328 * @attr ref android.R.styleable#TextView_drawableRight
2329 * @attr ref android.R.styleable#TextView_drawableBottom
2359 * @attr ref android.R.styleable#TextView_drawableStart
2360 * @attr ref android.R.styleable#TextView_drawableTop
2361 * @attr ref android.R.styleable#TextView_drawableEnd
2362 * @attr ref android.R.styleable#TextView_drawableBottom
2506 * @attr ref android.R.styleable#TextView_drawableStart
2507 * @attr ref android.R.styleable#TextView_drawableTop
2508 * @attr ref android.R.styleable#TextView_drawableEnd
2509 * @attr ref android.R.styleable#TextView_drawableBottom
2530 * @attr ref android.R.styleable#TextView_drawableStart
2531 * @attr ref android.R.styleable#TextView_drawableTop
2532 * @attr ref android.R.styleable#TextView_drawableEnd
2533 * @attr ref android.R.styleable#TextView_drawableBottom
2557 * @attr ref android.R.styleable#TextView_drawableLeft
2558 * @attr ref android.R.styleable#TextView_drawableTop
2559 * @attr ref android.R.styleable#TextView_drawableRight
2560 * @attr ref android.R.styleable#TextView_drawableBottom
2575 * @attr ref android.R.styleable#TextView_drawableStart
2576 * @attr ref android.R.styleable#TextView_drawableTop
2577 * @attr ref android.R.styleable#TextView_drawableEnd
2578 * @attr ref android.R.styleable#TextView_drawableBottom
2597 * @attr ref android.R.styleable#TextView_drawablePadding
2620 * @attr ref android.R.styleable#TextView_drawablePadding
2639 * @attr ref android.R.styleable#TextView_drawableTint
2655 * @attr ref android.R.styleable#TextView_drawableTint
2669 * @attr ref android.R.styleable#TextView_drawableTintMode
2689 * @attr ref android.R.styleable#TextView_drawableTintMode
2772 * @attr ref android.R.styleable#TextView_autoLink
2787 * @attr ref android.R.styleable#TextView_textAppearance
2974 * @attr ref android.R.styleable#TextView_textSize
2988 * @attr ref android.R.styleable#TextView_textSize
3026 * @attr ref android.R.styleable#TextView_textScaleX
3051 * @attr ref android.R.styleable#TextView_fontFamily
3052 * @attr ref android.R.styleable#TextView_typeface
3053 * @attr ref android.R.styleable#TextView_textStyle
3073 * @attr ref android.R.styleable#TextView_fontFamily
3074 * @attr ref android.R.styleable#TextView_typeface
3075 * @attr ref android.R.styleable#TextView_textStyle
3088 * @attr ref android.R.styleable#TextView_elegantTextHeight
3119 * @attr ref android.R.styleable#TextView_letterSpacing
3156 * @attr ref android.R.styleable#TextView_breakStrategy
3171 * @attr ref android.R.styleable#TextView_breakStrategy
3183 * @attr ref android.R.styleable#TextView_hyphenationFrequency
3198 * @attr ref android.R.styleable#TextView_hyphenationFrequency
3217 * @attr ref android.R.styleable#TextView_fontFeatureSettings
3244 * @attr ref android.R.styleable#TextView_textColor
3260 * @attr ref android.R.styleable#TextView_textColor
3278 * @attr ref android.R.styleable#TextView_textColor
3297 * @attr ref android.R.styleable#TextView_textColorHighlight
3312 * @attr ref android.R.styleable#TextView_textColorHighlight
3349 * @attr ref android.R.styleable#TextView_shadowColor
3350 * @attr ref android.R.styleable#TextView_shadowDx
3351 * @attr ref android.R.styleable#TextView_shadowDy
3352 * @attr ref android.R.styleable#TextView_shadowRadius
3377 * @attr ref android.R.styleable#TextView_shadowRadius
3388 * @attr ref android.R.styleable#TextView_shadowDx
3399 * @attr ref android.R.styleable#TextView_shadowDy
3410 * @attr ref android.R.styleable#TextView_shadowColor
3430 * @attr ref android.R.styleable#TextView_autoLink
3443 * @attr ref android.R.styleable#TextView_linksClickable
3456 * @attr ref android.R.styleable#TextView_linksClickable
3485 * @attr ref android.R.styleable#TextView_textColorHint
3501 * @attr ref android.R.styleable#TextView_textColorHint
3516 * @attr ref android.R.styleable#TextView_textColorHint
3538 * @attr ref android.R.styleable#TextView_textColorLink
3554 * @attr ref android.R.styleable#TextView_textColorLink
3568 * @attr ref android.R.styleable#TextView_textColorLink
3580 * @attr ref android.R.styleable#TextView_gravity
3618 * @attr ref android.R.styleable#TextView_gravity
3654 * @attr ref android.R.styleable#TextView_scrollHorizontally
3672 * @attr ref android.R.styleable#TextView_scrollHorizontally
3687 * @attr ref android.R.styleable#TextView_minLines
3704 * @attr ref android.R.styleable#TextView_minLines
3715 * @attr ref android.R.styleable#TextView_minHeight
3732 * @attr ref android.R.styleable#TextView_minHeight
3743 * @attr ref android.R.styleable#TextView_maxLines
3760 * @attr ref android.R.styleable#TextView_maxLines
3772 * @attr ref android.R.styleable#TextView_maxHeight
3789 * @attr ref android.R.styleable#TextView_maxHeight
3801 * @attr ref android.R.styleable#TextView_lines
3820 * @attr ref android.R.styleable#TextView_height
3834 * @attr ref android.R.styleable#TextView_minEms
3852 * @attr ref android.R.styleable#TextView_minEms
3861 * @attr ref android.R.styleable#TextView_minWidth
3879 * @attr ref android.R.styleable#TextView_minWidth
3888 * @attr ref android.R.styleable#TextView_maxEms
3906 * @attr ref android.R.styleable#TextView_maxEms
3915 * @attr ref android.R.styleable#TextView_maxWidth
3933 * @attr ref android.R.styleable#TextView_maxWidth
3947 * @attr ref android.R.styleable#TextView_ems
3968 * @attr ref android.R.styleable#TextView_width
3983 * @attr ref android.R.styleable#TextView_lineSpacingExtra
3984 * @attr ref android.R.styleable#TextView_lineSpacingMultiplier
4007 * @attr ref android.R.styleable#TextView_lineSpacingMultiplier
4021 * @attr ref android.R.styleable#TextView_lineSpacingExtra
4262 * @attr ref android.R.styleable#TextView_freezesText
4308 * @attr ref android.R.styleable#TextView_text
4333 * @attr ref android.R.styleable#TextView_text
4334 * @attr ref android.R.styleable#TextView_bufferType
4567 * @attr ref android.R.styleable#TextView_hint
4591 * @attr ref android.R.styleable#TextView_hint
4602 * @attr ref android.R.styleable#TextView_hint
4652 * @attr ref android.R.styleable#TextView_inputType
4737 * @attr ref android.R.styleable#TextView_inputType
4807 * @attr ref android.R.styleable#TextView_imeOptions
4833 * @attr ref android.R.styleable#TextView_imeActionLabel
4834 * @attr ref android.R.styleable#TextView_imeActionId
4968 * @attr ref android.R.styleable#TextView_privateImeOptions
4996 * @attr ref android.R.styleable#TextView_editorExtras
5014 * @attr ref android.R.styleable#TextView_editorExtras
5127 * @attr ref android.R.styleable#TextView_maxLength
5175 * @attr ref android.R.styleable#TextView_maxLength
5577 * @attr ref android.R.styleable#TextView_textIsSelectable
5646 if (drawableState[i] == R.attr.state_pressed) {
7017 * @attr ref android.R.styleable#TextView_includeFontPadding
7037 * @attr ref android.R.styleable#TextView_includeFontPadding
7818 * @attr ref android.R.styleable#TextView_singleLine
7834 * @attr ref android.R.styleable#TextView_textAllCaps
7852 * @attr ref android.R.styleable#TextView_singleLine
7909 * @attr ref android.R.styleable#TextView_ellipsize
7930 * @attr ref android.R.styleable#TextView_marqueeRepeatLimit
7945 * @attr ref android.R.styleable#TextView_marqueeRepeatLimit
7964 * @attr ref android.R.styleable#TextView_selectAllOnFocus
7982 * @attr ref android.R.styleable#TextView_cursorVisible
8004 * @attr ref android.R.styleable#TextView_cursorVisible
9500 * {@link android.R.attr#selectAllOnFocus} flag has been set. The content is highlighted in
9538 * {@link android.R.attr#selectAllOnFocus} flag has been set.</p>