Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 35) sorted by relevance

12

/development/vndk/tools/definition-tool/tests/
Dcompat.py65 obj, attr = target.rsplit('.')
67 original_value = getattr(obj, attr)
68 setattr(obj, attr, mock)
72 setattr(obj, attr, original_value)
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js35 canvas.attr("width", diameter + 200);
36 canvas.attr("height", diameter);
39 svg.attr("transform", "translate(" + (radius + 100) + "," + radius + ")");
210 .attr("class", function(d) { return d.allow ? "link" : "link--violate" })
211 .attr("d", line);
216 .attr("class",
224 .attr("dy", "0.31em")
225 .attr("transform",
230 .attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDraggableDot.java112 int attr = a.getIndex(i); in DraggableDot() local
113 switch (attr) { in DraggableDot()
115 mRadius = a.getDimensionPixelSize(attr, 0); in DraggableDot()
119 mLegend = a.getText(attr); in DraggableDot()
123 mAnrType = a.getInt(attr, 0); in DraggableDot()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DFieldSourcer.java54 public void visitAttribute(Attribute attr) { in visitAttribute() argument
55 mOutput.write("%s /* non-standard attribute */ ", attr.type); in visitAttribute()
DClassSourcer.java111 public void visitAttribute(Attribute attr) { in visitAttribute() argument
112 mOutput.write("%s /* non-standard class attribute */ ", attr.type); in visitAttribute()
DMethodSourcer.java161 public void visitAttribute(Attribute attr) { in visitAttribute() argument
162 mOutput.write("%s /* non-standard method attribute */ ", attr.type); in visitAttribute()
/development/tools/mkstubs/src/com/android/mkstubs/stubber/
DClassStubber.java57 public void visitAttribute(Attribute attr) { in visitAttribute() argument
58 super.visitAttribute(attr); in visitAttribute()
DMethodStubber.java86 public void visitAttribute(Attribute attr) { in visitAttribute() argument
87 super.visitAttribute(attr); in visitAttribute()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java77 android.R.attr.state_enabled, in CandidateView()
78 android.R.attr.state_focused, in CandidateView()
79 android.R.attr.state_window_focused, in CandidateView()
80 android.R.attr.state_pressed in CandidateView()
DSoftKeyboard.java483 private void updateShiftKeyState(EditorInfo attr) { in updateShiftKeyState() argument
484 if (attr != null in updateShiftKeyState()
489 caps = getCurrentInputConnection().getCursorCapsMode(attr.inputType); in updateShiftKeyState()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java208 this(context, attrs, android.R.attr.buttonStyle); in BaseToggleButton()
217 context.getTheme().resolveAttribute(android.R.attr.textSize, typedValue, true); in BaseToggleButton()
222 context.getTheme().resolveAttribute(android.R.attr.textColorPrimary, typedValue, true); in BaseToggleButton()
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java35 private static final int[] CHECKED_STATE_SET = {android.R.attr.state_checked};
/development/samples/ApiDemos/src/com/example/android/apis/text/
DLogTextBox.java43 this(context, attrs, android.R.attr.textViewStyle); in LogTextBox()
/development/apps/Development/src/com/android/development/
DLogTextBox.java46 this(context, attrs, android.R.attr.textViewStyle); in LogTextBox()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DTouchHighlightImageButton.java70 .obtainStyledAttributes(new int[]{android.R.attr.selectableItemBackground}); in init()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButton.java52 android.R.attr.state_checked
/development/tools/mkstubs/src/com/android/mkstubs/
DFilterClassAdapter.java138 public void visitAttribute(Attribute attr) { in visitAttribute() argument
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DThumbnailRadioButton.java88 states.addState(new int[]{android.R.attr.state_checked}, in setThumbnail()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlertDialogSamples.java104 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()
117 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()

12