/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 336 static void StartElementHandlerWrapper(void *me, const char *name, const char **attrs); 339 void startElementHandler(const char *name, const char **attrs); 346 status_t addAlias(const char **attrs); 347 status_t addFeature(const char **attrs); 348 status_t addLimit(const char **attrs); 349 status_t addQuirk(const char **attrs, const char *prefix = nullptr); 350 status_t addSetting(const char **attrs, const char *prefix = nullptr); 351 status_t enterMediaCodec(const char **attrs, bool encoder); 352 status_t enterType(const char **attrs); 353 status_t includeXmlFile(const char **attrs); [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTests.java | 66 final WindowManager.LayoutParams attrs = win.mAttrs; in createOpaqueFullscreen() local 67 attrs.width = MATCH_PARENT; in createOpaqueFullscreen() 68 attrs.height = MATCH_PARENT; in createOpaqueFullscreen() 69 attrs.flags = in createOpaqueFullscreen() 71 attrs.format = PixelFormat.OPAQUE; in createOpaqueFullscreen() 72 attrs.systemUiVisibility = attrs.subtreeSystemUiVisibility = win.mSystemUiVisibility = in createOpaqueFullscreen() 79 final WindowManager.LayoutParams attrs = win.mAttrs; in createDimmingDialogWindow() local 80 attrs.width = WRAP_CONTENT; in createDimmingDialogWindow() 81 attrs.height = WRAP_CONTENT; in createDimmingDialogWindow() 82 attrs.flags = FLAG_DIM_BEHIND | (canBeImTarget ? 0 : FLAG_ALT_FOCUSABLE_IM); in createDimmingDialogWindow() [all …]
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 191 @NonNull AttributeSet attrs); in onCreateView() argument 211 @NonNull Context context, @NonNull AttributeSet attrs); in onCreateView() argument 227 @NonNull AttributeSet attrs) { in onCreateView() argument 228 View v = mF1.onCreateView(name, context, attrs); in onCreateView() 230 return mF2.onCreateView(name, context, attrs); in onCreateView() 235 @NonNull Context context, @NonNull AttributeSet attrs) { in onCreateView() argument 236 View v = mF12 != null ? mF12.onCreateView(parent, name, context, attrs) in onCreateView() 237 : mF1.onCreateView(name, context, attrs); in onCreateView() 239 return mF22 != null ? mF22.onCreateView(parent, name, context, attrs) in onCreateView() 240 : mF2.onCreateView(name, context, attrs); in onCreateView() [all …]
|
D | Window.java | 474 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); in onWindowAttributesChanged() argument 984 final WindowManager.LayoutParams attrs = getAttributes(); in setLayout() local 985 attrs.width = width; in setLayout() 986 attrs.height = height; in setLayout() 987 dispatchWindowAttributesChanged(attrs); in setLayout() 1002 final WindowManager.LayoutParams attrs = getAttributes(); in setGravity() local 1003 attrs.gravity = gravity; in setGravity() 1004 dispatchWindowAttributesChanged(attrs); in setGravity() 1014 final WindowManager.LayoutParams attrs = getAttributes(); in setType() local 1015 attrs.type = type; in setType() [all …]
|
/frameworks/native/libs/vibrator/ |
D | ExternalVibration.cpp | 23 void writeAudioAttributes(const audio_attributes_t& attrs, android::Parcel* out) { in writeAudioAttributes() argument 24 out->writeInt32(attrs.usage); in writeAudioAttributes() 25 out->writeInt32(attrs.content_type); in writeAudioAttributes() 26 out->writeInt32(attrs.source); in writeAudioAttributes() 27 out->writeInt32(attrs.flags); in writeAudioAttributes() 30 void readAudioAttributes(audio_attributes_t* attrs, const android::Parcel* in) { in readAudioAttributes() argument 31 attrs->usage = static_cast<audio_usage_t>(in->readInt32()); in readAudioAttributes() 32 attrs->content_type = static_cast<audio_content_type_t>(in->readInt32()); in readAudioAttributes() 33 attrs->source = static_cast<audio_source_t>(in->readInt32()); in readAudioAttributes() 34 attrs->flags = static_cast<audio_flags_mask_t>(in->readInt32()); in readAudioAttributes() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | GLImage.cpp | 34 std::vector<EGLint> attrs; in buildAttributeList() local 35 attrs.reserve(16); in buildAttributeList() 37 attrs.push_back(EGL_IMAGE_PRESERVED_KHR); in buildAttributeList() 38 attrs.push_back(EGL_TRUE); in buildAttributeList() 41 attrs.push_back(EGL_PROTECTED_CONTENT_EXT); in buildAttributeList() 42 attrs.push_back(EGL_TRUE); in buildAttributeList() 45 attrs.push_back(EGL_NONE); in buildAttributeList() 47 return attrs; in buildAttributeList() 67 std::vector<EGLint> attrs = buildAttributeList(isProtected); in setNativeWindowBuffer() local 69 static_cast<EGLClientBuffer>(buffer), attrs.data()); in setNativeWindowBuffer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PolicyControl.java | 64 static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { in getSystemUiVisibility() argument 65 attrs = attrs != null ? attrs : win.getAttrs(); in getSystemUiVisibility() 67 : (attrs.systemUiVisibility | attrs.subtreeSystemUiVisibility); in getSystemUiVisibility() 68 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) { in getSystemUiVisibility() 71 if (attrs.isFullscreen()) { in getSystemUiVisibility() 77 if (sImmersiveNavigationFilter != null && sImmersiveNavigationFilter.matches(attrs)) { in getSystemUiVisibility() 80 if (attrs.isFullscreen()) { in getSystemUiVisibility() 89 static int getWindowFlags(WindowState win, LayoutParams attrs) { in getWindowFlags() argument 90 attrs = attrs != null ? attrs : win.getAttrs(); in getWindowFlags() 91 int flags = attrs.flags; in getWindowFlags() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 89 public T onCreateItem(String name, Context context, AttributeSet attrs); in onCreateItem() argument 100 public T onCreateItem(String name, Context context, AttributeSet attrs) { in onCreateItem() argument 101 T v = mF1.onCreateItem(name, context, attrs); in onCreateItem() 103 return mF2.onCreateItem(name, context, attrs); in onCreateItem() 301 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 326 attrs); in inflate() 334 rInflate(parser, result, attrs); in inflate() 375 public final T createItem(String name, String prefix, AttributeSet attrs) in createItem() argument 391 args[1] = attrs; in createItem() 395 InflateException ie = new InflateException(attrs in createItem() [all …]
|
D | PreferenceFrameLayout.java | 50 public PreferenceFrameLayout(Context context, AttributeSet attrs) { in PreferenceFrameLayout() argument 51 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle); in PreferenceFrameLayout() 54 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in PreferenceFrameLayout() argument 55 this(context, attrs, defStyleAttr, 0); in PreferenceFrameLayout() 59 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in PreferenceFrameLayout() argument 60 super(context, attrs, defStyleAttr, defStyleRes); in PreferenceFrameLayout() 61 final TypedArray a = context.obtainStyledAttributes(attrs, in PreferenceFrameLayout() 90 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 91 return new LayoutParams(getContext(), attrs); in generateLayoutParams() 142 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() 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 | 86 final AttributeSet attrs = Xml.asAttributeSet(parser); in inflate() local 101 createdItem = createItemFromTag(parser.getName(), attrs); in inflate() 103 rInflate(parser, createdItem, attrs); in inflate() 121 protected abstract T onCreateItem(String tagName, AttributeSet attrs); in onCreateItem() argument 123 private T createItemFromTag(String name, AttributeSet attrs) { in createItemFromTag() argument 125 T item = onCreateItem(name, attrs); in createItemFromTag() 134 attrs.getPositionDescription() + ": Error inflating class " + name, e); in createItemFromTag() 142 private void rInflate(XmlPullParser parser, T parent, final AttributeSet attrs) in rInflate() argument 154 if (onInterceptCreateItem(parser, parent, attrs)) { in rInflate() 159 T item = createItemFromTag(name, attrs); in rInflate() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 123 public View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { in onCreateView() argument 124 View view = createViewFromCustomInflater(name, attrs); in onCreateView() 131 view = createView(name, prefix, attrs); in onCreateView() 144 view = super.onCreateView(name, attrs); in onCreateView() 152 view = loadCustomView(name, attrs); in onCreateView() 164 setupViewInContext(view, attrs); in onCreateView() 245 private View createViewFromCustomInflater(@NotNull String name, @NotNull AttributeSet attrs) { in createViewFromCustomInflater() argument 286 return mCustomInflater.apply(name, attrs); in createViewFromCustomInflater() 290 public View createViewFromTag(View parent, String name, Context context, AttributeSet attrs, in createViewFromTag() argument 296 name = attrs.getAttributeValue(null, "class"); in createViewFromTag() [all …]
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/ |
D | TextView.java | 30 public TextView(Context context, AttributeSet attrs) { in TextView() argument 31 this(context, attrs, 0); in TextView() 34 public TextView(Context context, AttributeSet attrs, int defStyleAttr) { in TextView() argument 35 this(context, attrs, defStyleAttr, 0); in TextView() 38 public TextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TextView() argument 39 super(context, attrs, defStyleAttr, defStyleRes); in TextView() 41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView()
|
/frameworks/base/core/java/android/widget/ |
D | TwoLineListItem.java | 52 public TwoLineListItem(Context context, AttributeSet attrs) { in TwoLineListItem() argument 53 this(context, attrs, 0); in TwoLineListItem() 56 public TwoLineListItem(Context context, AttributeSet attrs, int defStyleAttr) { in TwoLineListItem() argument 57 this(context, attrs, defStyleAttr, 0); in TwoLineListItem() 60 public TwoLineListItem(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TwoLineListItem() argument 61 super(context, attrs, defStyleAttr, defStyleRes); in TwoLineListItem() 64 attrs, com.android.internal.R.styleable.TwoLineListItem, defStyleAttr, defStyleRes); in TwoLineListItem() 66 attrs, a, defStyleAttr, defStyleRes); in TwoLineListItem()
|
D | CheckBox.java | 60 public CheckBox(Context context, AttributeSet attrs) { in CheckBox() argument 61 this(context, attrs, com.android.internal.R.attr.checkboxStyle); in CheckBox() 64 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr) { in CheckBox() argument 65 this(context, attrs, defStyleAttr, 0); in CheckBox() 68 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CheckBox() argument 69 super(context, attrs, defStyleAttr, defStyleRes); in CheckBox()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewAttachView.java | 34 public ViewAttachView(Context context, AttributeSet attrs, int defStyle) { in ViewAttachView() argument 35 super(context, attrs, defStyle); in ViewAttachView() 36 init(attrs, defStyle); in ViewAttachView() 39 public ViewAttachView(Context context, AttributeSet attrs) { in ViewAttachView() argument 40 super(context, attrs); in ViewAttachView() 41 init(attrs, 0); in ViewAttachView() 49 private void init(AttributeSet attrs, int defStyle) { in init() argument
|
/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/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 | 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 | AlphaOptimizedTextView.java | 32 public AlphaOptimizedTextView(Context context, AttributeSet attrs) { in AlphaOptimizedTextView() argument 33 super(context, attrs); in AlphaOptimizedTextView() 36 public AlphaOptimizedTextView(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedTextView() argument 37 super(context, attrs, defStyleAttr); in AlphaOptimizedTextView() 40 public AlphaOptimizedTextView(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedTextView() argument 42 super(context, attrs, defStyleAttr, defStyleRes); in AlphaOptimizedTextView()
|
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 | 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()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardCompatLayout.java | 33 public CarSetupWizardCompatLayout(Context context, @Nullable AttributeSet attrs) { in CarSetupWizardCompatLayout() argument 34 this(context, attrs, 0); in CarSetupWizardCompatLayout() 37 public CarSetupWizardCompatLayout(Context context, @Nullable AttributeSet attrs, in CarSetupWizardCompatLayout() argument 39 this(context, attrs, defStyleAttr, 0); in CarSetupWizardCompatLayout() 42 public CarSetupWizardCompatLayout(Context context, @Nullable AttributeSet attrs, in CarSetupWizardCompatLayout() argument 44 super(context, attrs, defStyleAttr, defStyleRes); in CarSetupWizardCompatLayout()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IntrinsicSizeFrameLayout.java | 45 public IntrinsicSizeFrameLayout(Context context, AttributeSet attrs) { in IntrinsicSizeFrameLayout() argument 46 super(context, attrs); in IntrinsicSizeFrameLayout() 47 init(context, attrs, 0); in IntrinsicSizeFrameLayout() 51 public IntrinsicSizeFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in IntrinsicSizeFrameLayout() argument 52 super(context, attrs, defStyleAttr); in IntrinsicSizeFrameLayout() 53 init(context, attrs, defStyleAttr); in IntrinsicSizeFrameLayout() 56 private void init(Context context, AttributeSet attrs, int defStyleAttr) { in init() argument 59 attrs, R.styleable.SuwIntrinsicSizeFrameLayout, defStyleAttr, 0); in init()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | CustomCalendar.java | 29 public CustomCalendar(Context context, AttributeSet attrs) { in CustomCalendar() argument 30 super(context, attrs); in CustomCalendar() 34 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr) { in CustomCalendar() argument 35 super(context, attrs, defStyleAttr); in CustomCalendar() 39 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CustomCalendar() argument 40 super(context, attrs, defStyleAttr, defStyleRes); in CustomCalendar()
|