Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 154) sorted by relevance

1234567

/development/samples/ApiDemos/src/com/example/android/apis/view/
DResourcePointerIconButton.java33 public ResourcePointerIconButton(Context context, AttributeSet attrs) { in ResourcePointerIconButton() argument
34 super(context, attrs); in ResourcePointerIconButton()
37 public ResourcePointerIconButton(Context context, AttributeSet attrs, int defStyleAttr) { in ResourcePointerIconButton() argument
38 super(context, attrs, defStyleAttr); in ResourcePointerIconButton()
41 public ResourcePointerIconButton(Context context, AttributeSet attrs, in ResourcePointerIconButton() argument
43 super(context, attrs, defStyleAttr, defStyleRes); in ResourcePointerIconButton()
DStaticPointerIconButton.java35 public StaticPointerIconButton(Context context, AttributeSet attrs) { in StaticPointerIconButton() argument
36 super(context, attrs); in StaticPointerIconButton()
39 public StaticPointerIconButton(Context context, AttributeSet attrs, int defStyleAttr) { in StaticPointerIconButton() argument
40 super(context, attrs, defStyleAttr); in StaticPointerIconButton()
43 public StaticPointerIconButton(Context context, AttributeSet attrs, in StaticPointerIconButton() argument
45 super(context, attrs, defStyleAttr, defStyleRes); in StaticPointerIconButton()
DSystemPointerIconButton.java31 public SystemPointerIconButton(Context context, AttributeSet attrs) { in SystemPointerIconButton() argument
32 super(context, attrs); in SystemPointerIconButton()
35 public SystemPointerIconButton(Context context, AttributeSet attrs, int defStyleAttr) { in SystemPointerIconButton() argument
36 super(context, attrs, defStyleAttr); in SystemPointerIconButton()
39 public SystemPointerIconButton(Context context, AttributeSet attrs, in SystemPointerIconButton() argument
41 super(context, attrs, defStyleAttr, defStyleRes); in SystemPointerIconButton()
DLivePointerIconButton.java34 public LivePointerIconButton(Context context, AttributeSet attrs) { in LivePointerIconButton() argument
35 super(context, attrs); in LivePointerIconButton()
38 public LivePointerIconButton(Context context, AttributeSet attrs, int defStyleAttr) { in LivePointerIconButton() argument
39 super(context, attrs, defStyleAttr); in LivePointerIconButton()
42 public LivePointerIconButton(Context context, AttributeSet attrs, in LivePointerIconButton() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in LivePointerIconButton()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java32 public SquareFrameLayout(Context context, AttributeSet attrs) { in SquareFrameLayout() argument
33 super(context, attrs); in SquareFrameLayout()
36 public SquareFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in SquareFrameLayout() argument
37 super(context, attrs, defStyleAttr); in SquareFrameLayout()
40 public SquareFrameLayout(Context context, AttributeSet attrs, in SquareFrameLayout() argument
42 super(context, attrs, defStyleAttr, defStyleRes); in SquareFrameLayout()
/development/vndk/tools/sourcedr/blueprint/
Danalyze_manifest_split.py71 def _get_property(attrs, *names, **kwargs): argument
73 result = attrs
87 def add_module(self, path, rule, attrs): argument
88 name = _get_property(attrs, 'name')
98 if _get_property(attrs, 'vendor') or \
99 _get_property(attrs, 'proprietary') or \
100 _get_property(attrs, 'soc_specific') or \
101 _get_property(attrs, 'device_specific'):
103 elif _get_property(attrs, 'vendor_available') or \
104 _get_property(attrs, 'vndk', 'enabled'):
[all …]
Dvndk.py30 def __init__(self, rule, attrs): argument
33 self._attrs = attrs
143 for rule, attrs in parsed_items:
144 name = attrs.get('name')
148 namespace = attrs.get('_namespace')
153 self.add_module(name, Module(rule, attrs))
161 self.add_module(name, Module(rule, attrs))
165 attrs['vendor_available'] = True
166 self.add_module(name, Module(rule, attrs))
169 adapter_module_dict = copy.deepcopy(attrs)
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButton.java67 public FloatingActionButton(Context context, AttributeSet attrs) { in FloatingActionButton() argument
68 this(context, attrs, 0, 0); in FloatingActionButton()
71 public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr) { in FloatingActionButton() argument
72 this(context, attrs, defStyleAttr, 0); in FloatingActionButton()
75 public FloatingActionButton(Context context, AttributeSet attrs, int defStyleAttr, in FloatingActionButton() argument
77 super(context, attrs, defStyleAttr); in FloatingActionButton()
/development/samples/ApiDemos/src/com/example/android/apis/text/
DLogTextBox.java42 public LogTextBox(Context context, AttributeSet attrs) { in LogTextBox() argument
43 this(context, attrs, android.R.attr.textViewStyle); in LogTextBox()
46 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { in LogTextBox() argument
47 super(context, attrs, defStyle); in LogTextBox()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingLayout.java47 public ExpandingLayout(Context context, AttributeSet attrs) { in ExpandingLayout() argument
48 super(context, attrs); in ExpandingLayout()
51 public ExpandingLayout(Context context, AttributeSet attrs, int defStyle) { in ExpandingLayout() argument
52 super(context, attrs, defStyle); in ExpandingLayout()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboardView.java32 public LatinKeyboardView(Context context, AttributeSet attrs) { in LatinKeyboardView() argument
33 super(context, attrs); in LatinKeyboardView()
36 public LatinKeyboardView(Context context, AttributeSet attrs, int defStyle) { in LatinKeyboardView() argument
37 super(context, attrs, defStyle); in LatinKeyboardView()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DAutoFitTextureView.java35 public AutoFitTextureView(Context context, AttributeSet attrs) { in AutoFitTextureView() argument
36 this(context, attrs, 0); in AutoFitTextureView()
39 public AutoFitTextureView(Context context, AttributeSet attrs, int defStyle) { in AutoFitTextureView() argument
40 super(context, attrs, defStyle); in AutoFitTextureView()
/development/apps/Development/src/com/android/development/
DLogTextBox.java45 public LogTextBox(Context context, AttributeSet attrs) { in LogTextBox() argument
46 this(context, attrs, android.R.attr.textViewStyle); in LogTextBox()
49 public LogTextBox(Context context, AttributeSet attrs, int defStyle) { in LogTextBox() argument
50 super(context, attrs, defStyle); in LogTextBox()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DAutoFitTextureView.java35 public AutoFitTextureView(Context context, AttributeSet attrs) { in AutoFitTextureView() argument
36 this(context, attrs, 0); in AutoFitTextureView()
39 public AutoFitTextureView(Context context, AttributeSet attrs, int defStyle) { in AutoFitTextureView() argument
40 super(context, attrs, defStyle); in AutoFitTextureView()
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/
DDragFrameLayout.java50 public DragFrameLayout(Context context, AttributeSet attrs) { in DragFrameLayout() argument
51 this(context, attrs, 0, 0); in DragFrameLayout()
54 public DragFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in DragFrameLayout() argument
55 this(context, attrs, defStyleAttr, 0); in DragFrameLayout()
58 public DragFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in DragFrameLayout() argument
59 super(context, attrs, defStyleAttr, defStyleRes); in DragFrameLayout()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DAutoFitTextureView.java35 public AutoFitTextureView(Context context, AttributeSet attrs) { in AutoFitTextureView() argument
36 this(context, attrs, 0); in AutoFitTextureView()
39 public AutoFitTextureView(Context context, AttributeSet attrs, int defStyle) { in AutoFitTextureView() argument
40 super(context, attrs, defStyle); in AutoFitTextureView()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionsRecyclerView.java43 public AttractionsRecyclerView(Context context, AttributeSet attrs) { in AttractionsRecyclerView() argument
44 super(context, attrs); in AttractionsRecyclerView()
47 public AttractionsRecyclerView(Context context, AttributeSet attrs, int defStyle) { in AttractionsRecyclerView() argument
48 super(context, attrs, defStyle); in AttractionsRecyclerView()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DBackgroundContainer.java37 public BackgroundContainer(Context context, AttributeSet attrs) { in BackgroundContainer() argument
38 super(context, attrs); in BackgroundContainer()
42 public BackgroundContainer(Context context, AttributeSet attrs, int defStyle) { in BackgroundContainer() argument
43 super(context, attrs, defStyle); in BackgroundContainer()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DBackgroundContainer.java37 public BackgroundContainer(Context context, AttributeSet attrs) { in BackgroundContainer() argument
38 super(context, attrs); in BackgroundContainer()
42 public BackgroundContainer(Context context, AttributeSet attrs, int defStyle) { in BackgroundContainer() argument
43 super(context, attrs, defStyle); in BackgroundContainer()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardActionButton.java38 public CardActionButton(Context context, AttributeSet attrs) { in CardActionButton() argument
39 super(context, attrs); in CardActionButton()
42 public CardActionButton(Context context, AttributeSet attrs, int defStyle) { in CardActionButton() argument
43 super(context, attrs, defStyle); in CardActionButton()
DCardLayout.java41 public CardLayout(Context context, AttributeSet attrs) { in CardLayout() argument
42 super(context, attrs); in CardLayout()
46 public CardLayout(Context context, AttributeSet attrs, int defStyle) { in CardLayout() argument
47 super(context, attrs, defStyle); in CardLayout()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java36 public SkewableTextView(Context context, AttributeSet attrs, int defStyle) { in SkewableTextView() argument
37 super(context, attrs, defStyle); in SkewableTextView()
40 public SkewableTextView(Context context, AttributeSet attrs) { in SkewableTextView() argument
41 super(context, attrs); in SkewableTextView()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DTouchHighlightImageButton.java49 public TouchHighlightImageButton(Context context, AttributeSet attrs) { in TouchHighlightImageButton() argument
50 super(context, attrs); in TouchHighlightImageButton()
54 public TouchHighlightImageButton(Context context, AttributeSet attrs, int defStyle) { in TouchHighlightImageButton() argument
55 super(context, attrs, defStyle); in TouchHighlightImageButton()
/development/samples/Snake/src/com/example/android/snake/
DTileView.java62 public TileView(Context context, AttributeSet attrs) { in TileView() argument
63 super(context, attrs); in TileView()
65 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView); in TileView()
71 public TileView(Context context, AttributeSet attrs, int defStyle) { in TileView() argument
72 super(context, attrs, defStyle); in TileView()
74 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TileView); in TileView()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DWearableListItemLayout.java41 public WearableListItemLayout(Context context, AttributeSet attrs) { in WearableListItemLayout() argument
42 this(context, attrs, 0); in WearableListItemLayout()
45 public WearableListItemLayout(Context context, AttributeSet attrs, int defStyle) { in WearableListItemLayout() argument
46 super(context, attrs, defStyle); in WearableListItemLayout()

1234567