/frameworks/base/core/java/android/widget/ |
RatingBar.java | 84 public RatingBar(Context context, AttributeSet attrs, int defStyleAttr) { 85 this(context, attrs, defStyleAttr, 0); 88 public RatingBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 89 super(context, attrs, defStyleAttr, defStyleRes); 92 attrs, R.styleable.RatingBar, defStyleAttr, defStyleRes); 118 public RatingBar(Context context, AttributeSet attrs) { 119 this(context, attrs, com.android.internal.R.attr.ratingBarStyle);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
PipControlButtonView.java | 67 public PipControlButtonView(Context context, AttributeSet attrs) { 68 this(context, attrs, 0, 0); 71 public PipControlButtonView(Context context, AttributeSet attrs, int defStyleAttr) { 72 this(context, attrs, defStyleAttr, 0); 76 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 77 super(context, attrs, defStyleAttr, defStyleRes); 88 context.obtainStyledAttributes(attrs, values, defStyleAttr, defStyleRes);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
UserDetailItemView.java | 55 public UserDetailItemView(Context context, AttributeSet attrs) { 56 this(context, attrs, 0); 59 public UserDetailItemView(Context context, AttributeSet attrs, int defStyleAttr) { 60 this(context, attrs, defStyleAttr, 0); 63 public UserDetailItemView(Context context, AttributeSet attrs, int defStyleAttr, 65 super(context, attrs, defStyleAttr, defStyleRes); 68 attrs, R.styleable.UserDetailItemView, defStyleAttr, defStyleRes);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
UserAvatarView.java | 38 public UserAvatarView(Context context, AttributeSet attrs, 41 super(context, attrs, defStyleAttr, defStyleRes); 44 attrs, R.styleable.UserAvatarView, defStyleAttr, defStyleRes); 73 public UserAvatarView(Context context, AttributeSet attrs, int defStyleAttr) { 74 this(context, attrs, defStyleAttr, 0); 77 public UserAvatarView(Context context, AttributeSet attrs) { 78 this(context, attrs, 0);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
SimpleInflater.java | 51 AttributeSet attrs = Xml.asAttributeSet(parser); local 53 parseMenu(parser, attrs); 63 private void parseMenu(XmlPullParser parser, AttributeSet attrs) 95 readItem(attrs); 97 parseMenu(parser, attrs); 123 public void readItem(AttributeSet attrs) { 124 TypedArray a = mContext.obtainStyledAttributes(attrs,
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
Resources_Theme_Delegate.java | 57 int[] attrs) { 59 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(attrs); 68 int resid, int[] attrs) 72 attrs); 81 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) { 84 attrs, defStyleAttr, defStyleRes); 104 int[] values, int[] attrs) {
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
SwitchPreference.java | 71 * @param attrs Style attributes that differ from the default 80 public SwitchPreference(Context context, AttributeSet attrs, int defStyleAttr, 82 super(context, attrs, defStyleAttr, defStyleRes); 84 TypedArray a = context.obtainStyledAttributes(attrs, 112 * @param attrs Style attributes that differ from the default 117 public SwitchPreference(Context context, AttributeSet attrs, int defStyleAttr) { 118 this(context, attrs, defStyleAttr, 0); 125 * @param attrs Style attributes that differ from the default 127 public SwitchPreference(Context context, AttributeSet attrs) { 128 this(context, attrs, TypedArrayUtils.getAttr(context [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ResizingTextView.java | 51 public ResizingTextView(Context ctx, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 52 super(ctx, attrs, defStyleAttr); 53 TypedArray a = ctx.obtainStyledAttributes(attrs, R.styleable.lbResizingTextView, 72 public ResizingTextView(Context ctx, AttributeSet attrs, int defStyleAttr) { 73 this(ctx, attrs, defStyleAttr, 0); 76 public ResizingTextView(Context ctx, AttributeSet attrs) { 79 this(ctx, attrs, android.R.attr.textViewStyle);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatAutoCompleteTextView.java | 63 public AppCompatAutoCompleteTextView(Context context, AttributeSet attrs) { 64 this(context, attrs, R.attr.autoCompleteTextViewStyle); 67 public AppCompatAutoCompleteTextView(Context context, AttributeSet attrs, int defStyleAttr) { 68 super(TintContextWrapper.wrap(context), attrs, defStyleAttr); local 70 TintTypedArray a = TintTypedArray.obtainStyledAttributes(getContext(), attrs, 78 mBackgroundTintHelper.loadFromAttributes(attrs, defStyleAttr); 81 mTextHelper.loadFromAttributes(attrs, defStyleAttr);
|
AppCompatMultiAutoCompleteTextView.java | 63 public AppCompatMultiAutoCompleteTextView(Context context, AttributeSet attrs) { 64 this(context, attrs, R.attr.autoCompleteTextViewStyle); 67 public AppCompatMultiAutoCompleteTextView(Context context, AttributeSet attrs, int defStyleAttr) { 68 super(TintContextWrapper.wrap(context), attrs, defStyleAttr); local 70 TintTypedArray a = TintTypedArray.obtainStyledAttributes(getContext(), attrs, 78 mBackgroundTintHelper.loadFromAttributes(attrs, defStyleAttr); 81 mTextHelper.loadFromAttributes(attrs, defStyleAttr);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
DialogPreference.java | 53 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 54 super(context, attrs, defStyleAttr, defStyleRes); 56 final TypedArray a = context.obtainStyledAttributes(attrs, 88 public DialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { 89 this(context, attrs, defStyleAttr, 0); 92 public DialogPreference(Context context, AttributeSet attrs) { 93 this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.dialogPreferenceStyle,
|
SwitchPreferenceCompat.java | 68 * @param attrs Style attributes that differ from the default 77 public SwitchPreferenceCompat(Context context, AttributeSet attrs, int defStyleAttr, 79 super(context, attrs, defStyleAttr, defStyleRes); 81 TypedArray a = context.obtainStyledAttributes(attrs, 109 * @param attrs Style attributes that differ from the default 114 public SwitchPreferenceCompat(Context context, AttributeSet attrs, int defStyleAttr) { 115 this(context, attrs, defStyleAttr, 0); 122 * @param attrs Style attributes that differ from the default 124 public SwitchPreferenceCompat(Context context, AttributeSet attrs) { 125 this(context, attrs, R.attr.switchPreferenceCompatStyle) [all...] |
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
CheckableImageButton.java | 49 public CheckableImageButton(Context context, AttributeSet attrs) { 50 this(context, attrs, 0); 53 public CheckableImageButton(Context context, AttributeSet attrs, int defStyleAttr) { 54 super(context, attrs, defStyleAttr); 55 init(context, attrs); 58 private void init(Context context, AttributeSet attrs) { 59 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CheckableImageButton);
|
/frameworks/base/core/java/android/view/ |
Window.java | 461 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); 975 final WindowManager.LayoutParams attrs = getAttributes(); local 993 final WindowManager.LayoutParams attrs = getAttributes(); local 1005 final WindowManager.LayoutParams attrs = getAttributes(); local 1022 final WindowManager.LayoutParams attrs = getAttributes(); local 1041 final WindowManager.LayoutParams attrs = getAttributes(); local 1054 final WindowManager.LayoutParams attrs = getAttributes(); local 1111 final WindowManager.LayoutParams attrs = getAttributes(); local 1118 final WindowManager.LayoutParams attrs = getAttributes(); local 1127 final WindowManager.LayoutParams attrs = getAttributes(); local 1149 final WindowManager.LayoutParams attrs = getAttributes(); local 1172 final WindowManager.LayoutParams attrs = getAttributes(); local 1709 final WindowManager.LayoutParams attrs = getAttributes(); local [all...] |
/external/libnl/lib/genl/ |
ctrl.c | 118 if (info->attrs[CTRL_ATTR_FAMILY_NAME] == NULL) { 123 if (info->attrs[CTRL_ATTR_FAMILY_ID] == NULL) { 130 nla_get_u16(info->attrs[CTRL_ATTR_FAMILY_ID])); 132 nla_get_string(info->attrs[CTRL_ATTR_FAMILY_NAME])); 134 if (info->attrs[CTRL_ATTR_VERSION]) { 135 uint32_t version = nla_get_u32(info->attrs[CTRL_ATTR_VERSION]); 139 if (info->attrs[CTRL_ATTR_HDRSIZE]) { 140 uint32_t hdrsize = nla_get_u32(info->attrs[CTRL_ATTR_HDRSIZE]); 144 if (info->attrs[CTRL_ATTR_MAXATTR]) { 145 uint32_t maxattr = nla_get_u32(info->attrs[CTRL_ATTR_MAXATTR]) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_dist.py | 135 dist = klass(attrs={'author': u'Mister Café',
148 dist = klass(attrs={'author': 'Mister Cafe',
170 dist = klass(attrs={'author': 'xxx',
182 attrs = {'keywords': 'one,two',
185 dist = Distribution(attrs=attrs)
232 d = distutils.dist.Distribution(attrs={'script_args':
255 attrs = {"name": "package",
257 dist = Distribution(attrs)
265 attrs = {"name": "package", [all...] |
/external/skia/experimental/svg/model/ |
SkSVGRenderContext.cpp | 136 void commitToPaint<SkSVGAttribute::kFill>(const SkSVGPresentationAttributes& attrs, 139 applySvgPaint(ctx, *attrs.fFill.get(), &pctx->fFillPaint); 143 void commitToPaint<SkSVGAttribute::kStroke>(const SkSVGPresentationAttributes& attrs, 146 applySvgPaint(ctx, *attrs.fStroke.get(), &pctx->fStrokePaint); 150 void commitToPaint<SkSVGAttribute::kFillOpacity>(const SkSVGPresentationAttributes& attrs, 153 pctx->fFillPaint.setAlpha(opacity_to_alpha(*attrs.fFillOpacity.get())); 157 void commitToPaint<SkSVGAttribute::kStrokeLineCap>(const SkSVGPresentationAttributes& attrs, 160 const auto& cap = *attrs.fStrokeLineCap.get(); 167 void commitToPaint<SkSVGAttribute::kStrokeLineJoin>(const SkSVGPresentationAttributes& attrs, 170 const auto& join = *attrs.fStrokeLineJoin.get() [all...] |
/external/syslinux/gpxe/src/include/ |
curses.h | 36 attr_t attrs; member in struct:_curses_screen 78 attr_t attrs; member in struct:_curses_window 140 #define PAIR_NUMBER(attrs) ( ( (attrs) & A_COLOUR ) >> CPAIR_SHIFT ) 494 static inline int attroff ( int attrs ) { 495 return wattroff ( stdscr, attrs ); 498 static inline int attron ( int attrs ) { 499 return wattron ( stdscr, attrs ); 502 static inline int attrset ( int attrs ) { 503 return wattrset ( stdscr, attrs ); [all...] |
/external/fonttools/Lib/fontTools/misc/ |
xmlReader.py | 51 def _startElementHandler(self, name, attrs): 57 sfntVersion = attrs.get("sfntVersion") 64 subFile = attrs.get("src") 82 elif "ERROR" in attrs or ('raw' in attrs and safeEval(attrs['raw'])): 98 self.root = (name, attrs, self.contentStack[-1]) 101 self.contentStack[-1].append((name, attrs, l)) 114 name, attrs, content = self.root 115 self.currentTable.fromXML(name, attrs, content, self.ttFont [all...] |
/external/libnl/python/netlink/genl/ |
capi.i | 66 PyObject *attrs = Py_None; 91 attrs = PyDict_New(); 96 PyDict_SetItem(attrs, k, v); 100 if (attrs == Py_None) 102 resobj = Py_BuildValue("(iO)", err, attrs);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
AppWindowTokenTests.java | 111 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams( local 113 attrs.setTitle("AppWindow"); 114 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); 147 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams( local 149 attrs.setTitle("AppWindow"); 150 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); 194 final WindowManager.LayoutParams attrs = new WindowManager.LayoutParams( local 196 attrs.flags |= FLAG_SHOW_WHEN_LOCKED | FLAG_DISMISS_KEYGUARD; 197 attrs.setTitle("AppWindow"); 198 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, token) [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
GlifLayout.java | 93 public GlifLayout(Context context, AttributeSet attrs) { 94 super(context, attrs); 95 init(attrs, R.attr.suwLayoutTheme); 99 public GlifLayout(Context context, AttributeSet attrs, int defStyleAttr) { 100 super(context, attrs, defStyleAttr); 101 init(attrs, defStyleAttr); 106 private void init(AttributeSet attrs, int defStyleAttr) { 107 registerMixin(HeaderMixin.class, new ColoredHeaderMixin(this, attrs, defStyleAttr)); 108 registerMixin(IconMixin.class, new IconMixin(this, attrs, defStyleAttr)); 120 TypedArray a = getContext().obtainStyledAttributes(attrs, [all...] |
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
WearableDrawerView.java | 141 public WearableDrawerView(Context context, AttributeSet attrs) { 142 this(context, attrs, 0); 145 public WearableDrawerView(Context context, AttributeSet attrs, int defStyleAttr) { 146 this(context, attrs, defStyleAttr, 0); 150 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 151 super(context, attrs, defStyleAttr, defStyleRes); 168 parseAttributes(context, attrs, defStyleAttr, defStyleRes); 461 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 462 if (attrs == null) { 468 attrs, R.styleable.WearableDrawerView, defStyleAttr [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
HtmlSanitizer.java | 73 public String apply(String elementName, List<String> attrs) { 83 public String apply(String elementName, List<String> attrs) { 87 final int classIndex = attrs.indexOf("class"); 90 final String value = attrs.remove(classIndex + 1); 91 attrs.remove(classIndex); 98 final int idIndex = attrs.indexOf("id"); 101 final String value = attrs.remove(idIndex + 1); 102 attrs.remove(idIndex); 110 attrs.add("class"); 111 attrs.add("elided-text") [all...] |
/system/update_engine/ |
omaha_request_action.cc | 379 map<string, string> attrs; local 384 attrs[key] = value; 389 if (attrs.find("cohort") != attrs.end()) { 391 data->app_cohort = attrs["cohort"]; 393 if (attrs.find("cohorthint") != attrs.end()) { 395 data->app_cohorthint = attrs["cohorthint"]; 397 if (attrs.find("cohortname") != attrs.end()) 889 map<string, string> attrs = parser_data->action_postinstall_attrs; local [all...] |