Searched defs:style (Results 101 - 125 of 133) sorted by relevance

123456

/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java190 public void setTextStyle(float size, int fgColor, int bgColor, int style) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbarWidgetWrapper.java94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { argument
95 this(toolbar, style, R.string.abc_action_bar_up_description,
99 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, argument
109 if (style) {
H A DSwitchCompat.java66 * setTypeface() methods control the typeface and style of label text, whereas the
195 * Construct a new Switch with default styling, overriding specific style
206 * Construct a new Switch with a default style determined by the given theme attribute,
207 * overriding specific style attributes as requested.
212 * reference to a style resource that supplies default values for
292 * Sets the switch text color, size, style, hint color, and highlight color
356 * Sets the typeface and style in which the text should be displayed on the
359 * style that you specified.
361 public void setSwitchTypeface(Typeface tf, int style) { argument
362 if (style >
[all...]
/frameworks/base/core/java/android/widget/
H A DSwitch.java64 * setTypeface() methods control the typeface and style of label text, whereas the
178 * Construct a new Switch with default styling, overriding specific style
189 * Construct a new Switch with a default style determined by the given theme attribute,
190 * overriding specific style attributes as requested.
195 * reference to a style resource that supplies default values for
204 * Construct a new Switch with a default style determined by the given theme
205 * attribute or style resource, overriding specific style attributes as
212 * reference to a style resource that supplies default values for
214 * @param defStyleRes A resource identifier of a style resourc
375 setSwitchTypeface(Typeface tf, int style) argument
[all...]
H A DFastScroller.java215 /** Current scrollbar style, including inset and overlay properties. */
462 public void setScrollBarStyle(int style) { argument
463 if (mScrollBarStyle != style) {
464 mScrollBarStyle = style;
/frameworks/base/core/java/com/android/internal/widget/
H A DToolbarWidgetWrapper.java90 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style) { argument
91 this(toolbar, style, R.string.action_bar_up_description);
94 public ToolbarWidgetWrapper(Toolbar toolbar, boolean style, argument
105 if (style) {
/frameworks/base/tools/aapt/
H A DResourceTable.h146 const Vector<StringPool::entry_style_span>* style = NULL,
169 const Vector<StringPool::entry_style_span>* style = NULL,
252 const Vector<StringPool::entry_style_span>* style = NULL,
306 isId(o.isId), value(o.value), style(o.style),
316 style = o.style;
326 Vector<StringPool::entry_style_span> style; member in class:ResourceTable::Item
363 const Vector<StringPool::entry_style_span>* style = NULL,
369 const Vector<StringPool::entry_style_span>* style
[all...]
H A DResourceTable.cpp808 const String16 style16("style");
1863 const Vector<StringPool::entry_style_span>* style,
1884 status_t err = e->setItem(sourcePos, value, style, format, overwrite);
1958 const Vector<StringPool::entry_style_span>* style,
1989 status_t err = e->addToBag(sourcePos, bagKey, value, style, replace, isId, format);
2310 const Vector<StringPool::entry_style_span>* style,
2318 if (style == NULL || style->size() == 0) {
2325 // Styled text can only be a string, and while collecting the style
2348 printf("Adding to pool string style #
1858 addEntry(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, const bool doSetIndex, const int32_t format, const bool overwrite) argument
1951 addBag(const SourcePos& sourcePos, const String16& package, const String16& type, const String16& name, const String16& bagParent, const String16& bagKey, const String16& value, const Vector<StringPool::entry_style_span>* style, const ResTable_config* params, bool replace, bool isId, const int32_t format) argument
2306 stringToValue(Res_value* outValue, StringPool* pool, const String16& str, bool preserveSpaces, bool coerceType, uint32_t attrID, const Vector<StringPool::entry_style_span>* style, String16* outStr, void* accessorCookie, uint32_t attrType, const String8* configTypeName, const ConfigDescription* config) argument
3521 setItem(const SourcePos& sourcePos, const String16& value, const Vector<StringPool::entry_style_span>* style, int32_t format, const bool overwrite) argument
3556 addToBag(const SourcePos& sourcePos, const String16& key, const String16& value, const Vector<StringPool::entry_style_span>* style, bool replace, bool isId, int32_t format) argument
[all...]
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp194 << "style string '" << builder.ToString() << "' is too long");
403 {"style", std::bind(&ResourceParser::ParseStyle, std::placeholders::_1, ResourceType::kStyle,
1072 bool ResourceParser::ParseStyleItem(xml::XmlPullParser* parser, Style* style) { argument
1094 diag_->Error(DiagMessage(source) << "could not parse style item");
1098 style->entries.push_back(
1107 std::unique_ptr<Style> style = util::make_unique<Style>(); local
1115 style->parent = ResourceUtils::ParseStyleParentReference(
1117 if (!style->parent) {
1125 TransformReferenceFromNamespace(parser, "", &style->parent.value());
1129 // No parent was specified, so try inferring it from the style nam
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java93 * android.support.v17.leanback.R.style#Theme_Leanback_GuidedStep}, or a theme whose parent is
153 * Fragment argument name for UI style. The argument value is persisted in fragment state and
179 * GuidedStepFragment when moving forward to next step. Default behavior of this style is:
197 * other content. The default behavior of this style:
200 * Background will be faded in. Note: Changing exit transition by UI style is not working
201 * because fragment transition asks for exit transition before UI style is restored in Fragment
212 * GuidedStepFragment in a separate activity. The default behavior of this style:
215 * same as {@link #UI_STYLE_ENTRANCE}. Note: Changing exit transition by UI style is not working
216 * because fragment transition asks for exit transition before UI style is restored in
273 * Creates the presenter used to style th
957 setUiStyle(int style) argument
[all...]
H A DGuidedStepSupportFragment.java96 * android.support.v17.leanback.R.style#Theme_Leanback_GuidedStep}, or a theme whose parent is
156 * Fragment argument name for UI style. The argument value is persisted in fragment state and
182 * GuidedStepSupportFragment when moving forward to next step. Default behavior of this style is:
200 * other content. The default behavior of this style:
203 * Background will be faded in. Note: Changing exit transition by UI style is not working
204 * because fragment transition asks for exit transition before UI style is restored in Fragment
215 * GuidedStepSupportFragment in a separate activity. The default behavior of this style:
218 * same as {@link #UI_STYLE_ENTRANCE}. Note: Changing exit transition by UI style is not working
219 * because fragment transition asks for exit transition before UI style is restored in
276 * Creates the presenter used to style th
960 setUiStyle(int style) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java17 package android.text.style;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp743 Paint::Style style = static_cast<Paint::Style>(styleHandle); local
744 obj->setStyle(style);
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp102 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
123 SkPaint::Style style; member in struct:android::uirenderer::PaintInfo
732 if (paintInfo.style == SkPaint::kStroke_Style) {
743 bool forceClose = paintInfo.style != SkPaint::kStroke_Style;
761 if (paintInfo.style == SkPaint::kStroke_Style) {
777 // For kStrokeAndFill style, the path should be adjusted externally.
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java29 import android.text.style.CharacterStyle;
30 import android.text.style.StyleSpan;
31 import android.text.style.UnderlineSpan;
32 import android.text.style.UpdateAppearance;
126 /** Current caption style. */
135 /** Whether a caption style change listener is registered. */
222 * Manages whether this renderer is listening for caption style changes.
417 // select pop-on style
430 // erase memory if currently in other style
435 // select roll-up style
540 StyleCode(int style, int color) argument
602 PAC(int row, int col, int style, int color) argument
[all...]
H A DWebVttRenderer.java95 * Extract all text without style, but with timestamp spans.
1139 /** Current caption style. */
1145 /** Whether a caption style change listener is registered. */
1212 * Manages whether this renderer is listening for caption style changes.
1703 public void setCaptionStyle(CaptionStyle style, float fontSize) { argument
1704 mCaptionStyle = style;
1711 ((SpanLayout) child).setCaptionStyle(style, fontSize);
H A DCea708CaptionRenderer.java29 import android.text.style.CharacterStyle;
30 import android.text.style.RelativeSizeSpan;
31 import android.text.style.StyleSpan;
32 import android.text.style.SubscriptSpan;
33 import android.text.style.SuperscriptSpan;
34 import android.text.style.UnderlineSpan;
178 * <li>Pen commands: Th pen commands control text style and location. (SPA, SPC, SPL)</li>
877 * Pen style information.
1342 public void setCaptionStyle(CaptionStyle style) { argument
1347 windowLayout.setCaptionStyle(style);
1724 setCaptionStyle(CaptionStyle style) argument
2139 setCaptionStyle(CaptionStyle style) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java720 /*package*/ static void nSetStyle(long native_object, int style) { argument
727 delegate.mStyle = style;
/frameworks/minikin/libs/minikin/
H A DLayout.cpp54 FontStyle style; member in struct:minikin::LayoutContext
71 FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars,
74 mStart(start), mCount(count), mId(collection->getId()), mStyle(style),
118 // TODO: language matching (possibly integrate into style)
557 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
562 ctx.style = style;
576 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
581 ctx.style = style;
70 LayoutCacheKey(const std::shared_ptr<FontCollection>& collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
556 doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection) argument
575 measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection, float* advances) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java350 public void setScrollBarStyle(int style); argument
H A DWebView.java240 * densities for which this style sheet is to be used. The corresponding value should be either
555 * Constructs a new WebView with layout parameters and a default style.
560 * reference to a style resource that supplies default values for
568 * Constructs a new WebView with layout parameters and a default style.
573 * reference to a style resource that supplies default values for
575 * @param defStyleRes a resource identifier of a style resource that
585 * Constructs a new WebView with layout parameters and a default style.
590 * reference to a style resource that supplies default values for
607 * Constructs a new WebView with layout parameters, a default style and a set
615 * reference to a style resourc
2532 setScrollBarStyle(int style) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp156 static void loadSystemIconAsSpriteWithPointerIcon(JNIEnv* env, jobject contextObj, int32_t style, argument
159 contextObj, style, outPointerIcon);
167 static void loadSystemIconAsSprite(JNIEnv* env, jobject contextObj, int32_t style, argument
170 loadSystemIconAsSpriteWithPointerIcon(env, contextObj, style, &pointerIcon, outSpriteIcon);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java166 // maps for dynamically generated id representing style objects (StyleResourceValue)
170 private int mDynamicIdGenerator = 0x02030000; // Base id for R.style in custom namespace
378 // check if this is a style resource
380 // get the id that will represent this style.
437 // The base value for R.style is 0x01030000 and the custom style is 0x02030000.
438 // So, if the second byte is 03, it's probably a style.
668 StyleResourceValue style = null;
671 style = getStyleByDynamicId(resId);
673 if (style
1014 createStyleBasedTypedArray( @ullable StyleResourceValue style, int[] attrs) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1327 * Note that the text may also contain style spans that modify the color of specific
1338 * Note that the text may also contain style spans that modify the color of specific
1351 * Note that the text may also contain style spans that modify the size of specific
1362 * If {@link #getText()} is non-null, this is the main text style associated
1366 * Note that the text may also contain style spans that modify the style of specific
1608 public void setTextStyle(float size, int fgColor, int bgColor, int style) { argument
1613 t.mTextStyle = style;
1995 Log.i(TAG, prefix + " Text size: " + node.getTextSize() + " , style: #"
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java45 * The Paint class holds the style and color information about how to draw
369 * Geometry and text drawn with this style will be filled, ignoring all
374 * Geometry and text drawn with this style will be stroked, respecting
379 * Geometry and text drawn with this style will be both filled and
834 * Return the paint's style, used for controlling how primitives'
838 * @return the paint's style setting (Fill, Stroke, StrokeAndFill)
845 * Set the paint's style, used for controlling how primitives'
849 * @param style The new style to set in the paint
851 public void setStyle(Style style) { argument
2811 nSetStyle(long paintPtr, int style) argument
[all...]

Completed in 8847 milliseconds

123456