/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
EffectsMenu.java | 44 public EffectsMenu(Context context, AttributeSet attrs) { 45 super(context, attrs);
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
AbstractSeekBar.java | 35 public AbstractSeekBar(Context context, AttributeSet attrs) { 36 super(context, attrs);
|
DoodleAction.java | 36 public DoodleAction(Context context, AttributeSet attrs) { 37 super(context, attrs);
|
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialerView.java | 54 public DTMFTwelveKeyDialerView(Context context, AttributeSet attrs) { 55 super(context, attrs);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
CorpusView.java | 44 public CorpusView(Context context, AttributeSet attrs) { 45 super(context, attrs);
|
/packages/apps/Settings/src/com/android/settings/ |
ProgressCategory.java | 31 public ProgressCategory(Context context, AttributeSet attrs) { 32 super(context, attrs);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
AnimatedImageView.java | 34 public AnimatedImageView(Context context, AttributeSet attrs) { 35 super(context, attrs); 45 // TODO: define in drawable xml once we have public attrs.
|
ChartGridView.java | 58 public ChartGridView(Context context, AttributeSet attrs) { 59 this(context, attrs, 0); 62 public ChartGridView(Context context, AttributeSet attrs, int defStyle) { 63 super(context, attrs, defStyle); 68 attrs, R.styleable.ChartGridView, defStyle, 0);
|
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/ |
XmlDictInputOutput.java | 82 public void startElement(String uri, String localName, String qName, Attributes attrs) { 86 for (int attrIndex = 0; attrIndex < attrs.getLength(); ++attrIndex) { 87 final String attrName = attrs.getLocalName(attrIndex); 89 mFreq = Integer.parseInt(attrs.getValue(attrIndex)); 135 public void startElement(String uri, String localName, String qName, Attributes attrs) { 137 mW1 = attrs.getValue(uri, BIGRAM_W1_ATTRIBUTE); 139 String w2 = attrs.getValue(uri, BIGRAM_W2_ATTRIBUTE); 140 int freq = Integer.parseInt(attrs.getValue(uri, BIGRAM_FREQ_ATTRIBUTE));
|
/frameworks/base/core/java/android/preference/ |
EditTextPreference.java | 53 public EditTextPreference(Context context, AttributeSet attrs, int defStyle) { 54 super(context, attrs, defStyle); 56 mEditText = new EditText(context, attrs); 70 public EditTextPreference(Context context, AttributeSet attrs) { 71 this(context, attrs, com.android.internal.R.attr.editTextPreferenceStyle);
|
PreferenceGroup.java | 52 public PreferenceGroup(Context context, AttributeSet attrs, int defStyle) { 53 super(context, attrs, defStyle); 57 TypedArray a = context.obtainStyledAttributes(attrs, 64 public PreferenceGroup(Context context, AttributeSet attrs) { 65 this(context, attrs, 0);
|
RingtonePreference.java | 53 public RingtonePreference(Context context, AttributeSet attrs, int defStyle) { 54 super(context, attrs, defStyle); 56 TypedArray a = context.obtainStyledAttributes(attrs, 67 public RingtonePreference(Context context, AttributeSet attrs) { 68 this(context, attrs, com.android.internal.R.attr.ringtonePreferenceStyle);
|
/frameworks/base/core/java/android/view/ |
ViewStub.java | 92 public ViewStub(Context context, AttributeSet attrs) { 93 this(context, attrs, 0); 97 public ViewStub(Context context, AttributeSet attrs, int defStyle) { 98 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewStub, 106 a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.View, defStyle, 0);
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 55 public CheckedTextView(Context context, AttributeSet attrs) { 56 this(context, attrs, 0); 59 public CheckedTextView(Context context, AttributeSet attrs, int defStyle) { 60 super(context, attrs, defStyle); 62 TypedArray a = context.obtainStyledAttributes(attrs,
|
Chronometer.java | 88 public Chronometer(Context context, AttributeSet attrs) { 89 this(context, attrs, 0); 96 public Chronometer(Context context, AttributeSet attrs, int defStyle) { 97 super(context, attrs, defStyle); 100 attrs,
|
RatingBar.java | 86 public RatingBar(Context context, AttributeSet attrs, int defStyle) { 87 super(context, attrs, defStyle); 89 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.RatingBar, 116 public RatingBar(Context context, AttributeSet attrs) { 117 this(context, attrs, com.android.internal.R.attr.ratingBarStyle);
|
RadioGroup.java | 74 public RadioGroup(Context context, AttributeSet attrs) { 75 super(context, attrs); 80 attrs, com.android.internal.R.styleable.RadioGroup, com.android.internal.R.attr.radioButtonStyle, 0); 222 public LayoutParams generateLayoutParams(AttributeSet attrs) { 223 return new RadioGroup.LayoutParams(getContext(), attrs); 253 public LayoutParams(Context c, AttributeSet attrs) { 254 super(c, attrs);
|
ViewAnimator.java | 51 public ViewAnimator(Context context, AttributeSet attrs) { 52 super(context, attrs); 54 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); 70 initViewAnimator(context, attrs); 77 private void initViewAnimator(Context context, AttributeSet attrs) { 78 if (attrs == null) { 86 final TypedArray a = context.obtainStyledAttributes(attrs,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ToggleSlider.java | 53 public ToggleSlider(Context context, AttributeSet attrs) { 54 this(context, attrs, 0); 57 public ToggleSlider(Context context, AttributeSet attrs, int defStyle) { 58 super(context, attrs, defStyle); 62 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ToggleSlider,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Hotseat.java | 45 public Hotseat(Context context, AttributeSet attrs) { 46 this(context, attrs, 0); 49 public Hotseat(Context context, AttributeSet attrs, int defStyle) { 50 super(context, attrs, defStyle); 52 TypedArray a = context.obtainStyledAttributes(attrs,
|
/frameworks/base/core/java/android/animation/ |
AnimatorInflater.java | 97 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering) 117 anim = loadObjectAnimator(c, attrs); 119 anim = loadAnimator(c, attrs, null); 122 TypedArray a = c.obtainStyledAttributes(attrs, 126 createAnimatorFromXml(c, parser, attrs, (AnimatorSet) anim, ordering); 156 private static ObjectAnimator loadObjectAnimator(Context context, AttributeSet attrs) 161 loadAnimator(context, attrs, anim); 164 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.PropertyAnimator); 180 * @param attrs the set of attributes holding the animation parameters 182 private static ValueAnimator loadAnimator(Context context, AttributeSet attrs, ValueAnimator anim [all...] |
/external/clang/lib/Parse/ |
ParseStmt.cpp | 85 ParsedAttributesWithRange attrs(AttrFactory); 86 MaybeParseCXX0XAttributes(attrs); 110 return ParseLabeledStatement(attrs); 207 DeclEnd, attrs); 216 return ParseExprStatement(attrs); 220 return ParseCaseStatement(attrs); 222 return ParseDefaultStatement(attrs); 225 return ParseCompoundStatement(attrs); 234 return ParseIfStatement(attrs); 236 return ParseSwitchStatement(attrs); [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributesImplTest.java | 237 AttributesImpl attrs = new AttributesImpl(); local 238 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", 241 attrs.setAttributes(empty); 242 assertEquals(0, attrs.getLength()); 244 attrs.setAttributes(multi); 245 assertEquals(multi.getLength(), attrs.getLength()); 248 assertEquals(multi.getURI(i), attrs.getURI(i)); 249 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); 250 assertEquals(multi.getQName(i), attrs.getQName(i)); 251 assertEquals(multi.getType(i), attrs.getType(i)) [all...] |
/external/wpa_supplicant/ |
radius.c | 56 msg->attrs = 57 os_malloc(RADIUS_DEFAULT_ATTR_COUNT * sizeof(*msg->attrs)); 58 if (msg->attrs == NULL) { 88 if (msg->attrs != NULL) { 89 os_free(msg->attrs); 90 msg->attrs = NULL; 284 radius_msg_dump_attr(msg->attrs[i]); 388 nattrs = os_realloc(msg->attrs, nlen * sizeof(*msg->attrs)); 392 msg->attrs = nattrs [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 128 int[] attrs = { local 135 attrArray = testTheme.obtainStyledAttributes(attrs); 209 int[] attrs = android.R.styleable.DatePicker; local 211 attrs); 213 assertEquals(attrs.length, testTypedArray.length()); 218 attrs, 0, 0); 220 assertEquals(attrs.length, testTypedArray.length());
|