/external/chromium_org/ppapi/shared_impl/ |
media_stream_audio_track_shared_unittest.cc | 12 MediaStreamAudioTrackShared::Attributes attributes; local 13 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 18 MediaStreamAudioTrackShared::Attributes attributes; local 19 attributes.buffers = 0; 20 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 22 attributes.buffers = 8; 23 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); 25 attributes.buffers = 1024 [all...] |
media_stream_video_track_shared_unittest.cc | 12 MediaStreamVideoTrackShared::Attributes attributes; local 13 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 18 MediaStreamVideoTrackShared::Attributes attributes; local 19 attributes.buffers = 0; 20 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 22 attributes.buffers = 8; 23 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); 25 attributes.buffers = 1024 34 MediaStreamVideoTrackShared::Attributes attributes; local 52 MediaStreamVideoTrackShared::Attributes attributes; local 74 MediaStreamVideoTrackShared::Attributes attributes; local [all...] |
media_stream_audio_track_shared.cc | 11 const Attributes& attributes) { 12 if (attributes.buffers < 0)
|
media_stream_video_track_shared.cc | 20 const Attributes& attributes) { 21 if (attributes.buffers < 0) 23 if (attributes.format < PP_VIDEOFRAME_FORMAT_UNKNOWN || 24 attributes.format > PP_VIDEOFRAME_FORMAT_LAST) { 27 if (attributes.width < 0 || 28 attributes.width > kMaxWidth || 29 attributes.width & 0x3) { 32 if (attributes.height < 0 || 33 attributes.height > kMaxHeight | [all...] |
media_stream_audio_track_shared.h | 15 struct Attributes { 16 Attributes() : buffers(0) {} 20 static bool VerifyAttributes(const Attributes& attributes);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ElementDataCache.cpp | 34 inline unsigned attributeHash(const Vector<Attribute>& attributes) 36 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute)); 39 inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElementData& elementData) 41 if (attributes.size() != elementData.attributeCount()) 43 return !memcmp(attributes.data(), elementData.m_attributeArray, attributes.size() * sizeof(Attribute)); 46 PassRefPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes) 48 ASSERT(!attributes.isEmpty()); 50 ShareableElementDataCache::ValueType* it = m_shareableElementDataCache.add(attributeHash(attributes), nullptr).storedValue [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SimpleAttributeTableGenerator.java | 13 private final AttributeTable attributes; field in class:SimpleAttributeTableGenerator 16 AttributeTable attributes) 18 this.attributes = attributes; 23 return attributes;
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
SampleGattAttributes.java | 22 * This class includes a small subset of standard GATT attributes for demonstration purposes. 25 private static HashMap<String, String> attributes = new HashMap(); field in class:SampleGattAttributes 31 attributes.put("0000180d-0000-1000-8000-00805f9b34fb", "Heart Rate Service"); 32 attributes.put("0000180a-0000-1000-8000-00805f9b34fb", "Device Information Service"); 34 attributes.put(HEART_RATE_MEASUREMENT, "Heart Rate Measurement"); 35 attributes.put("00002a29-0000-1000-8000-00805f9b34fb", "Manufacturer Name String"); 39 String name = attributes.get(uuid);
|
/external/proguard/src/proguard/classfile/editor/ |
AttributesEditor.java | 27 * This class can add and delete attributes to and from classes, fields, 28 * methods, and code attributes. Attributes to be added must be filled out 30 * attributes of the same type are always replaced. 43 * Creates a new AttributeAdder that will edit attributes in the given 54 * Creates a new AttributeAdder that will edit attributes in the given 66 * Creates a new AttributeAdder that will edit attributes in the given 92 targetAttribute.attributes, 96 targetAttribute.attributes = 98 targetAttribute.attributes, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceRadialGradient.cpp | 47 FloatPoint RenderSVGResourceRadialGradient::centerPoint(const RadialGradientAttributes& attributes) const 49 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.cx(), attributes.cy()); 52 FloatPoint RenderSVGResourceRadialGradient::focalPoint(const RadialGradientAttributes& attributes) const 54 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.fx(), attributes.fy()); 57 float RenderSVGResourceRadialGradient::radius(const RadialGradientAttributes& attributes) const 59 return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.r()) [all...] |
RenderSVGResourceLinearGradient.cpp | 46 FloatPoint RenderSVGResourceLinearGradient::startPoint(const LinearGradientAttributes& attributes) const 48 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x1(), attributes.y1()); 51 FloatPoint RenderSVGResourceLinearGradient::endPoint(const LinearGradientAttributes& attributes) const 53 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x2(), attributes.y2());
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macgl.c | 37 GLint attributes [ 26 ]; /* 26 is max possible in this setup */ local 48 attributes[i++] = AGL_RGBA; 52 attributes[i++] = AGL_RED_SIZE; 53 attributes[i++] = this->gl_config.red_size; 54 attributes[i++] = AGL_GREEN_SIZE; 55 attributes[i++] = this->gl_config.green_size; 56 attributes[i++] = AGL_BLUE_SIZE; 57 attributes[i++] = this->gl_config.blue_size; 58 attributes[i++] = AGL_ALPHA_SIZE; 59 attributes[i++] = this->gl_config.alpha_size [all...] |
/frameworks/base/sax/java/android/sax/ |
StartElementListener.java | 19 import org.xml.sax.Attributes; 29 * @param attributes from the element 31 void start(Attributes attributes);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CurrentXmlHandler.java | 19 import org.xml.sax.Attributes; 55 public void startElement(String uri, String localName, String name, Attributes attributes) 57 super.startElement(uri, localName, name, attributes); 59 mCurrentPackageName = getValue(attributes, "name"); 65 if (isEnum(attributes)) { 70 mCurrentClassName = getValue(attributes, "name"); 71 mDeprecated = isDeprecated(attributes); 72 ApiClass apiClass = new ApiClass(mCurrentClassName, mDeprecated, isAbstract(attributes)); 79 mDeprecated = isDeprecated(attributes); [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Registration.java | 31 * existing account information. XMPP servers may require a number of attributes to be set 32 * when creating a new account. The standard account attributes are as follows: 54 private Map<String, String> attributes = new HashMap<String,String>(); field in class:Registration 80 * Returns the map of String key/value pairs of account attributes. 82 * @return the account attributes. 85 return attributes; 89 * Sets the account attributes. The map must only contain String key/value pairs. 91 * @param attributes the account attributes. 93 public void setAttributes(Map<String, String> attributes) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Attributes.java | 20 * Attributes ::= 24 public class Attributes 27 private ASN1Set attributes; field in class:Attributes 29 private Attributes(ASN1Set set) 31 attributes = set; 34 public Attributes(ASN1EncodableVector v) 36 attributes = new DLSet(v); 45 * <li> {@link Attributes} object 46 * <li> {@link org.bouncycastle.asn1.ASN1Set#getInstance(java.lang.Object) ASN1Set} input formats with Attributes structure inside 52 public static Attributes getInstance(Object obj [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
stub_enterprise_install_attributes.cc | 41 StubEnterpriseInstallAttributes* attributes = local 43 attributes->SetDomain(domain); 44 attributes->SetRegistrationUser(registration_user); 45 attributes->SetDeviceId(device_id); 46 attributes->SetMode(mode); 47 BrowserPolicyConnectorChromeOS::SetInstallAttributesForTesting(attributes);
|
/frameworks/base/core/java/android/os/ |
Vibrator.java | 74 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example, 79 public void vibrate(long milliseconds, AudioAttributes attributes) { 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); local 126 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example, 131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); local 141 AudioAttributes attributes); 149 AudioAttributes attributes);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
PlatformStatus.java | 29 NamedNodeMap attributes = anElement.getAttributes(); local 30 this.id = (String) attributes.getNamedItem("id").getNodeValue(); 31 this.name = (String) attributes.getNamedItem("name").getNodeValue(); 32 this.fileName = (String) attributes.getNamedItem("fileName").getNodeValue();
|
/libcore/luni/src/test/java/libcore/xml/ |
SaxTest.java | 26 import org.xml.sax.Attributes; 41 String qName, Attributes attributes) { 45 assertEquals(1, attributes.getLength()); 46 assertEquals("", attributes.getURI(0)); 47 assertOneOf("bar", "", attributes.getLocalName(0)); 48 assertEquals("bar", attributes.getQName(0)); 54 String qName, Attributes attributes) { 58 assertEquals(1, attributes.getLength()) [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApiDescrHandler.java | 69 Attributes attributes) { 74 attributes.getValue("name")); 78 attributes.getValue("name"), 79 attributes.getValue("extends"), 80 attributes.getValue("static")); 83 mCurrentClass.addInterface(attributes.getValue("name")); 86 mCurrentMethod = new MethodInfo(attributes.getValue("name"), 87 attributes.getValue("return")); 121 FieldInfo fInfo = new FieldInfo(attributes.getValue("name") [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleInternalsTest.java | 67 Set<String> attributes = new HashSet<String>(); local 69 // Only attributes. 70 Locale.parseUnicodeExtension("foooo".split("-"), keywords, attributes); 71 assertTrue(attributes.contains("foooo")); 74 attributes.clear(); 77 keywords, attributes); 78 assertTrue(attributes.contains("foooo")); 79 assertTrue(attributes.contains("baa")); 80 assertTrue(attributes.contains("baaabaaa")); 84 attributes.clear() [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
reload.py | 8 def __init__(self, attributes=None): 9 super(ReloadAction, self).__init__(attributes)
|