/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 | RotationVectorSensor.h | 44 virtual status_t setDelay(void* ident, int handle, int64_t ns); 58 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | SensorInterface.h | 40 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0; 61 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | SensorDevice.cpp | 235 nsecs_t ns = info.selectDelay(); local 236 mSensorDevice->setDelay(mSensorDevice, handle, ns); 242 status_t SensorDevice::setDelay(void* ident, int handle, int64_t ns) argument 247 status_t err = info.setDelayForIdent(ident, ns); 249 ns = info.selectDelay(); 250 return mSensorDevice->setDelay(mSensorDevice, handle, ns); 255 status_t SensorDevice::Info::setDelayForIdent(void* ident, int64_t ns) argument 259 LOGE("Info::setDelayForIdent(ident=%p, ns=%lld) failed (%s)", 260 ident, ns, strerror(-index)); 263 rates.editValueAt(index) = ns; 269 nsecs_t ns = rates.valueAt(0); local [all...] |
H A D | CorrectedGyroSensor.cpp | 64 status_t CorrectedGyroSensor::setDelay(void* ident, int handle, int64_t ns) { argument 65 mSensorDevice.setDelay(this, mGyro.getHandle(), ns); 66 return mSensorFusion.setDelay(this, ns);
|
H A D | CorrectedGyroSensor.h | 44 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | GravitySensor.h | 44 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 | OrientationSensor.h | 43 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | RotationVectorSensor.cpp | 59 status_t RotationVectorSensor::setDelay(void* ident, int handle, int64_t ns) { argument 60 return mSensorFusion.setDelay(this, ns); 108 status_t GyroDriftSensor::setDelay(void* ident, int handle, int64_t ns) { argument 109 return mSensorFusion.setDelay(this, ns);
|
H A D | LinearAccelerationSensor.cpp | 57 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 58 return mGravitySensor.setDelay(this, handle, ns);
|
H A D | SensorDevice.h | 46 status_t setDelayForIdent(void* ident, int64_t ns); 57 status_t setDelay(void* ident, int handle, int64_t ns);
|
H A D | GravitySensor.cpp | 73 status_t GravitySensor::setDelay(void* ident, int handle, int64_t ns) { argument 74 return mSensorFusion.setDelay(this, ns);
|
H A D | OrientationSensor.cpp | 69 status_t OrientationSensor::setDelay(void* ident, int handle, int64_t ns) { argument 70 return mSensorFusion.setDelay(this, 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);
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 228 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 229 if (ns == NULL) { 230 ns = (const uint16_t*)"\0\0"; 233 const String8 nspace(String16(ns, nslen)); 285 const uint16_t* ns = inXml->getElementNamespace(&nslen); local 286 if (ns == NULL) { 287 ns = (const uint16_t*)"\0\0"; 290 const String8 nspace(String16(ns, nslen)); 397 const uint16_t* ns) 400 if (ns ! 396 build_namespace(const Vector<namespace_entry>& namespaces, const uint16_t* ns) argument 443 String8 ns = build_namespace(namespaces, ns16); local 476 namespace_entry ns; local 491 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,
|
/frameworks/base/include/gui/ |
H A D | ISensorEventConnection.h | 40 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
|
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 257 jstring ns, jstring name) 267 if (ns) { 268 ns16 = env->GetStringChars(ns, NULL); 269 nsLen = env->GetStringLength(ns); 277 if (ns) { 278 env->ReleaseStringChars(ns, ns16); 255 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
|