Home
last modified time | relevance | path

Searched refs:styleIndex (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/res/
DStringBlock.java94 for (int styleIndex = 0; styleIndex < style.length; styleIndex += 3) { in get()
95 int styleId = style[styleIndex]; in get()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java320 int typefaceIndex, styleIndex; in setSwitchTextAppearance() local
322 styleIndex = appearance.getInt(R.styleable.TextAppearance_android_textStyle, -1); in setSwitchTextAppearance()
324 setSwitchTypefaceByIndex(typefaceIndex, styleIndex); in setSwitchTextAppearance()
336 private void setSwitchTypefaceByIndex(int typefaceIndex, int styleIndex) { in setSwitchTypefaceByIndex() argument
352 setSwitchTypeface(tf, styleIndex); in setSwitchTypefaceByIndex()
/frameworks/base/core/java/android/widget/
DSwitch.java329 int typefaceIndex, styleIndex; in setSwitchTextAppearance() local
333 styleIndex = appearance.getInt(com.android.internal.R.styleable. in setSwitchTextAppearance()
336 setSwitchTypefaceByIndex(typefaceIndex, styleIndex); in setSwitchTextAppearance()
350 private void setSwitchTypefaceByIndex(int typefaceIndex, int styleIndex) { in setSwitchTypefaceByIndex() argument
366 setSwitchTypeface(tf, styleIndex); in setSwitchTypefaceByIndex()
DTextView.java856 int styleIndex = -1;
930 styleIndex = appearance.getInt(attr, -1);
1232 styleIndex = a.getInt(attr, styleIndex);
1612 setTypefaceFromAttrs(fontTypeface, fontFamily, typefaceIndex, styleIndex);
2098 int styleIndex) {
2101 tf = Typeface.create(familyName, styleIndex);
2102 } else if (tf != null && tf.getStyle() != styleIndex) {
2103 tf = Typeface.create(tf, styleIndex);
2123 setTypeface(tf, styleIndex);
3431 final int styleIndex = ta.getInt(R.styleable.TextAppearance_textStyle, -1);
[all …]
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener.cpp225 flat_elem->styleIndex = util::HostToDevice16(attribute_index); in WriteAttributes()
/frameworks/base/tools/aapt/
DXMLNode.cpp1515 attrExt.styleIndex = htods(0); in flatten_node()
1525 attrExt.styleIndex = htods(i+1); in flatten_node()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h665 uint16_t styleIndex; member
/frameworks/base/core/java/android/app/
DFragmentManager.java1097 int styleIndex = transitToStyleIndex(transit, enter); in loadAnimator() local
1098 if (styleIndex < 0) { in loadAnimator()
1111 int anim = attrs.getResourceId(styleIndex, 0); in loadAnimator()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentManager.java1178 int styleIndex = transitToStyleIndex(transit, enter); in loadAnimation() local
1179 if (styleIndex < 0) { in loadAnimation()
1183 switch (styleIndex) { in loadAnimation()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1454 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->styleIndex); in indexOfStyle()