Searched refs:type (Results 151 - 175 of 1111) sorted by relevance

1234567891011>>

/frameworks/native/services/sensorservice/
H A DLinearAccelerationSensor.cpp42 if (result && event.type == SENSOR_TYPE_ACCELEROMETER) {
47 outEvent->type = SENSOR_TYPE_LINEAR_ACCELERATION;
68 hwSensor.type = SENSOR_TYPE_LINEAR_ACCELERATION;
H A DSensorFusion.cpp35 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
38 if (list[i].type == SENSOR_TYPE_MAGNETIC_FIELD) {
41 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
44 if (list[i].type == SENSOR_TYPE_GYROSCOPE_UNCALIBRATED) {
63 if (event.type == mGyro.getType()) {
75 } else if (event.type == SENSOR_TYPE_MAGNETIC_FIELD) {
78 } else if (event.type == SENSOR_TYPE_ACCELEROMETER) {
H A DCorrectedGyroSensor.cpp37 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
47 if (event.type == SENSOR_TYPE_GYROSCOPE) {
75 hwSensor.type = SENSOR_TYPE_GYROSCOPE;
H A DOrientationSensor.cpp44 if (event.type == SENSOR_TYPE_ACCELEROMETER) {
61 outEvent->type = SENSOR_TYPE_ORIENTATION;
82 hwSensor.type = SENSOR_TYPE_ORIENTATION;
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp35 TransformType type; member in struct:android::uirenderer::DirtyStack
52 mHead->type = TransformNone;
59 switch (currentFrame->type) {
70 LOG_ALWAYS_FATAL("Tried to compute transform with an invalid type: %d", currentFrame->type);
92 mHead->type = TransformRenderNode;
98 mHead->type = TransformMatrix4;
106 switch (dirtyFrame->type) {
117 LOG_ALWAYS_FATAL("Tried to pop an invalid type: %d", dirtyFrame->type);
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java66 * The services are referred to by type V and are made available via the
230 private void notifyListener(final V type, final int userId, final boolean removed) { argument
232 Log.d(TAG, "notifyListener: " + type + " is " + (removed ? "removed" : "added"));
247 listener2.onServiceChanged(type, userId, removed);
253 * Value type that describes a Service. The information within can be used
257 public final V type; field in class:RegisteredServicesCache.ServiceInfo
262 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
263 this.type = type;
270 return "ServiceInfo: " + type
279 getServiceInfo(V type, int userId) argument
463 containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) argument
473 containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowInfo.java40 public int type; field in class:WindowInfo
62 window.type = other.type;
92 parcel.writeInt(type);
111 builder.append("type=").append(type);
123 type = parcel.readInt();
140 type = 0;
/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java228 * @param type the subsystem type
231 public double getAveragePower(String type) { argument
232 if (sPowerMap.containsKey(type)) {
233 Object data = sPowerMap.get(type);
237 return (Double) sPowerMap.get(type);
246 * @param type the subsystem type
252 public double getAveragePower(String type, int level) { argument
253 if (sPowerMap.containsKey(type)) {
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp68 const char* type = ""; local
71 type = "note: ";
74 type = "warning: ";
77 type = "error: ";
83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string());
85 fprintf(to, "%s: %s%s\n", this->file.string(), type, this->error.string());
88 fprintf(to, "%s%s\n", type, this->error.string());
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp78 serverMsg.header.type = InputMessage::TYPE_KEY;
86 EXPECT_EQ(serverMsg.header.type, clientMsg.header.type)
94 clientReply.header.type = InputMessage::TYPE_FINISHED;
103 EXPECT_EQ(clientReply.header.type, serverReply.header.type)
153 msg.header.type = InputMessage::TYPE_KEY;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp44 player_type type) {
46 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is"
47 " NULL.", type);
51 if (sFactoryMap.indexOfKey(type) >= 0) {
52 ALOGE("Failed to register MediaPlayerFactory of type %d, type is"
53 " already registered.", type);
57 if (sFactoryMap.add(type, factory) < 0) {
58 ALOGE("Failed to register MediaPlayerFactory of type %d, failed to add"
59 " to map.", type);
43 registerFactory_l(IFactory* factory, player_type type) argument
82 registerFactory(IFactory* factory, player_type type) argument
88 unregisterFactory(player_type type) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameType.java21 * FrameTypes are used mainly by Filters to specify the data type they intend to consume or produce.
23 * compatibility. This allows Filter writers to assume a certain data input type. It also helps
26 * A FrameType generally consists of an element type and number of dimensions. The currently
37 * If the object element type is used, class information may be appended to the FrameType to
39 * have the option of either specifying a type that represents a single object of that class, or
43 * When constructing a non-object type, you have the option of creating a 1D or 2D buffer, or
46 * an image type.
48 * Finally, it is possible to create a wild-card type with the {@link #any()} constructor. This
49 * type matches any other type
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java46 * - type names: [a-zS]
104 * Converts a string to an internal type constant.
106 * @param typeName the type name to convert
107 * @return the type constant that corresponds to {@code typeName},
108 * or {@code TYPE_ERROR} if the type is unknown
155 // Read the next token, which is either the type or EOF.
161 throw new ParseException(st, "type name");
163 final int type = interpretType(st.sval);
164 if (type == TYPE_ERROR) {
165 throw new ParseException(st, "valid type nam
233 parseValue(StreamTokenizer st, final int type) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java60 int type, int subType, String subscriberId, String networkId, boolean roaming) {
61 mType = type;
87 builder.append("type=").append(getNetworkTypeName(mType));
159 final int type = state.networkInfo.getType();
166 if (isNetworkTypeMobile(type)) {
174 } else if (type == TYPE_WIFI) {
185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
59 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java137 public void setType(int type) { argument
138 switch (type) {
142 type = SURFACE_TYPE_NORMAL;
145 switch (type) {
148 if (mRequestedType != type) {
149 mRequestedType = type;
167 "Surface type is SURFACE_TYPE_PUSH_BUFFERS");
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentFilter.java81 int type;
82 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
83 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) {
85 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) {
87 } else if (type == XmlPullParser.START_TAG) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java80 int type;
100 while ((type = childParser.next()) != XmlPullParser.START_TAG &&
101 type != XmlPullParser.END_DOCUMENT) {
105 if (type != XmlPullParser.START_TAG) {
192 while (((type = parser.next()) != XmlPullParser.END_TAG ||
193 parser.getDepth() > currentDepth) && type != XmlPullParser.END_DOCUMENT) {
/frameworks/compile/mclinker/include/mcld/Script/
H A DOperand.h43 Type type() const { return m_Type; } function in class:mcld::Operand
82 return pOperand->type() == Operand::SYMBOL;
115 return pOperand->type() == Operand::INTEGER;
152 return pOperand->type() == Operand::SECTION;
188 return pOperand->type() == Operand::SECTION_DESC;
223 return pOperand->type() == Operand::FRAGMENT;
/frameworks/compile/mclinker/lib/Fragment/
H A DRelocation.cpp46 /// @param pType [in] the type of the relocation entry
93 if (m_pSymInfo->type() == ResolveInfo::Section &&
112 error(diag::result_overflow) << pRelocator.getName(type())
117 error(diag::result_badreloc) << pRelocator.getName(type())
122 fatal(diag::unsupported_relocation) << type()
127 fatal(diag::unknown_relocation) << type() << symInfo()->name();
156 if (m_pSymInfo->type() == ResolveInfo::Section) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dtypedefs.h27 * defined type meaning corresponding constants
75 ********* define char type
91 #error cannot find 8-bit type
113 #error cannot find 16-bit type
135 #error cannot find 32-bit type
139 ********* define floating point type & constants
155 ********* define complex type
163 ********* define boolean type
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.h67 DiscontinuityType type, const sp<AMessage> &extra);
76 sp<MediaSource> getSource(SourceType type);
77 bool hasSource(SourceType type) const;
95 // Stream type 0x83 is non-standard,
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java130 int type;
136 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
137 && type != XmlPullParser.END_DOCUMENT) {
139 if (type != XmlPullParser.START_TAG) {
238 int type;
241 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
242 && type != XmlPullParser.END_DOCUMENT) {
244 if (type != XmlPullParser.START_TAG) {
292 int type;
296 while (((type
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java102 int type;
105 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
106 && type != XmlPullParser.END_DOCUMENT) {
108 if (type != XmlPullParser.START_TAG) {
179 int type;
182 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
183 && type != XmlPullParser.END_DOCUMENT) {
185 if (type != XmlPullParser.START_TAG) {
327 int type;
330 while (((type
[all...]
/frameworks/base/include/androidfw/
H A DBackupHelpers.h31 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon889
110 status_t ReadNextHeader(bool* done, int* type);
128 int type; member in union:android::BackupDataReader::__anon890
/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp89 llvm::Triple::ArchType type = local
91 if (llvm::Triple::UnknownArch != type)
92 pTriple.setArch(type);

Completed in 7747 milliseconds

1234567891011>>