/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 40 The caller is expected to know the type of the metadata and call 241 // FIXME: misses a type for shared heap is missing (MemoryFile). 242 // FIXME: misses a type for bitmaps. 248 private static final int kRecordHeaderSize = 3 * kInt32Size; // size + id + type 259 // Value: Offset of the metadata type field in the record. 270 * type field offset in the Parcel. These are stored in 281 | metadata type | // STRING_VAL 315 // Store the record offset which points to the type 326 // Check the metadata type. 329 Log.e(TAG, "Invalid metadata type " [all...] |
/frameworks/base/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 139 uint32_t type; local 142 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 219 } else if (meta->findData(kKeyESDS, &type, &data, &size)) {
|
/frameworks/base/media/libstagefright/ |
H A D | OggExtractor.cpp | 122 MediaBuffer *buffer, uint8_t type); 686 MediaBuffer *buffer, uint8_t type) { 692 if (size < 7 || data[0] != type || memcmp(&data[1], "vorbis", 6)) { 711 CHECK_EQ(oggpack_read(&bits, 8), type); local 716 switch (type) { 912 char type[128]; local 926 if (typeLen + 1 > sizeof(type)) { 934 memcpy(type, &flac[8], typeLen); 935 type[typeLen] = '\0'; 937 LOGV("picType = %d, type 685 verifyHeader( MediaBuffer *buffer, uint8_t type) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/ |
H A D | AMRWBEncoder.cpp | 111 VOAMRWBFRAMETYPE type = VOAMRWB_RFC3267; local 112 if (VO_ERR_NONE != mApiHandle->SetParam(mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &type)) { 113 LOGE("Failed to set AMRWB encoder frame type to %d", type);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 203 final String type = intent.resolveTypeIfNeeded( 212 TAG, "Resolving type " + type + " scheme " + scheme 231 int match = receiver.filter.match(action, type, scheme, data, 248 case IntentFilter.NO_MATCH_TYPE: reason = "type"; break;
|
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | api.cpp | 692 GLuint Debug_glCreateShader(GLenum type) argument 696 GLenum type; member in struct:__anon1030 699 const int * ret = reinterpret_cast<const int *>(_c->glCreateShader(type)); 704 caller.type = type; 706 msg.set_arg0(type); 1235 void Debug_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) argument 1244 GLenum* type; member in struct:__anon1056 1248 _c->glGetActiveAttrib(program, index, bufsize, length, size, type, name); 1257 caller.type 1274 Debug_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) argument 1283 GLenum* type; member in struct:__anon1057 2182 Debug_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) argument 2191 GLenum type; member in struct:__anon1094 2522 Debug_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) argument 2533 GLenum type; member in struct:__anon1107 2671 Debug_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) argument 2682 GLenum type; member in struct:__anon1112 3451 Debug_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) argument 3457 GLenum type; member in struct:__anon1142 [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 153 if (tmpValue.type == TypedValue.TYPE_STRING) { 171 if (tmpValue.type == TypedValue.TYPE_STRING) { 198 if (outValue.type != TypedValue.TYPE_STRING) { 231 if (outValue.type != TypedValue.TYPE_STRING) { 661 /*package*/ native final int getResourceIdentifier(String type, argument
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 61 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument 63 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) { 306 SkiaSweepGradientShader::SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, argument 309 SkiaShader(type, key, tileMode, tileMode, matrix, blend), 395 if (mFirst->type() == kBitmap) {
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 559 static int checkFormat(SkBitmap::Config config, int format, int type) argument 567 if (type == GL_UNSIGNED_BYTE) 571 switch (type) { 615 return -1; // No type for compressed data. 645 jobject jbitmap, jint type, jint border) 654 if (type < 0) { 655 type = getType(config); 657 int err = checkFormat(config, internalformat, type); 685 glTexImage2D(target, level, internalformat, w, h, border, internalformat, type, p); 694 jobject jbitmap, jint format, jint type) 643 util_texImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jobject jbitmap, jint type, jint border) argument 692 util_texSubImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jobject jbitmap, jint format, jint type) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListView.java | 97 * preference. This value is not otherwise possible since a group type 108 /** The mask (in packed position representation) for the type */ 114 /** The shift amount (in packed position representation) for the type */ 289 // If this item type and the previous item type are different, then we need to change 291 if (pos.position.type != lastItemType) { 292 if (pos.position.type == ExpandableListPosition.CHILD) { 305 lastItemType = pos.position.type; 347 if (pos.position.type == ExpandableListPosition.GROUP) { 398 if ((pos.position.type [all...] |
H A D | RemoteViews.java | 651 int type; field in class:RemoteViews.ReflectionAction 654 ReflectionAction(int viewId, String methodName, int type, Object value) { argument 657 this.type = type; 664 this.type = in.readInt(); 668 + " methodName=" + this.methodName + " type=" + this.type); 670 switch (this.type) { 722 out.writeInt(this.type); 726 + " methodName=" + this.methodName + " type [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardBuilder.java | 840 final int type = (typeAsObject != null ? typeAsObject : DEFAULT_PHONE_TYPE); 846 phoneNumber, type, label, isPrimary); 849 appendTelLine(type, label, phoneNumber, isPrimary); 851 } else if (type == Phone.TYPE_PAGER || 857 appendTelLine(type, label, phoneNumber, isPrimary); 894 // In vCard 4.0, value type must be "a single URI value", 904 appendTelLine(type, label, formatted, isPrimary); 978 final int type = (typeAsObject != null ? 987 appendEmailLine(type, label, emailAddress, isPrimary); 1070 final int type 1479 appendPostalLine(final int type, final String label, final ContentValues contentValues, final boolean isPrimary, final boolean emitEveryTime) argument 1557 appendEmailLine(final int type, final String label, final String rawValue, final boolean isPrimary) argument 1750 appendUncommonPhoneType(final StringBuilder builder, final Integer type) argument 2076 appendTypeParameter(final String type) argument 2080 appendTypeParameter(final StringBuilder builder, final String type) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowState.java | 326 if ((mAttrs.type >= FIRST_SUB_WINDOW && 327 mAttrs.type <= LAST_SUB_WINDOW)) { 329 // windows in the same type layer. 331 attachedWindow.mAttrs.type) * WindowManagerService.TYPE_LAYER_MULTIPLIER 333 mSubLayer = mService.mPolicy.subWindowTypeToLayerLw(a.type); 337 mLayoutAttached = mAttrs.type != 339 mIsImWindow = attachedWindow.mAttrs.type == TYPE_INPUT_METHOD 340 || attachedWindow.mAttrs.type == TYPE_INPUT_METHOD_DIALOG; 341 mIsWallpaper = attachedWindow.mAttrs.type == TYPE_WALLPAPER; 345 // windows in the same type laye [all...] |
/frameworks/base/tools/aidl/ |
H A D | Type.cpp | 829 new MethodCall(v->type, "CREATOR.createFromParcel", 1, parcel))); 867 string creator = v->type->QualifiedName() + ".CREATOR"; 875 string creator = v->type->QualifiedName() + ".CREATOR"; 913 string type = v->type->QualifiedName(); local 914 type += ".Stub"; 916 new MethodCall( NAMES.Find(type), "asInterface", 1, 1067 Namespace::Add(Type* type) argument 1069 Type* t = Find(type->QualifiedName()); 1071 m_types.push_back(type); [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 676 private int getLegacySensorType(int type) { argument 677 switch (type) { 717 * Use this method to get the list of available sensors of a certain type. 722 * @param type 725 * @return a list of sensors matching the asked type. 730 public List<Sensor> getSensorList(int type) { argument 735 list = sSensorListByType.get(type); 737 if (type == Sensor.TYPE_ALL) { 742 if (i.getType() == type) 747 sSensorListByType.append(type, lis 767 getDefaultSensor(int type) argument 837 registerLegacyListener(int legacyType, int type, SensorListener listener, int sensors, int rate) argument 899 unregisterLegacyListener(int legacyType, int type, SensorListener listener, int sensors) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 407 Log.w(TAG, "Malformed SUPL init mime type"); 1255 private void reportAGpsStatus(int type, int status, int ipaddr) { argument 1456 int type = AGPS_SETID_TYPE_NONE; 1466 type = AGPS_SETID_TYPE_IMSI; 1476 type = AGPS_SETID_TYPE_MSISDN; 1479 native_agps_set_id(type, data); 1502 int type; 1510 type = AGPS_REF_LOCATION_TYPE_UMTS_CELLID; 1512 type = AGPS_REF_LOCATION_TYPE_GSM_CELLID; 1514 native_agps_set_ref_location_cellid(type, mc 1673 native_set_agps_server(int type, String hostname, int port) argument 1679 native_agps_set_ref_location_cellid(int type, int mcc, int mnc, int lac, int cid) argument 1681 native_agps_set_id(int type, String setid) argument 1683 native_update_network_state(boolean connected, int type, boolean roaming, boolean available, String extraInfo, String defaultAPN) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmDataConnectionTracker.java | 125 private static final String INTENT_RECONNECT_ALARM_EXTRA_TYPE = "type"; 225 public boolean isApnTypeActive(String type) { argument 226 ApnContext apnContext = mApnContexts.get(type); 269 private ApnContext addApnContext(String type) { argument 270 ApnContext apnContext = new ApnContext(type, LOG_TAG); 272 mApnContexts.put(type, apnContext); 285 switch (networkConfig.type) { 373 // Return active apn of specific apn type 375 if (DBG) log( "get active apn string for type:" + apnType); 400 // Return state of specific apn type 488 notifyApnIdUpToCurrent(String reason, ApnContext apnContext, String type) argument 506 disableApnType(String type) argument 529 isApnTypeAvailable(String type) argument 681 trySetupData(String reason, String type) argument [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditorImpl.java | 86 private static final String ATTR_TYPE = "type"; 425 String message = "Unsupported audio codec type " + audioCodec; 442 String message = "Unsupported video codec type " + videoCodec; 1121 final String type = parser.getAttributeValue("", ATTR_TYPE); 1127 if (MediaImageItem.class.getSimpleName().equals(type)) { 1131 } else if (MediaVideoItem.class.getSimpleName().equals(type)) { 1148 throw new IllegalArgumentException("Unknown media item type: " + type); 1164 final String type = parser.getAttributeValue("", ATTR_TYPE); 1195 if (TransitionAlpha.class.getSimpleName().equals(type)) { [all...] |
/frameworks/base/opengl/libs/ |
H A D | glesv2dbg_functions.h | 50 GL_ENTRY(void, glColorPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 62 GL_ENTRY(GLuint, glCreateShader, GLenum type) 89 GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) 114 GL_ENTRY(void, glExtGetTexSubImageQCOM, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) 149 GL_ENTRY(void, glGetActiveAttrib, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) 150 GL_ENTRY(void, glGetActiveUniform, GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) 251 GL_ENTRY(void, glMatrixIndexPointerOES, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) 257 GL_ENTRY(void, glMultiDrawElementsEXT, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) 264 GL_ENTRY(void, glNormalPointer, GLenum type, GLsizei stride, const GLvoid *pointer) 277 GL_ENTRY(void, glPointSizePointerOES, GLenum type, GLsize [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 115 int type; 126 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 127 && ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { 128 if (type != XmlPullParser.START_TAG) { 158 while ((type = parser.next()) == XmlPullParser.TEXT) { 160 if (type != XmlPullParser.START_TAG) {
|
/frameworks/base/media/libeffects/factory/ |
H A D | EffectsFactory.c | 56 static int findEffect(effect_uuid_t *type, 631 int findEffect(effect_uuid_t *type, argument 647 if (type != NULL && memcmp(&d->type, type, sizeof(effect_uuid_t)) == 0) { 680 uuidToString(&desc->type, s, 256);
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 43 * To run this test, you can type: 75 (byte) 0x05, // port addressing type? 167 * OMA content type in binary form 168 * http://www.openmobilealliance.org/tech/omna/omna-wsp-content-type.aspx 305 * OMA content type in string form 306 * http://www.openmobilealliance.org/tech/omna/omna-wsp-content-type.aspx 870 int type; 888 type = rd.nextInt(3); 889 switch (type) { 904 switch (type) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 61 * <p/>To use this bridge, simply instantiate an object of type {@link Bridge} and call 81 * Maps from id to resource type/name. This is for android.R only. 91 * Reverse map compared to sRMap, resource type -> (resource name -> id). 265 Class<?> type = f.getType(); 266 if (type.isArray() && type.getComponentType() == int.class) { 271 } else if (type == int.class) { 456 * @return a Pair containing the resource type and name, or null if the id 473 * Returns the integer id of a framework resource, from a given resource type and resource name. 474 * @param type th 478 getResourceId(ResourceType type, String name) argument [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 414 String type = toIsoString(contentType); 415 if (!ContentType.isImageType(type) 416 && !ContentType.isAudioType(type) 417 && !ContentType.isVideoType(type)) { 424 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type) 425 || ContentType.TEXT_HTML.equals(type)) { 494 Log.e(TAG, "Unknown address type: " + addrType); 574 // For PDU which type is M_retrieve.conf or Send.req, we should 630 "Unsupported PDU type 642 persistAddress( long msgId, int type, EncodedStringValue[] array) argument 803 updateAddress( long msgId, int type, EncodedStringValue[] array) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 316 public void require(int type, String namespace, String name) argument 318 if (type != getEventType() 321 throw new XmlPullParserException("expected " + TYPES[type]
|