/development/vndk/tools/sourcedr/blueprint/ |
D | analyze_manifest_split.py | 71 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 …]
|
D | vndk.py | 30 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)
|
D | blueprint.py | 63 def __new__(mcs, name, bases, attrs): argument 68 for key, value in attrs.iteritems(): 513 attrs = ', '.join(key + ': ' + repr(value) 515 return '{' + attrs + '}' 820 modules = [(ident, attrs.eval(env)) for ident, attrs in modules] 911 for i, (ident, attrs) in enumerate(modules): 912 name = attrs.get('name') 914 named_modules[name] = [ident, attrs, i] 920 modules = [(ident, attrs, i) for i, (ident, attrs) in enumerate(modules)] 924 for ident, attrs, module_id in modules: [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ResourcePointerIconButton.java | 33 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()
|
D | StaticPointerIconButton.java | 35 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()
|
D | SystemPointerIconButton.java | 31 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()
|
D | LivePointerIconButton.java | 34 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()
|
D | CustomLayout.java | 54 public CustomLayout(Context context, AttributeSet attrs) { in CustomLayout() argument 55 this(context, attrs, 0); in CustomLayout() 58 public CustomLayout(Context context, AttributeSet attrs, int defStyle) { in CustomLayout() argument 59 super(context, attrs, defStyle); in CustomLayout() 189 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() argument 190 return new CustomLayout.LayoutParams(getContext(), attrs); in generateLayoutParams() 224 public LayoutParams(Context c, AttributeSet attrs) { in LayoutParams() argument 225 super(c, attrs); in LayoutParams() 230 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.CustomLayoutLP); in LayoutParams()
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | SquareFrameLayout.java | 32 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/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
D | FloatingActionButton.java | 67 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/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 50 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/ApiDemos/src/com/example/android/apis/accessibility/ |
D | CustomViewAccessibilityActivity.java | 76 public AccessibleCompoundButtonInheritance(Context context, AttributeSet attrs) { in AccessibleCompoundButtonInheritance() argument 77 super(context, attrs); in AccessibleCompoundButtonInheritance() 127 public AccessibleCompoundButtonComposition(Context context, AttributeSet attrs) { in AccessibleCompoundButtonComposition() argument 128 super(context, attrs); in AccessibleCompoundButtonComposition() 207 public BaseToggleButton(Context context, AttributeSet attrs) { in BaseToggleButton() argument 208 this(context, attrs, android.R.attr.buttonStyle); in BaseToggleButton() 211 public BaseToggleButton(Context context, AttributeSet attrs, int defStyle) { in BaseToggleButton() argument 212 super(context, attrs, defStyle); in BaseToggleButton()
|
/development/samples/Snake/src/com/example/android/snake/ |
D | TileView.java | 62 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/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | LatinKeyboardView.java | 32 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/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingLayout.java | 47 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/ApiDemos/src/com/example/android/apis/text/ |
D | LogTextBox.java | 42 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/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | AutoFitTextureView.java | 35 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/Camera2Video/src/com.example.android.camera2video/ |
D | AutoFitTextureView.java | 35 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/ |
D | LogTextBox.java | 45 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/Camera2Raw/src/com.example.android.camera2raw/ |
D | AutoFitTextureView.java | 35 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/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | BackgroundContainer.java | 37 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/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | BackgroundContainer.java | 37 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/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionsRecyclerView.java | 43 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/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardActionButton.java | 38 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()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | SkewableTextView.java | 36 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()
|