Searched refs:type (Results 101 - 125 of 749) sorted by relevance

1234567891011>>

/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java382 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
386 int type,
394 int type,
400 type,
406 ((type == GL_FLOAT) ||
407 (type == GL_UNSIGNED_BYTE) ||
408 (type == GL_FIXED)) &&
534 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
539 int type,
961 // C function void glNormalPointer ( GLenum type, GLsize
384 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
392 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
536 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
963 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
970 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument
1057 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1154 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1162 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
1239 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1269 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1299 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1307 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.h50 player_type type);
51 static void unregisterFactory(player_type type);
73 player_type type);
H A DMediaPlayerFactory.cpp41 player_type type) {
43 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is"
44 " NULL.", type);
48 if (sFactoryMap.indexOfKey(type) >= 0) {
49 ALOGE("Failed to register MediaPlayerFactory of type %d, type is"
50 " already registered.", type);
54 if (sFactoryMap.add(type, factory) < 0) {
55 ALOGE("Failed to register MediaPlayerFactory of type %d, failed to add"
56 " to map.", type);
40 registerFactory_l(IFactory* factory, player_type type) argument
73 registerFactory(IFactory* factory, player_type type) argument
79 unregisterFactory(player_type type) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java66 for (String type : validAccountTypes) {
67 setOfAllowableAccountTypes.add(type);
78 final String type = entry.getKey();
81 && !setOfAllowableAccountTypes.contains(type)) {
96 setResultAndFinish(mAuthenticatorInfosToDisplay.get(0).desc.type);
110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type);
115 private void setResultAndFinish(final String type) { argument
117 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type);
121 + "selected account type " + type);
[all...]
/frameworks/base/core/java/android/util/
H A DTypedValue.java47 /** Identifies the start of plain integer values. Any type value
155 /** The type held by this value, as defined by the constants here.
157 public int type; field in class:TypedValue
162 /** Basic data in the value, interpreted according to {@link #type} */
184 * whose type is {@link #TYPE_FLOAT}. */
342 * whose type is {@link #TYPE_DIMENSION}.
384 * type is {@link #TYPE_FRACTION}.
401 * Regardless of the actual type of the value, try to convert it to a
402 * string value. For example, a color type will be converted to a
406 * null or the type i
434 coerceToString(int type, int data) argument
[all...]
/frameworks/base/libs/androidfw/
H A DBackupData.cpp124 header.type = tolel(BACKUP_HEADER_ENTITY_V1);
228 BackupDataReader::ReadNextHeader(bool* done, int* type) argument
252 if (type) {
253 *type = m_header.type;
257 m_header.type = fromlel(m_header.type);
258 switch (m_header.type)
288 ALOGD("Chunk header at %d has invalid type: 0x%08x",
289 (int)(m_pos - sizeof(m_header)), (int)m_header.type);
[all...]
/frameworks/native/include/utils/
H A DMutex.h51 Mutex(int type, const char* name = NULL);
97 inline Mutex::Mutex(int type, const char* name) { argument
98 if (type == SHARED) {
/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;
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorUtils.cpp54 uint32_t type; local
86 if (meta->findData(kKeyESDS, &type, &data, &size)) {
87 LOG1("displayMetaData kKeyESDS type=%d size=%d", type, size);
89 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
90 LOG1("displayMetaData kKeyAVCC data=0x%X type=%d size=%d",
91 *((unsigned int*)data), type, size);
93 if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
94 LOG1("displayMetaData kKeyVorbisInfo type=%d size=%d", type, siz
219 parseParamSet(AVCCodecSpecificContext* pC, const uint8_t *data, size_t length, int type, size_t *paramSetLen) argument
304 uint8_t type = kNalUnitTypeSeqParamSet; local
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DTrackFragment.h79 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
82 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
85 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
88 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
91 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
/frameworks/base/services/java/com/android/server/am/
H A DCoreSettingsObserver.java39 // mapping form property name to its type
86 Class<?> type = entry.getValue();
88 if (type == String.class) {
92 } else if (type == int.class) {
96 } else if (type == float.class) {
100 } else if (type == long.class) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp74 int32_t type = ATSParser::DISCONTINUITY_SEEK; local
81 ALOGE("Client specified an illegal discontinuity type.");
85 type = mask;
89 (ATSParser::DiscontinuityType)type, extra);
119 ATSParser::SourceType type = local
123 static_cast<AnotherPacketSource *>(mTSParser->getSource(type).get());
134 ATSParser::SourceType type = local
138 static_cast<AnotherPacketSource *>(mTSParser->getSource(type).get());
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java64 * The services are referred to by type V and are made available via the
196 private void notifyListener(final V type, final int userId, final boolean removed) { argument
198 Log.d(TAG, "notifyListener: " + type + " is " + (removed ? "removed" : "added"));
213 listener2.onServiceChanged(type, userId, removed);
219 * Value type that describes a Service. The information within can be used
223 public final V type; field in class:RegisteredServicesCache.ServiceInfo
228 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
229 this.type = type;
236 return "ServiceInfo: " + type
245 getServiceInfo(V type, int userId) argument
392 containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) argument
402 containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowInfo.java48 public int type = UNDEFINED; field in class:WindowInfo
72 parcel.writeInt(type);
84 type = parcel.readInt();
96 info.type = other.type;
138 type = UNDEFINED;
150 builder.append(", type:").append(type);
/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java216 * @param type the subsystem type
219 public double getAveragePower(String type) { argument
220 if (sPowerMap.containsKey(type)) {
221 Object data = sPowerMap.get(type);
225 return (Double) sPowerMap.get(type);
234 * @param type the subsystem type
240 public double getAveragePower(String type, int level) { argument
241 if (sPowerMap.containsKey(type)) {
[all...]
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp77 serverMsg.header.type = InputMessage::TYPE_KEY;
85 EXPECT_EQ(serverMsg.header.type, clientMsg.header.type)
93 clientReply.header.type = InputMessage::TYPE_FINISHED;
102 EXPECT_EQ(clientReply.header.type, serverReply.header.type)
152 msg.header.type = InputMessage::TYPE_KEY;
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java44 * {@link #TYPE_RINGTONE} refers to the type of sounds that are suitable for the
141 * the current sound for the given default sound type. If you are showing a
142 * ringtone picker for some other type of sound, you are free to provide any
149 * Given to the ringtone picker as an int. Specifies which ringtone type(s) should be
258 * Sets which type(s) of ringtones will be listed by this.
260 * @param type The type(s), one or more of {@link #TYPE_RINGTONE},
265 public void setType(int type) { argument
272 mType = type;
273 setFilterColumnsList(type);
514 setFilterColumnsList(int type) argument
635 getActualDefaultRingtoneUri(Context context, int type) argument
652 setActualDefaultRingtoneUri(Context context, int type, Uri ringtoneUri) argument
659 getSettingForType(int type) argument
713 getDefaultUri(int type) argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_sample.c11 const Type_t *type = (const Type_t*)alloc->mHal.state.type; local
14 const uint32_t offset = type->mHal.state.lodOffset[lod];
23 const Type_t *type = (const Type_t*)alloc->mHal.state.type; local
27 const uint32_t offset = type->mHal.state.lodOffset[lod];
32 stride = type->mHal.state.lodDimX[lod] * eSize;
145 const Type_t *type = (const Type_t*)alloc->mHal.state.type; \
152 return sample_LOD_NearestPixel(a, type, vecSiz
260 sample_LOD_LinearPixel(rs_allocation a, const Type_t *type, uint32_t vecSize, rs_data_type dt, rs_sampler s, float uv, uint32_t lod) argument
290 sample_LOD_NearestPixel(rs_allocation a, const Type_t *type, uint32_t vecSize, rs_data_type dt, rs_sampler s, float uv, uint32_t lod) argument
303 sample_LOD_LinearPixel(rs_allocation a, const Type_t *type, uint32_t vecSize, rs_data_type dt, rs_sampler s, float2 uv, uint32_t lod) argument
352 sample_LOD_NearestPixel(rs_allocation a, const Type_t *type, uint32_t vecSize, rs_data_type dt, rs_sampler s, float2 uv, uint32_t lod) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java40 * match against actions, categories, and data (either via its type, scheme,
61 * itself divided into three attributes: type, scheme, authority, and path.
64 * but no type, only Intent that does not have a type (such as mailto:) will
65 * match; a content: URI will never match because they always have a MIME type
66 * that is supplied by their content provider. Specifying a type with no scheme
69 * then only an Intent with no data or type will match. To specify an authority,
85 * the data (both the <strong>data type</strong> and
92 * Intent type. The Intent
93 * type i
512 addDataType(String type) argument
543 hasDataType(String type) argument
789 addDataPath(String path, int type) argument
899 matchData(String type, String scheme, Uri data) argument
1103 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
1446 findMimeType(String type) argument
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DMCLDDriver.cpp88 switch (m_LDInfo.output().type()) {
102 llvm::report_fatal_error(llvm::Twine("output type is not implemented yet. file: `") +
108 llvm::report_fatal_error(llvm::Twine("unknown output type of file `") +
126 // already got type - for example, bitcode or external OIR (object
128 if ((*input)->type() == Input::Script ||
129 (*input)->type() == Input::Object ||
130 (*input)->type() == Input::DynObj ||
131 (*input)->type() == Input::Archive ||
132 (*input)->type() == Input::External)
183 if ((*input)->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/av/media/libmedia/
H A DMediaScanner.cpp190 int type = entry->d_type; local
191 if (type == DT_UNKNOWN) {
192 // If the type is unknown, stat() the file instead.
197 type = DT_REG;
199 type = DT_DIR;
205 if (type == DT_DIR) {
228 } else if (type == DT_REG) {
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java53 int type, int subType, String subscriberId, String networkId, boolean roaming) {
54 mType = type;
80 builder.append("type=").append(getNetworkTypeName(mType));
140 final int type = state.networkInfo.getType();
150 if (isNetworkTypeMobile(type)) {
160 } else if (type == TYPE_WIFI) {
171 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
52 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/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java91 int type;
97 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
99 || type != XmlPullParser.END_TAG)) {
100 if (type != XmlPullParser.START_TAG) {
129 while ((type = parser.next()) == XmlPullParser.TEXT) {
131 if (type != XmlPullParser.START_TAG) {

Completed in 518 milliseconds

1234567891011>>