/cts/tests/tests/widget/src/android/widget/cts/ |
ButtonTest.java | 33 AttributeSet attrs = Xml.asAttributeSet(parser); local 35 new Button(mContext, attrs, 0); 36 new Button(mContext, attrs);
|
FrameLayout_LayoutParamsTest.java | 45 AttributeSet attrs = getAttributeSet(); local 47 new LayoutParams(mContext, attrs); 50 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); 51 new LayoutParams(new LayoutParams(mContext, attrs)); 52 new LayoutParams(new MarginLayoutParams(mContext, attrs)); 56 fail("did not throw NullPointerException when context and attrs are null.");
|
ImageButtonTest.java | 32 AttributeSet attrs = Xml.asAttributeSet(parser); local 33 assertNotNull(attrs); 37 new ImageButton(getContext(), attrs); local 39 new ImageButton(getContext(), attrs, 0); local
|
RadioButtonTest.java | 41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); local 42 assertNotNull(attrs); 51 new RadioButton(mContext, attrs); 53 new RadioButton(null, attrs); 59 new RadioButton(mContext, attrs, 0); 61 new RadioButton(null, attrs, 0); 66 new RadioButton(mContext, attrs, Integer.MAX_VALUE); 67 new RadioButton(mContext, attrs, Integer.MIN_VALUE);
|
/development/ndk/platforms/android-3/include/linux/ |
attribute_container.h | 24 struct class_device_attribute **attrs; member in struct:attribute_container
|
/external/clang/test/CodeGen/ |
packed-union.c | 6 } __attribute__((__packed__)) attrs; typedef in typeref:struct:_attrs 10 attrs file_attrs;
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlSanitizer.java | 59 * @param attrs a list of alternating attribute name and value pairs. 67 void openTag(String elementName, List<String> attrs); 133 LinkedList<String> attrs = Lists.newLinkedList(); local 154 attrs.clear(); 164 attrs.add(attrs.getLast()); 168 attrs.add(HtmlLexer.canonicalName( 172 attrs.add(Encoding.decodeHtml(stripQuotes( 183 attrs.add(attrs.getLast()) [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLTable.java | 36 final AttributeSet attrs = getAttributes (); local 38 if (width != null) attrs.set (Attribute.WIDTH, width); 39 if (border != null) attrs.set (Attribute.BORDER, border); 40 if (cellpadding != null) attrs.set (Attribute.CELLPADDING, cellpadding); 41 if (cellspacing != null) attrs.set (Attribute.CELLSPACING, cellspacing);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
FieldWriter.java | 91 private Attribute attrs;
field in class:FieldWriter 159 attr.next = attrs;
160 attrs = attr;
203 if (attrs != null) {
204 size += attrs.getSize(cw, null, 0, -1, -1);
237 if (attrs != null) {
238 attributeCount += attrs.getCount();
265 if (attrs != null) {
266 attrs.put(cw, null, 0, -1, -1, out);
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
ElementPolicyTest.java | 29 String apply(String elementName, List<String> attrs) { 30 attrs.clear(); 41 List<String> attrs = Lists.newArrayList(); local 44 if (p.apply(elName, attrs) != null) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTestUtils.java | 54 AttributeSet attrs = null; local 78 attrs = Xml.asAttributeSet(parser); 86 return attrs;
|
/external/chromium_org/base/synchronization/ |
condition_variable_posix.cc | 32 pthread_condattr_t attrs; local 33 rv = pthread_condattr_init(&attrs); 35 pthread_condattr_setclock(&attrs, CLOCK_MONOTONIC); 36 rv = pthread_cond_init(&condition_, &attrs); 37 pthread_condattr_destroy(&attrs);
|
/external/chromium_org/content/child/service_worker/ |
web_service_worker_provider_impl.cc | 65 ServiceWorkerVersionAttributes attrs = context_->GetVersionAttributes(); local 67 GetDispatcher()->GetServiceWorker(attrs.installing, false)); 69 GetDispatcher()->GetServiceWorker(attrs.waiting, false)); 71 GetDispatcher()->GetServiceWorker(attrs.active, false));
|
/external/chromium_org/sandbox/win/src/ |
handle_inheritance_test.cc | 26 SECURITY_ATTRIBUTES attrs = {}; local 27 attrs.nLength = sizeof(attrs); 28 attrs.lpSecurityDescriptor = NULL; 29 attrs.bInheritHandle = TRUE; 33 &attrs, OPEN_EXISTING, 0, NULL);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TreeScopeAdopter.cpp | 73 WillBeHeapVector<RefPtrWillBeMember<Attr> >& attrs = *toElement(node)->attrNodeList(); local 74 for (unsigned i = 0; i < attrs.size(); ++i) 75 moveTreeToNewScope(*attrs[i]); 97 WillBeHeapVector<RefPtrWillBeMember<Attr> >& attrs = *toElement(node)->attrNodeList(); local 98 for (unsigned i = 0; i < attrs.size(); ++i) 99 moveTreeToNewDocument(*attrs[i], oldDocument, newDocument);
|
/external/chromium_org/ui/compositor/test/ |
in_process_context_factory.cc | 45 blink::WebGraphicsContext3D::Attributes attrs; local 46 attrs.depth = false; 47 attrs.stencil = false; 48 attrs.antialias = false; 49 attrs.shareResources = true; 55 attrs, lose_context_when_out_of_memory, compositor->widget()));
|
/external/chromium_org/ui/gl/ |
gl_image_android_native_buffer.cc | 27 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE}; local 29 EGL_NATIVE_BUFFER_ANDROID, native_buffer, attrs); 102 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE}; local 110 attrs);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
MemberNode.java | 69 public List attrs;
field in class:MemberNode 109 if (attrs == null) {
110 attrs = new ArrayList(1);
112 attrs.add(attr);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
ClassReaderGenerator.java | 25 private final Attribute[] attrs; field in class:ClassReaderGenerator 32 public ClassReaderGenerator(ClassReader r, Attribute[] attrs, int flags) { 34 this.attrs = (attrs != null) ? attrs : new Attribute[0]; 39 r.accept(v, attrs, flags);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLContextAttributes.cpp | 54 WebGLContextAttributes::WebGLContextAttributes(const WebGLContextAttributes& attrs) 56 , m_alpha(attrs.m_alpha) 57 , m_depth(attrs.m_depth) 58 , m_stencil(attrs.m_stencil) 59 , m_antialias(attrs.m_antialias) 60 , m_premultipliedAlpha(attrs.m_premultipliedAlpha) 61 , m_preserveDrawingBuffer(attrs.m_preserveDrawingBuffer) 62 , m_failIfMajorPerformanceCaveat(attrs.m_failIfMajorPerformanceCaveat) 144 blink::WebGraphicsContext3D::Attributes attrs; local 146 attrs.alpha = m_alpha [all...] |
/external/chromium_org/third_party/libxml/src/ |
testReader.c | 52 static int elem, attrs; variable 61 attrs += xmlTextReaderAttributeCount(reader); 72 attrs = 0; 98 printf("%s : %d elements, %d attributes\n", filename, elem, attrs);
|
/external/chromium_org/ui/base/ime/ |
composition_text_util_pango_unittest.cc | 36 const AttributeInfo attrs[10]; member in struct:__anon21255::TestData 108 const AttributeInfo* attrs = kTestData[i].attrs; local 113 for (size_t a = 0; attrs[a].type; ++a) { 115 switch (attrs[a].type) { 118 static_cast<PangoUnderline>(attrs[a].value)); 127 g_utf8_offset_to_pointer(text, attrs[a].start_offset) - text; 129 g_utf8_offset_to_pointer(text, attrs[a].end_offset) - text;
|
/external/chromium_org/ui/ozone/gpu/ |
gpu_memory_buffer_factory_ozone_native_buffer.cc | 20 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE}; local 21 if (!Initialize(EGL_NATIVE_PIXMAP_KHR, pixmap->GetEGLClientBuffer(), attrs))
|
/external/compiler-rt/test/msan/Linux/ |
xattr.cc | 111 char **attrs = (char **)malloc(argv_size); variable 112 argz_extract(attr_list, attr_list_size, attrs); 114 __msan_unpoison(attrs, argv_size); 115 for (size_t i = 0; (i < attr_list_len) && attrs[i]; i++) { 116 if (test_get_single_attr(fun, attrs[i]))
|
/external/llvm/tools/llvm-lto/ |
llvm-lto.cpp | 132 lto_symbol_attributes Attrs = Module->getSymbolAttributes(I); 133 unsigned Scope = Attrs & LTO_SYMBOL_SCOPE_MASK; 147 std::string attrs; local 150 attrs.append(","); 151 attrs.append(MAttrs[i]); 154 if (!attrs.empty()) 155 CodeGen.setAttr(attrs.c_str());
|