Home
last modified time | relevance | path

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

12

/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.java494 private void updateShiftKeyState(EditorInfo attr) { in updateShiftKeyState() argument
495 if (attr != null in updateShiftKeyState()
500 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/SampleInputMethodAccessibilityService/src/com/example/android/sampleinputmethodaccessibilityservice/
DSampleInputMethodAccessibilityService.java88 android.R.attr.listSeparatorTextViewStyle); in addButtons()
97 final Button button = new Button(this, null, android.R.attr.buttonStyleSmall); in addButtons()
150 final TextView textView = new TextView(this, null, android.R.attr.windowTitleStyle); in onServiceConnected()
/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/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DConnectivityFragment.java72 .resolveAttribute(android.R.attr.windowBackground, background, true); in onViewCreated()
/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/ApiDemos/src/com/example/android/apis/app/
DAlertDialogSamples.java104 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()
117 .setIconAttribute(android.R.attr.alertDialogIcon) in onCreateDialog()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java68 context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); in SlidingTabStrip()
/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/BasicTransition/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()

12