/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/ |
Attributes2ImplTest.java | 66 Attributes2Impl attrs = new Attributes2Impl(); local 67 attrs.addAttribute("", "", "john", "string", "doe"); 69 attrs.setAttributes(empty); 70 assertEquals(0, attrs.getLength()); 72 attrs.setAttributes(multi); 74 assertEquals(multi.getURI(i), attrs.getURI(i)); 75 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); 76 assertEquals(multi.getQName(i), attrs.getQName(i)); 77 assertEquals(multi.getType(i), attrs.getType(i)); 78 assertEquals(multi.getValue(i), attrs.getValue(i)) 116 Attributes2Impl attrs = new Attributes2Impl(); local 150 Attributes2Impl attrs = new Attributes2Impl(multi); local 195 Attributes2Impl attrs = new Attributes2Impl(multi); local [all...] |
/external/clang/test/CodeGen/ |
packed-union.c | 6 } __attribute__((__packed__)) attrs; typedef in typeref:struct:_attrs 10 attrs file_attrs;
|
/cts/tests/src/android/view/cts/ |
MockViewStub.java | 28 public MockViewStub(Context context, AttributeSet attrs) { 29 super(context, attrs); 32 public MockViewStub(Context context, AttributeSet attrs, int defStyle) { 33 super(context, attrs, defStyle);
|
TestButton.java | 29 public TestButton(Context context, AttributeSet attrs) { 30 super(context, attrs); 33 public TestButton(Context context, AttributeSet attrs, int defStyle) { 34 super(context, attrs, defStyle);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallLogListItemView.java | 31 public CallLogListItemView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public CallLogListItemView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle);
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/bytecode/ |
CustomView3.class.data | |
/external/harfbuzz/tests/linebreaking/ |
main.cpp | 37 QVector<HB_CharAttributes> attrs(str.length()); 44 attrs.data()); 45 return attrs; 149 QVector<HB_CharAttributes> attrs = getCharAttributes(str); local 154 if ( (attrs[i].lineBreakType != HB_NoBreak) != (bool)b->breaks[i] ) { 155 qDebug("test case \"%s\" failed at char %d; break type: %d", b->utf8, i, attrs[i].lineBreakType); 156 QCOMPARE( (attrs[i].lineBreakType != HB_NoBreak), (bool)b->breaks[i] ); 159 QVERIFY(attrs[i].lineBreakType == HB_ForcedBreak); 171 QVector<HB_CharAttributes> attrs = getCharAttributes(txt); local 172 QVERIFY(attrs[1].charStop) 182 QVector<HB_CharAttributes> attrs = getCharAttributes(txt); local 197 QVector<HB_CharAttributes> attrs = getCharAttributes(txt, HB_Script_Thai); local [all...] |
/external/chromium/chrome/browser/metrics/ |
metrics_response.cc | 23 const xmlChar** attrs) { 24 if (!name || !attrs) 30 for (int i = 0; attrs[i] && attrs[i + i]; i += 2) { 31 if (strcmp(Char(attrs[i]), "interval") == 0) { 32 state->interval = atoi(Char(attrs[i + 1])); 37 for (int i = 0; attrs[i] && attrs[i + 1]; i += 2) { 38 if (strcmp(Char(attrs[i]), "events") == 0) { 39 state->events = atoi(Char(attrs[i + 1])) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractButton.java | 31 public ExtractButton(Context context, AttributeSet attrs) { 32 super(context, attrs, com.android.internal.R.attr.buttonStyle); 35 public ExtractButton(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle);
|
/frameworks/base/core/java/android/preference/ |
PreferenceCategory.java | 38 public PreferenceCategory(Context context, AttributeSet attrs, int defStyle) { 39 super(context, attrs, defStyle); 42 public PreferenceCategory(Context context, AttributeSet attrs) { 43 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle);
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboardView.java | 31 public PasswordEntryKeyboardView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public PasswordEntryKeyboardView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DeadZone.java | 27 public DeadZone(Context context, AttributeSet attrs) { 28 this(context, attrs, 0); 31 public DeadZone(Context context, AttributeSet attrs, int defStyle) { 32 super(context, attrs);
|
/packages/apps/Browser/src/com/android/browser/view/ |
CustomScreenLinearLayout.java | 32 public CustomScreenLinearLayout(Context context, AttributeSet attrs) { 33 super(context, attrs); 37 public CustomScreenLinearLayout(Context context, AttributeSet attrs, 39 super(context, attrs, defStyle);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
FullHeightLinearLayout.java | 35 public FullHeightLinearLayout(Context context, AttributeSet attrs) { 36 super(context, attrs); 39 public FullHeightLinearLayout(Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicImageView.java | 32 public HolographicImageView(Context context, AttributeSet attrs) { 33 this(context, attrs, 0); 36 public HolographicImageView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
EditorRelativeLayout.java | 36 public EditorRelativeLayout(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 42 public EditorRelativeLayout(Context context, AttributeSet attrs) { 43 this(context, attrs, 0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
AttrsXmlParserTest.java | 65 AttributeInfo[] attrs = info.getAttributes(); local 66 assertEquals(1, attrs.length); 100 AttributeInfo[] attrs = dep.getAttributes(); local 101 assertEquals(4, attrs.length); 103 assertEquals("deprecated-inline", attrs[0].getName()); 104 assertEquals("In-line deprecated.", attrs[0].getDeprecatedDoc()); 105 assertEquals("Deprecated comments using delimiters.", attrs[0].getJavaDoc()); 107 assertEquals("deprecated-multiline", attrs[1].getName()); 109 attrs[1].getDeprecatedDoc()); 110 assertEquals("Deprecated comments on their own line.", attrs[1].getJavaDoc()) [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomCheckBoxPreference.java | 29 public CustomCheckBoxPreference(Context context, AttributeSet attrs) { 30 super(context, attrs); 31 init(attrs); 40 public CustomCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle); 42 init(attrs); 47 private void init(AttributeSet attrs) { 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomDialogPreference.java | 29 public CustomDialogPreference(Context context, AttributeSet attrs) { 30 super(context, attrs); 31 init(attrs); 36 public CustomDialogPreference(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle); 38 init(attrs); 43 private void init(AttributeSet attrs) { 44 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomEditTextPreference.java | 29 public CustomEditTextPreference(Context context, AttributeSet attrs) { 30 super(context, attrs); 31 init(attrs); 40 public CustomEditTextPreference(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle); 42 init(attrs); 47 private void init(AttributeSet attrs) { 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomPreferenceGroup.java | 30 public CustomPreferenceGroup(Context context, AttributeSet attrs) { 31 super(context, attrs); 32 init(attrs); 39 public CustomPreferenceGroup(Context context, AttributeSet attrs, int defStyle) { 40 super(context, attrs, defStyle); 41 init(attrs); 44 private void init(AttributeSet attrs) { 45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
CustomSwitchPreference.java | 30 public CustomSwitchPreference(Context context, AttributeSet attrs) { 31 super(context, attrs); 32 init(attrs); 41 public CustomSwitchPreference(Context context, AttributeSet attrs, int defStyle) { 42 super(context, attrs, defStyle); 43 init(attrs); 48 private void init(AttributeSet attrs) { 49 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioButtonTest.java | 40 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); local 41 assertNotNull(attrs); 50 new RadioButton(mContext, attrs); 52 new RadioButton(null, attrs); 58 new RadioButton(mContext, attrs, 0); 60 new RadioButton(null, attrs, 0); 65 new RadioButton(mContext, attrs, Integer.MAX_VALUE); 66 new RadioButton(mContext, attrs, Integer.MIN_VALUE);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
VerticalSlider.java | 12 public VerticalSlider(Context context, AttributeSet attrs) { 13 super(context, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
PanelBackgroundView.java | 32 public PanelBackgroundView(Context context, AttributeSet attrs) { 33 super(context, attrs);
|