/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 150 public View onCreateView(String name, Context context, AttributeSet attrs); in onCreateView() argument 168 public View onCreateView(View parent, String name, Context context, AttributeSet attrs); in onCreateView() argument 182 public View onCreateView(String name, Context context, AttributeSet attrs) { in onCreateView() argument 183 View v = mF1.onCreateView(name, context, attrs); in onCreateView() 185 return mF2.onCreateView(name, context, attrs); in onCreateView() 188 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { in onCreateView() argument 189 View v = mF12 != null ? mF12.onCreateView(parent, name, context, attrs) in onCreateView() 190 : mF1.onCreateView(name, context, attrs); in onCreateView() 192 return mF22 != null ? mF22.onCreateView(parent, name, context, attrs) in onCreateView() 193 : mF2.onCreateView(name, context, attrs); in onCreateView() [all …]
|
D | Window.java | 461 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged() argument 965 final WindowManager.LayoutParams attrs = getAttributes(); in setLayout() local 966 attrs.width = width; in setLayout() 967 attrs.height = height; in setLayout() 968 dispatchWindowAttributesChanged(attrs); in setLayout() 983 final WindowManager.LayoutParams attrs = getAttributes(); in setGravity() local 984 attrs.gravity = gravity; in setGravity() 985 dispatchWindowAttributesChanged(attrs); in setGravity() 995 final WindowManager.LayoutParams attrs = getAttributes(); in setType() local 996 attrs.type = type; in setType() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 377 void *me, const char *name, const char **attrs) { in StartElementHandlerWrapper() argument 378 static_cast<MediaCodecList *>(me)->startElementHandler(name, attrs); in StartElementHandlerWrapper() 386 status_t MediaCodecList::includeXMLFile(const char **attrs) { in includeXMLFile() argument 389 while (attrs[i] != NULL) { in includeXMLFile() 390 if (!strcmp(attrs[i], "href")) { in includeXMLFile() 391 if (attrs[i + 1] == NULL) { in includeXMLFile() 394 href = attrs[i + 1]; in includeXMLFile() 428 const char *name, const char **attrs) { in startElementHandler() argument 436 mInitCheck = includeXMLFile(attrs); in startElementHandler() 461 mInitCheck = addSettingFromAttributes(attrs); in startElementHandler() [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 …]
|
D | BluetoothMapEventReport.java | 70 private BluetoothMapEventReport(HashMap<String, String> attrs) throws IllegalArgumentException { in BluetoothMapEventReport() argument 71 mType = parseType(attrs.get("type")); in BluetoothMapEventReport() 74 String handle = attrs.get("handle"); in BluetoothMapEventReport() 77 new BigInteger(attrs.get("handle"), 16); in BluetoothMapEventReport() 79 mHandle = attrs.get("handle"); in BluetoothMapEventReport() 87 mFolder = attrs.get("folder"); in BluetoothMapEventReport() 89 mOldFolder = attrs.get("old_folder"); in BluetoothMapEventReport() 92 String s = attrs.get("msg_type"); in BluetoothMapEventReport() 196 HashMap<String, String> attrs = new HashMap<String, String>(); in fromStream() local 199 attrs.put(xpp.getAttributeName(i), xpp.getAttributeValue(i)); in fromStream() [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/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 | GenericInflater.java | 78 T onCreateItem(String name, Context context, AttributeSet attrs); in onCreateItem() argument 89 public T onCreateItem(String name, Context context, AttributeSet attrs) { in onCreateItem() argument 90 T v = mF1.onCreateItem(name, context, attrs); in onCreateItem() 92 return mF2.onCreateItem(name, context, attrs); in onCreateItem() 293 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 316 T xmlRoot = createItemFromTag(parser, parser.getName(), attrs); in inflate() 322 rInflate(parser, result, attrs); in inflate() 357 public final T createItem(String name, String prefix, AttributeSet attrs) in createItem() argument 373 args[1] = attrs; in createItem() 377 InflateException ie = new InflateException(attrs.getPositionDescription() in createItem() [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 | 144 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 162 attrs); in inflate() 167 rInflate(parser, result, attrs); in inflate() 217 AttributeSet attrs) in createItem() argument 241 throw new InflateException(attrs in createItem() 255 args[1] = attrs; in createItem() 262 final InflateException ie = new InflateException(attrs in createItem() 279 protected Preference onCreateItem(String name, AttributeSet attrs) in onCreateItem() argument 281 return createItem(name, mDefaultPackages, attrs); in onCreateItem() 285 AttributeSet attrs) { in createItemFromTag() argument [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardItemsLayout.java | 31 public SetupWizardItemsLayout(Context context, AttributeSet attrs) { in SetupWizardItemsLayout() argument 32 super(context, attrs); in SetupWizardItemsLayout() 33 init(context, attrs, 0); in SetupWizardItemsLayout() 36 public SetupWizardItemsLayout(Context context, AttributeSet attrs, int defStyleAttr) { in SetupWizardItemsLayout() argument 37 super(context, attrs, defStyleAttr); in SetupWizardItemsLayout() 38 init(context, attrs, defStyleAttr); in SetupWizardItemsLayout() 41 private void init(Context context, AttributeSet attrs, int defStyleAttr) { in init() argument 42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwSetupWizardItemsLayout, in init()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 100 public View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { in onCreateView() argument 107 view = createView(name, prefix, attrs); in onCreateView() 120 view = super.onCreateView(name, attrs); in onCreateView() 128 view = loadCustomView(name, attrs); in onCreateView() 139 setupViewInContext(view, attrs); in onCreateView() 145 public View createViewFromTag(View parent, String name, Context context, AttributeSet attrs, in createViewFromTag() argument 149 view = super.createViewFromTag(parent, name, context, attrs, ignoreThemeAttr); in createViewFromTag() 154 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); in createViewFromTag() 163 view = new MockView(context, attrs); in createViewFromTag() 171 view = loadCustomView(name, attrs); in createViewFromTag() [all …]
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentRelativeLayout.java | 84 public PercentRelativeLayout(Context context, AttributeSet attrs) { in PercentRelativeLayout() argument 85 super(context, attrs); in PercentRelativeLayout() 88 public PercentRelativeLayout(Context context, AttributeSet attrs, int defStyle) { in PercentRelativeLayout() argument 89 super(context, attrs, defStyle); in PercentRelativeLayout() 98 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 99 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 121 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 122 super(c, attrs); in LayoutParams() 123 mPercentLayoutInfo = PercentLayoutHelper.getPercentLayoutInfo(c, attrs); in LayoutParams()
|
D | PercentFrameLayout.java | 84 public PercentFrameLayout(Context context, AttributeSet attrs) { in PercentFrameLayout() argument 85 super(context, attrs); in PercentFrameLayout() 88 public PercentFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in PercentFrameLayout() argument 89 super(context, attrs, defStyleAttr); in PercentFrameLayout() 98 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 99 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 121 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 122 super(c, attrs); in LayoutParams() 123 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/av/include/media/stagefright/ |
D | MediaCodecList.h | 127 void *me, const char *name, const char **attrs); 131 void startElementHandler(const char *name, const char **attrs); 134 status_t includeXMLFile(const char **attrs); 135 status_t addSettingFromAttributes(const char **attrs); 136 status_t addMediaCodecFromAttributes(bool encoder, const char **attrs); 141 status_t addQuirk(const char **attrs); 142 status_t addTypeFromAttributes(const char **attrs); 143 status_t addLimit(const char **attrs); 144 status_t addFeature(const char **attrs);
|
/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/Keyguard/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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AlphaOptimizedFrameLayout.java | 33 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs) { in AlphaOptimizedFrameLayout() argument 34 super(context, attrs); in AlphaOptimizedFrameLayout() 37 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedFrameLayout() argument 38 super(context, attrs, defStyleAttr); in AlphaOptimizedFrameLayout() 41 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedFrameLayout() argument 43 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedFrameLayout()
|
D | AlphaImageView.java | 32 public AlphaImageView(Context context, AttributeSet attrs) { in AlphaImageView() argument 33 super(context, attrs); in AlphaImageView() 36 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaImageView() argument 37 super(context, attrs, defStyleAttr); in AlphaImageView() 40 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in AlphaImageView() argument 41 super(context, attrs, defStyleAttr, defStyleRes); in AlphaImageView()
|
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()
|
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()
|