/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 219 void *me, const char *name, const char **attrs) { in StartElementHandlerWrapper() argument 220 static_cast<MediaCodecsXmlParser*>(me)->startElementHandler(name, attrs); in StartElementHandlerWrapper() 228 status_t MediaCodecsXmlParser::includeXMLFile(const char **attrs) { in includeXMLFile() argument 231 while (attrs[i] != nullptr) { in includeXMLFile() 232 if (strEq(attrs[i], "href")) { in includeXMLFile() 233 if (attrs[++i] == nullptr) { in includeXMLFile() 236 href = attrs[i]; in includeXMLFile() 238 ALOGE("includeXMLFile: unrecognized attribute: %s", attrs[i]); in includeXMLFile() 270 const char *name, const char **attrs) { in startElementHandler() argument 278 mParsingStatus = includeXMLFile(attrs); in startElementHandler() [all …]
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 147 public View onCreateView(String name, Context context, AttributeSet attrs); in onCreateView() argument 165 public View onCreateView(View parent, String name, Context context, AttributeSet attrs); in onCreateView() argument 179 public View onCreateView(String name, Context context, AttributeSet attrs) { in onCreateView() argument 180 View v = mF1.onCreateView(name, context, attrs); in onCreateView() 182 return mF2.onCreateView(name, context, attrs); in onCreateView() 185 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { in onCreateView() argument 186 View v = mF12 != null ? mF12.onCreateView(parent, name, context, attrs) in onCreateView() 187 : mF1.onCreateView(name, context, attrs); in onCreateView() 189 return mF22 != null ? mF22.onCreateView(parent, name, context, attrs) in onCreateView() 190 : mF2.onCreateView(name, context, attrs); in onCreateView() [all …]
|
D | Window.java | 461 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged() argument 975 final WindowManager.LayoutParams attrs = getAttributes(); in setLayout() local 976 attrs.width = width; in setLayout() 977 attrs.height = height; in setLayout() 978 dispatchWindowAttributesChanged(attrs); in setLayout() 993 final WindowManager.LayoutParams attrs = getAttributes(); in setGravity() local 994 attrs.gravity = gravity; in setGravity() 995 dispatchWindowAttributesChanged(attrs); in setGravity() 1005 final WindowManager.LayoutParams attrs = getAttributes(); in setType() local 1006 attrs.type = type; in setType() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapMessage.java | 77 BluetoothMapMessage(HashMap<String, String> attrs) throws IllegalArgumentException { in BluetoothMapMessage() argument 82 new BigInteger(attrs.get("handle"), 16); in BluetoothMapMessage() 84 mHandle = attrs.get("handle"); in BluetoothMapMessage() 93 mSubject = attrs.get("subject"); in BluetoothMapMessage() 94 String dateTime = attrs.get("datetime"); in BluetoothMapMessage() 103 mSenderName = attrs.get("sender_name"); in BluetoothMapMessage() 105 mSenderAddressing = attrs.get("sender_addressing"); in BluetoothMapMessage() 107 mReplytoAddressing = attrs.get("replyto_addressing"); in BluetoothMapMessage() 109 mRecipientName = attrs.get("recipient_name"); in BluetoothMapMessage() 111 mRecipientAddressing = attrs.get("recipient_addressing"); in BluetoothMapMessage() [all …]
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | TransitionInflaterTest.java | 199 public CustomTransition(Context context, AttributeSet attrs) { in CustomTransition() argument 200 super(context, attrs); in CustomTransition() 217 public CustomPathMotion(Context context, AttributeSet attrs) { in CustomPathMotion() argument 218 super(context, attrs); in CustomPathMotion() 228 public InflationFade(Context context, AttributeSet attrs) { in InflationFade() argument 229 super(context, attrs); in InflationFade() 234 public InflationChangeBounds(Context context, AttributeSet attrs) { in InflationChangeBounds() argument 235 super(context, attrs); in InflationChangeBounds() 240 public InflationSlide(Context context, AttributeSet attrs) { in InflationSlide() argument 241 super(context, attrs); in InflationSlide() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 82 public T onCreateItem(String name, Context context, AttributeSet attrs); in onCreateItem() argument 93 public T onCreateItem(String name, Context context, AttributeSet attrs) { in onCreateItem() argument 94 T v = mF1.onCreateItem(name, context, attrs); in onCreateItem() 96 return mF2.onCreateItem(name, context, attrs); in onCreateItem() 294 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 319 attrs); in inflate() 327 rInflate(parser, result, attrs); in inflate() 368 public final T createItem(String name, String prefix, AttributeSet attrs) in createItem() argument 384 args[1] = attrs; in createItem() 388 InflateException ie = new InflateException(attrs in createItem() [all …]
|
D | PreferenceFrameLayout.java | 43 public PreferenceFrameLayout(Context context, AttributeSet attrs) { in PreferenceFrameLayout() argument 44 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle); in PreferenceFrameLayout() 47 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in PreferenceFrameLayout() argument 48 this(context, attrs, defStyleAttr, 0); in PreferenceFrameLayout() 52 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in PreferenceFrameLayout() argument 53 super(context, attrs, defStyleAttr, defStyleRes); in PreferenceFrameLayout() 54 final TypedArray a = context.obtainStyledAttributes(attrs, in PreferenceFrameLayout() 83 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 84 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 135 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatViewInflater.java | 81 @NonNull AttributeSet attrs, boolean inheritContext, in createView() argument 92 context = themifyContext(context, attrs, readAndroidTheme, readAppTheme); in createView() 103 view = new AppCompatTextView(context, attrs); in createView() 106 view = new AppCompatImageView(context, attrs); in createView() 109 view = new AppCompatButton(context, attrs); in createView() 112 view = new AppCompatEditText(context, attrs); in createView() 115 view = new AppCompatSpinner(context, attrs); in createView() 118 view = new AppCompatImageButton(context, attrs); in createView() 121 view = new AppCompatCheckBox(context, attrs); in createView() 124 view = new AppCompatRadioButton(context, attrs); in createView() [all …]
|
/frameworks/support/transition/src/android/support/transition/ |
D | TransitionInflater.java | 112 AttributeSet attrs, Transition parent) in createTransitionFromXml() argument 133 transition = new Fade(mContext, attrs); in createTransitionFromXml() 135 transition = new ChangeBounds(mContext, attrs); in createTransitionFromXml() 137 transition = new Slide(mContext, attrs); in createTransitionFromXml() 139 transition = new Explode(mContext, attrs); in createTransitionFromXml() 141 transition = new ChangeImageTransform(mContext, attrs); in createTransitionFromXml() 143 transition = new ChangeTransform(mContext, attrs); in createTransitionFromXml() 145 transition = new ChangeClipBounds(mContext, attrs); in createTransitionFromXml() 147 transition = new AutoTransition(mContext, attrs); in createTransitionFromXml() 149 transition = new ChangeScroll(mContext, attrs); in createTransitionFromXml() [all …]
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
D | EmojiEditText.java | 49 public EmojiEditText(Context context, AttributeSet attrs) { in EmojiEditText() argument 50 super(context, attrs); in EmojiEditText() 51 init(attrs, android.R.attr.editTextStyle, 0 /*defStyleRes*/); in EmojiEditText() 54 public EmojiEditText(Context context, AttributeSet attrs, int defStyleAttr) { in EmojiEditText() argument 55 super(context, attrs, defStyleAttr); in EmojiEditText() 56 init(attrs, defStyleAttr, 0 /*defStyleRes*/); in EmojiEditText() 60 public EmojiEditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in EmojiEditText() argument 61 super(context, attrs, defStyleAttr, defStyleRes); in EmojiEditText() 62 init(attrs, defStyleAttr, defStyleRes); in EmojiEditText() 65 private void init(@Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) { in init() argument [all …]
|
D | EmojiExtractEditText.java | 56 public EmojiExtractEditText(Context context, AttributeSet attrs) { in EmojiExtractEditText() argument 57 super(context, attrs); in EmojiExtractEditText() 58 init(attrs, android.R.attr.editTextStyle, 0 /*defStyleRes*/); in EmojiExtractEditText() 61 public EmojiExtractEditText(Context context, AttributeSet attrs, int defStyleAttr) { in EmojiExtractEditText() argument 62 super(context, attrs, defStyleAttr); in EmojiExtractEditText() 63 init(attrs, defStyleAttr, 0 /*defStyleRes*/); in EmojiExtractEditText() 67 public EmojiExtractEditText(Context context, AttributeSet attrs, int defStyleAttr, in EmojiExtractEditText() argument 69 super(context, attrs, defStyleAttr, defStyleRes); in EmojiExtractEditText() 70 init(attrs, defStyleAttr, defStyleRes); in EmojiExtractEditText() 73 private void init(@Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) { in init() argument [all …]
|
/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 128 AttributeSet attrs, Transition parent) in createTransitionFromXml() argument 149 transition = new Fade(mContext, attrs); in createTransitionFromXml() 151 transition = new ChangeBounds(mContext, attrs); in createTransitionFromXml() 153 transition = new Slide(mContext, attrs); in createTransitionFromXml() 155 transition = new Explode(mContext, attrs); in createTransitionFromXml() 157 transition = new ChangeImageTransform(mContext, attrs); in createTransitionFromXml() 159 transition = new ChangeTransform(mContext, attrs); in createTransitionFromXml() 161 transition = new ChangeClipBounds(mContext, attrs); in createTransitionFromXml() 163 transition = new AutoTransition(mContext, attrs); in createTransitionFromXml() 165 transition = new Recolor(mContext, attrs); in createTransitionFromXml() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | SimpleInflater.java | 89 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 105 createdItem = createItemFromTag(parser.getName(), attrs); in inflate() 107 rInflate(parser, createdItem, attrs); in inflate() 125 protected abstract T onCreateItem(String tagName, AttributeSet attrs); in onCreateItem() argument 127 private T createItemFromTag(String name, AttributeSet attrs) { in createItemFromTag() argument 129 T item = onCreateItem(name, attrs); in createItemFromTag() 135 throw new InflateException(attrs.getPositionDescription() in createItemFromTag() 144 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate() argument 156 if (onInterceptCreateItem(parser, parent, attrs)) { in rInflate() 161 T item = createItemFromTag(name, attrs); in rInflate() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PolicyControl.java | 65 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { in getSystemUiVisibility() argument 66 attrs = attrs != null ? attrs : win.getAttrs(); in getSystemUiVisibility() 67 int vis = win != null ? win.getSystemUiVisibility() : attrs.systemUiVisibility; in getSystemUiVisibility() 68 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) { in getSystemUiVisibility() 75 if (sImmersiveNavigationFilter != null && sImmersiveNavigationFilter.matches(attrs)) { in getSystemUiVisibility() 85 public static int getWindowFlags(WindowState win, LayoutParams attrs) { in getWindowFlags() argument 86 attrs = attrs != null ? attrs : win.getAttrs(); in getWindowFlags() 87 int flags = attrs.flags; in getWindowFlags() 88 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) { in getWindowFlags() 93 if (sImmersiveNavigationFilter != null && sImmersiveNavigationFilter.matches(attrs)) { in getWindowFlags() [all …]
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceInflater.java | 139 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 157 attrs); in inflate() 162 rInflate(parser, result, attrs); in inflate() 212 AttributeSet attrs) in createItem() argument 236 throw new InflateException(attrs in createItem() 250 args[1] = attrs; in createItem() 257 final InflateException ie = new InflateException(attrs in createItem() 274 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem() argument 276 return createItem(name, mDefaultPackages, attrs); in onCreateItem() 280 AttributeSet attrs) { in createItemFromTag() argument [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 147 public View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { in onCreateView() argument 155 view = loadCustomView(APPCOMPAT_WIDGET_PREFIX + name, attrs, true); in onCreateView() 166 view = createView(name, prefix, attrs); in onCreateView() 179 view = super.onCreateView(name, attrs); in onCreateView() 188 view = loadCustomView(name, attrs); in onCreateView() 199 setupViewInContext(view, attrs); in onCreateView() 205 public View createViewFromTag(View parent, String name, Context context, AttributeSet attrs, in createViewFromTag() argument 211 name = attrs.getAttributeValue(null, "class"); in createViewFromTag() 218 view = new MockView(context, attrs); in createViewFromTag() 225 view = super.createViewFromTag(parent, name, context, attrs, ignoreThemeAttr); in createViewFromTag() [all …]
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentRelativeLayout.java | 137 public PercentRelativeLayout(Context context, AttributeSet attrs) { in PercentRelativeLayout() argument 138 super(context, attrs); in PercentRelativeLayout() 141 public PercentRelativeLayout(Context context, AttributeSet attrs, int defStyle) { in PercentRelativeLayout() argument 142 super(context, attrs, defStyle); in PercentRelativeLayout() 151 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 152 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 178 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 179 super(c, attrs); in LayoutParams() 180 mPercentLayoutInfo = PercentLayoutHelper.getPercentLayoutInfo(c, attrs); in LayoutParams()
|
D | PercentFrameLayout.java | 138 public PercentFrameLayout(Context context, AttributeSet attrs) { in PercentFrameLayout() argument 139 super(context, attrs); in PercentFrameLayout() 142 public PercentFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in PercentFrameLayout() argument 143 super(context, attrs, defStyleAttr); in PercentFrameLayout() 152 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 153 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 179 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 180 super(c, attrs); in LayoutParams() 181 mPercentLayoutInfo = PercentLayoutHelper.getPercentLayoutInfo(c, attrs); in LayoutParams()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | VerticalGridView.java | 46 public VerticalGridView(Context context, AttributeSet attrs) { in VerticalGridView() argument 47 this(context, attrs, 0); in VerticalGridView() 50 public VerticalGridView(Context context, AttributeSet attrs, int defStyle) { in VerticalGridView() argument 51 super(context, attrs, defStyle); in VerticalGridView() 53 initAttributes(context, attrs); in VerticalGridView() 56 protected void initAttributes(Context context, AttributeSet attrs) { in initAttributes() argument 57 initBaseGridViewAttributes(context, attrs); in initAttributes() 58 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbVerticalGridView); in initAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | AlphaOptimizedLinearLayout.java | 33 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs) { in AlphaOptimizedLinearLayout() argument 34 super(context, attrs); in AlphaOptimizedLinearLayout() 37 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedLinearLayout() argument 38 super(context, attrs, defStyleAttr); in AlphaOptimizedLinearLayout() 41 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedLinearLayout() argument 43 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedLinearLayout()
|
/frameworks/support/emoji/appcompat/src/android/support/text/emoji/widget/ |
D | EmojiAppCompatEditText.java | 49 public EmojiAppCompatEditText(Context context, AttributeSet attrs) { in EmojiAppCompatEditText() argument 50 super(context, attrs); in EmojiAppCompatEditText() 51 init(attrs, android.support.v7.appcompat.R.attr.editTextStyle); in EmojiAppCompatEditText() 54 public EmojiAppCompatEditText(Context context, AttributeSet attrs, int defStyleAttr) { in EmojiAppCompatEditText() argument 55 super(context, attrs, defStyleAttr); in EmojiAppCompatEditText() 56 init(attrs, defStyleAttr); in EmojiAppCompatEditText() 59 private void init(@Nullable AttributeSet attrs, int defStyleAttr) { in init() argument 62 final EditTextAttributeHelper attrHelper = new EditTextAttributeHelper(this, attrs, in init()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewAttachView.java | 35 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { in ViewAttachView() argument 36 super(context, attrs, defStyle); in ViewAttachView() 37 init(attrs, defStyle); in ViewAttachView() 40 public ViewAttachView(Context context, AttributeSet attrs) { in ViewAttachView() argument 41 super(context, attrs); in ViewAttachView() 42 init(attrs, 0); in ViewAttachView() 50 private void init(AttributeSet attrs, int defStyle) { in init() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AlphaOptimizedImageView.java | 33 public AlphaOptimizedImageView(Context context, AttributeSet attrs) { in AlphaOptimizedImageView() argument 34 this(context, attrs, 0 /* defStyleAttr */); in AlphaOptimizedImageView() 37 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedImageView() argument 38 this(context, attrs, defStyleAttr, 0 /* defStyleRes */); in AlphaOptimizedImageView() 41 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedImageView() argument 43 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedImageView()
|
D | AlphaOptimizedView.java | 33 public AlphaOptimizedView(Context context, AttributeSet attrs) { in AlphaOptimizedView() argument 34 super(context, attrs); in AlphaOptimizedView() 37 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedView() argument 38 super(context, attrs, defStyleAttr); in AlphaOptimizedView() 41 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedView() argument 43 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedView()
|
D | AlphaOptimizedButton.java | 31 public AlphaOptimizedButton(Context context, AttributeSet attrs) { in AlphaOptimizedButton() argument 32 super(context, attrs); in AlphaOptimizedButton() 35 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedButton() argument 36 super(context, attrs, defStyleAttr); in AlphaOptimizedButton() 39 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedButton() argument 41 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedButton()
|