/frameworks/base/tools/localize/ |
H A D | XMLNode.h | 10 string ns; member in struct:XMLAttribute 15 const string& ns, const string& name, const string& def);
|
H A D | XMLHandler.h | 19 string ns; member in struct:XMLAttribute 25 XMLAttribute(string ns, string name, string value); 38 const string& ns, const string& name, const string& def); 46 string Get(const string& ns) const; 47 string GetPrefix(const string& ns) const; 66 static XMLNode* NewElement(const SourcePos& pos, const string& ns, const string& name, 89 inline void SetName(const string& ns, const string& n) { m_ns = ns; m_name = n; } argument 94 vector<XMLNode*> GetElementsByName(const string& ns, const string& name) const; 95 XMLNode* GetElementByNameAt(const string& ns, cons [all...] |
H A D | XMLHandler.cpp | 72 XMLNamespaceMap::Get(const string& ns) const 74 if (ns == "xml") { 75 return ns; 77 map<string,string>::const_iterator it = m_map.find(ns); 86 XMLNamespaceMap::GetPrefix(const string& ns) const 88 if (ns == "") { 91 map<string,string>::const_iterator it = m_map.find(ns); 128 :ns(that.ns), 135 :ns( 158 Find(const vector<XMLAttribute>& list, const string& ns, const string& name, const string& def) argument 208 NewElement(const SourcePos& pos, const string& ns, const string& name, const vector<XMLAttribute>& attrs, int pretty) argument 394 GetElementsByName(const string& ns, const string& name) const argument 408 GetElementByNameAt(const string& ns, const string& name, size_t index) const argument 426 CountElementsByName(const string& ns, const string& name) const argument 440 GetAttribute(const string& ns, const string& name, const string& def) const argument 446 parse_namespace(const char* data, string* ns, string* name) argument 742 OnEndElement(const SourcePos& pos, const string& ns, const string& name) argument [all...] |
H A D | ValuesFile.cpp | 31 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 56 ArrayHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, argument 59 if (ns == "" && name == "item") { 60 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); 93 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 113 ValuesHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, argument 116 if (ns == "" && name == "string") { 118 XMLNode* node = XMLNode::NewElement(pos, ns, name, attrs, XMLNode::EXACT); 124 else if (ns == "" && name == "array") {
|
H A D | res_check.cpp | 71 is_xliff_block(const string& ns, const string& name) argument 73 if (ns == XLIFF_XMLNS) {
|
/frameworks/base/services/sensorservice/ |
H A D | SensorInterface.cpp | 53 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument 54 return mSensorDevice.setDelay(ident, handle, ns);
|
H A D | SensorInterface.h | 42 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0; 63 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | SensorDevice.cpp | 204 nsecs_t ns = info.rates.valueAt(0); local 206 if (info.rates.valueAt(i) < ns) { 208 if (cur < ns) { 209 ns = cur; 213 mSensorDevice->setDelay(mSensorDevice, handle, ns); 219 status_t SensorDevice::setDelay(void* ident, int handle, int64_t ns) argument 227 info.rates.editValueAt(index) = ns; 228 ns = info.rates.valueAt(0); 231 if (cur < ns) { 232 ns [all...] |
H A D | GravitySensor.h | 46 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | LinearAccelerationSensor.h | 44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | RotationVectorSensor.h | 50 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | SensorDevice.h | 54 status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | LinearAccelerationSensor.cpp | 60 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 61 return mGravitySensor.setDelay(ident, handle, ns);
|
H A D | GravitySensor.cpp | 84 status_t GravitySensor::setDelay(void* ident, int handle, int64_t ns) argument 86 return mSensorDevice.setDelay(this, mAccelerometer.getHandle(), ns);
|
H A D | SensorService.h | 75 virtual status_t setEventRate(int handle, nsecs_t ns); 135 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Material.java | 34 private float ns; field in class:Material 57 Math.min(Math.max(ns, 0), 128)); 69 // Math.min(Math.max(ns, 0), 128)); 101 this.ns = dis.readFloat(); 112 "ns=" + ns + "," +
|
/frameworks/base/libs/gui/ |
H A D | ISensorEventConnection.cpp | 65 virtual status_t setEventRate(int handle, nsecs_t ns) argument 70 data.writeInt64(ns); 101 int ns = data.readInt64(); local 102 status_t result = setEventRate(handle, ns);
|
H A D | SensorEventQueue.cpp | 143 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { 144 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 221 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 222 if (ns == NULL) { 223 ns = (const uint16_t*)"\0\0"; 226 const String8 nspace(String16(ns, nslen)); 278 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 279 if (ns == NULL) { 280 ns = (const uint16_t*)"\0\0"; 283 const String8 nspace(String16(ns, nslen)); 390 const uint16_t* ns) 393 if (ns ! 389 build_namespace(const Vector<namespace_entry>& namespaces, const uint16_t* ns) argument 436 String8 ns = build_namespace(namespaces, ns16); local 467 namespace_entry ns; local 482 const namespace_entry& ns = namespaces.top(); local [all...] |
H A D | XMLNode.h | 48 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { argument 49 return new XMLNode(filename, ns, name, false); 86 String16 ns; member in struct:XMLNode::attribute_entry 97 const attribute_entry* getAttribute(const String16& ns, const String16& name) const; 99 attribute_entry* editAttribute(const String16& ns, const String16& name); 116 status_t addAttribute(const String16& ns, const String16& name,
|
H A D | Main.h | 46 String8 getAttribute(const ResXMLTree& tree, const char* ns,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlPullAttributes.java | 59 String ns = mParser.getAttributeNamespace(index); 61 if (BridgeConstants.NS_RESOURCES.equals(ns)) { 72 if (mContext.getProjectCallback().getNamespace().equals(ns)) {
|
/frameworks/base/include/gui/ |
H A D | ISensorEventConnection.h | 40 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
|
H A D | SensorEventQueue.h | 65 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
|
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 266 jstring ns, jstring name) 276 if (ns) { 277 ns16 = env->GetStringChars(ns, NULL); 278 nsLen = env->GetStringLength(ns); 286 if (ns) { 287 env->ReleaseStringChars(ns, ns16); 264 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
|