/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
H A D | WebViewContextMenu.java | 154 int type = result.getType(); 155 switch (type) { 182 type == WebView.HitTestResult.PHONE_TYPE); 184 type == WebView.HitTestResult.EMAIL_TYPE); 186 type == WebView.HitTestResult.GEO_TYPE); 188 type == WebView.HitTestResult.SRC_ANCHOR_TYPE 189 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE); 191 // Setup custom handling depending on the type 192 switch (type) { 305 * Returns the menu type fro [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 85 ALOGE("32 bit integer source does not match allocation type %i", dt); 93 ALOGE("16 bit integer source does not match allocation type %i", dt); 101 ALOGE("8 bit integer source does not match allocation type %i", dt); 109 ALOGE("32 bit float source does not match allocation type %i", dt); 126 ALOGE("Object source does not match allocation type %i", dt); 150 ALOGE("Source must be exactly one usage type."); 239 ALOGE("Array too small for allocation type."); 381 android::sp<Allocation> Allocation::createTyped(RenderScript *rs, sp<const Type> type, argument 383 void *id = rsAllocationCreateTyped(rs->mContext, type->getID(), mips, usage, 0); 388 return new Allocation(id, rs, type, usag 391 createTyped(RenderScript *rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage, void *pointer) argument 400 createTyped(RenderScript *rs, sp<const Type> type, uint32_t usage) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | GrantCredentialsPermissionActivity.java | 67 // Grant 'account'/'type' to mUID 114 AccountManager.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null); 140 if (desc.type.equals(account.type)) { 144 return account.type; 146 return account.type; 150 return account.type;
|
/frameworks/base/core/java/android/view/textservice/ |
H A D | SpellCheckerInfo.java | 84 int type; 85 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 86 && type != XmlPullParser.START_TAG) { 104 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) 105 && type != XmlPullParser.END_DOCUMENT) { 106 if (type == XmlPullParser.START_TAG) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 253 int type; 257 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT && 258 ((depth = parser.getDepth()) >= innerDepth || type != XmlPullParser.END_TAG)) { 259 if (type != XmlPullParser.START_TAG) { 284 while ((type=parser.next()) == XmlPullParser.TEXT) { 287 if (type != XmlPullParser.START_TAG) {
|
H A D | StateListDrawable.java | 137 int type; 141 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 143 || type != XmlPullParser.END_TAG)) { 144 if (type != XmlPullParser.START_TAG) { 175 while ((type = parser.next()) == XmlPullParser.TEXT) { 177 if (type != XmlPullParser.START_TAG) {
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 582 uint32_t type = readU32(4); local 597 if (type == FOURCC('u', 'u', 'i', 'd')) { 614 if (kDispatchTable[i].mType == type 621 // amount of data depending on the media handler type. 622 // We don't look inside 'hint' type SampleEntry boxes. 632 if (type == FOURCC('m', 'o', 'o', 'f')) { 638 if (type == FOURCC('m', 'e', 't', 'a')) { 648 } else if (type == FOURCC('s', 't', 's', 'd')) { 703 type, offset, offset + headerSize); 710 type, offse 1028 enter(off64_t offset, uint32_t type, uint64_t size) argument 1127 parseTrackHeader( uint32_t type, size_t offset, uint64_t size) argument 1178 parseMediaHeader( uint32_t type, size_t offset, uint64_t size) argument 1211 parseMediaHandler( uint32_t type, size_t offset, uint64_t size) argument 1239 parseVisualSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1282 parseAudioSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1348 parseSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1354 parseCompactSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1360 parseSampleToChunk( uint32_t type, size_t offset, uint64_t size) argument 1366 parseChunkOffsets( uint32_t type, size_t offset, uint64_t size) argument 1372 parseChunkOffsets64( uint32_t type, size_t offset, uint64_t size) argument 1378 parseAVCCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1461 parseESDSCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1566 parseMediaData( uint32_t type, size_t offset, uint64_t size) argument 1587 parseSegmentIndex( uint32_t type, size_t offset, uint64_t size) argument 1674 parseTrackExtends( uint32_t type, size_t offset, uint64_t size) argument 1725 parseTrackFragmentHeader( uint32_t type, size_t offset, uint64_t size) argument 1815 parseTrackFragmentRun( uint32_t type, size_t offset, uint64_t size) argument [all...] |
H A D | TrackFragment.cpp | 244 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 268 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 297 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 322 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 343 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 243 parseSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 267 parseCompactSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 296 parseSampleToChunk( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 321 parseChunkOffsets( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 342 parseChunkOffsets64( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
|
/frameworks/base/cmds/rawbu/ |
H A D | backup.cpp | 52 int type; member in struct:android::special_dir 107 if (opt_backupAll || SKIP_PATHS[i].type == SPECIAL_NO_BACKUP) { 236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument 239 if (!write_int32(fh, type)) return 0; 438 static int read_header(FILE* fh, int* type, char** path, struct stat* st) argument 440 *type = read_int32(fh, -1); 441 if (*type == TYPE_END) { 445 if (*type < 0) { 446 fprintf(stderr, "bad token %d in restore file\n", *type); 537 int type; local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 70 type(GL_FLOAT), 385 GLenum type; local 391 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]); 716 GLenum type; local 718 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, name); 721 const int components = GLEnv::NumberOfComponents(type); 726 // Set value based on type 728 switch(type) { 767 GLenum type; local 769 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, nam 843 GLenum type; local 951 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument 977 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 147 ALOGW("Component %s does not support any type of media?", 277 const char *type = NULL; local 287 } else if (!strcmp(attrs[i], "type")) { 291 type = attrs[i + 1]; 304 addMediaCodec(encoder, name, type); 310 bool encoder, const char *name, const char *type) { 318 if (type != NULL) { 319 addType(type); 400 ALOGW("Too many distinct type names in configuration."); 414 const char *type, boo 309 addMediaCodec( bool encoder, const char *name, const char *type) argument 413 findCodecByType( const char *type, bool encoder, size_t startIndex) const argument 509 getCodecCapabilities( size_t index, const char *type, Vector<ProfileLevel> *profileLevels, Vector<uint32_t> *colorFormats) const argument [all...] |
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 72 + " <TYPE> specifies data type such as:\n" 273 String type = argument.substring(firstColonIndex + 1, secondColonIndex); 275 if (TYPE_STRING.equals(type)) { 277 } else if (TYPE_BOOLEAN.equalsIgnoreCase(type)) { 279 } else if (TYPE_INTEGER.equalsIgnoreCase(type) || TYPE_LONG.equalsIgnoreCase(type)) { 281 } else if (TYPE_FLOAT.equalsIgnoreCase(type) || TYPE_DOUBLE.equalsIgnoreCase(type)) { 284 throw new IllegalArgumentException("Unsupported type: " + type); [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 105 public void noteStartWakelock(int uid, int pid, String name, int type) { argument 108 mStats.noteStartWakeLocked(uid, pid, name, type); 112 public void noteStopWakelock(int uid, int pid, String name, int type) { argument 115 mStats.noteStopWakeLocked(uid, pid, name, type); 119 public void noteStartWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument 122 mStats.noteStartWakeFromSourceLocked(ws, pid, name, type); 126 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, int type) { argument 129 mStats.noteStopWakeFromSourceLocked(ws, pid, name, type); 420 public void noteNetworkInterfaceType(String iface, int type) { argument 423 mStats.noteNetworkInterfaceTypeLocked(iface, type); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 883 int type, 891 int type, 897 type, 905 ((type == GL_FLOAT) || 906 (type == GL_BYTE) || 907 (type == GL_SHORT) || 908 (type == GL_FIXED)) && 914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 918 int type, 881 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 889 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 916 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 924 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument [all...] |
H A D | GLErrorWrapper.java | 161 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument 163 mgl.glColorPointer(size, type, stride, pointer); 261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument 263 mgl.glDrawElements(mode, count, type, indices); 601 public void glNormalPointer(int type, int stride, Buffer pointer) { argument 603 mgl.glNormalPointer(type, stride, pointer); 664 int type, Buffer pixels) { 666 mgl.glReadPixels(x, y, width, height, format, type, pixels); 736 public void glTexCoordPointer(int size, int type, argument 739 mgl.glTexCoordPointer(size, type, strid 663 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) argument 779 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument 812 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument 833 glVertexPointer(int size, int type, int stride, Buffer pointer) argument 985 glColorPointer(int size, int type, int stride, int offset) argument 1003 glDrawElements(int mode, int count, int type, int offset) argument 1232 glNormalPointer(int type, int stride, int offset) argument 1274 glPointSizePointerOES(int type, int stride, Buffer pointer) argument 1280 glTexCoordPointer(int size, int type, int stride, int offset) argument 1335 glVertexPointer(int size, int type, int stride, int offset) argument 1353 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument 1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument 1367 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument 1374 glWeightPointerOES(int size, int type, int stride, int offset) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 235 * Route type flag for live audio. 247 * Route type flag for live video. 264 * Route type flag for application-specific usage. 318 * @param type route types 321 public RouteInfo getSelectedRoute(int type) { argument 338 info.type |= types; 364 * @param types type flags indicating which types this route should be used for. 652 static void dispatchRouteSelected(int type, RouteInfo info) { argument 654 if ((cbi.type & type) ! 660 dispatchRouteUnselected(int type, RouteInfo info) argument 1381 setPlaybackType(int type) argument 1869 public int type; field in class:MediaRouter.CallbackInfo 1873 CallbackInfo(Callback cb, int type, MediaRouter router) argument 1899 onRouteSelected(MediaRouter router, int type, RouteInfo info) argument 1909 onRouteUnselected(MediaRouter router, int type, RouteInfo info) argument 1990 onRouteSelected(MediaRouter router, int type, RouteInfo info) argument 1994 onRouteUnselected(MediaRouter router, int type, RouteInfo info) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 163 public void set(int type, long triggerAtTime, PendingIntent operation) { argument 164 setRepeating(type, triggerAtTime, 0, operation); 167 public void setRepeating(int type, long triggerAtTime, long interval, argument 175 alarm.type = type; 192 public void setInexactRepeating(int type, long triggerAtTime, long interval, argument 208 setRepeating(type, triggerAtTime, interval, operation); 214 final boolean isRtc = (type == AlarmManager.RTC || type == AlarmManager.RTC_WAKEUP); 230 if (localLOGV) Slog.v(TAG, "setInexactRepeating: type 380 getAlarmList(int type) argument 534 set(int fd, int type, long seconds, long nanoseconds) argument 617 public int type; field in class:AlarmManagerService.Alarm [all...] |
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 198 static int32_t convertGLPixelFormat(GLint format, GLenum type) argument 209 switch (type) { 222 static GLenum validFormatType(ogles_context_t* c, GLenum format, GLenum type) argument 228 if (type != GL_UNSIGNED_BYTE && type != GL_UNSIGNED_SHORT_4_4_4_4 && 229 type != GL_UNSIGNED_SHORT_5_5_5_1 && type != GL_UNSIGNED_SHORT_5_6_5) { 232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) { 235 if ((type == GL_UNSIGNED_SHORT_4_4_4_4 || 236 type 361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument 1074 GLenum type; local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 44 int type; 45 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT 46 && (type != XmlPullParser.END_TAG 867 int type; 868 while ((type=parser.next()) != parser.START_TAG 869 && type != parser.END_DOCUMENT) { 873 if (type != parser.START_TAG) { 885 int type; 886 while ((type=parser.next()) != parser.START_TAG 887 && type ! [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 48 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 50 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 52 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 54 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 56 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type, 58 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, 60 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 32 unsigned getBytesPerTexel(const GLenum format, const GLenum type) { argument 36 Data is read from data as a sequence of unsigned bytes or shorts, depending on type. 37 When type is GL_UNSIGNED_BYTE, each of the bytes is interpreted as one color component. 38 When type is one of GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4, or 51 switch (type) { 59 ALOGE("GetBytesPerPixel: unknown type %x", type); 118 // and then set the data type to be enum 170 GLenum type = arg_type.intvalue(0); local 173 int bytesPerTexel = getBytesPerTexel(format, type); 318 GLenum type; local 448 vertexAttribSize(GLenum type, GLsizei numComponents) argument 471 trace_glVertexAttribPointerData(GLTraceContext *context, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr, GLuint minIndex, GLuint maxIndex, nsecs_t startTime) argument 546 findMinAndMaxIndices(GLvoid *indices, GLsizei count, GLenum type, GLuint *minIndex, GLuint *maxIndex) argument 583 GLenum type = glGetVertexAttrib(context, index, GL_VERTEX_ATTRIB_ARRAY_TYPE); local 620 GLenum type = glmsg->args(2).intvalue(0); local 662 GLenum type = glmsg->args(2).intvalue(0); local [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 186 public static String getPhoneTypeString(Integer type) { argument 187 return sKnownPhoneTypesMap_ItoS.get(type); 191 * Returns Interger when the given types can be parsed as known type. Returns String object 199 int type = -1; 216 if (typeStringUpperCase.startsWith("X-") && type < 0) { 228 // 1. If a type isn't specified yet, we'll choose the new type candidate. 229 // 2. If the current type is default one (OTHER) or custom one, we'll 243 || type < 0 244 || type [all...] |
/frameworks/base/core/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 77 * The code type used to identify an Ethernet MAC address in the 139 // the actual type values 221 * Allows the concrete class to fill in packet-type-specific details, 418 protected void addTlv(ByteBuffer buf, byte type, byte value) { argument 419 buf.put(type); 427 protected void addTlv(ByteBuffer buf, byte type, byte[] payload) { argument 429 buf.put(type); 438 protected void addTlv(ByteBuffer buf, byte type, InetAddress addr) { argument 440 addTlv(buf, type, addr.getAddress()); 447 protected void addTlv(ByteBuffer buf, byte type, Lis argument 461 addTlv(ByteBuffer buf, byte type, Integer value) argument 472 addTlv(ByteBuffer buf, byte type, String str) argument [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
H A D | Settings.java | 779 int type; 780 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT 781 && (type != XmlPullParser.END_TAG || parser.getDepth() > outerDepth)) { 782 if (type == XmlPullParser.END_TAG || type == XmlPullParser.TEXT) { 856 int type; 857 while ((type=parser.next()) != XmlPullParser.START_TAG 858 && type != XmlPullParser.END_DOCUMENT) { 862 if (type != XmlPullParser.START_TAG) { 871 while ((type [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkInfo.java | 127 * @param type network type 132 public NetworkInfo(int type) {} argument 137 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument 138 if (!ConnectivityManager.isNetworkTypeValid(type)) { 139 throw new IllegalArgumentException("Invalid network type: " + type); 141 mNetworkType = type; 169 * Reports the type of network to which the 183 * Return a network-type [all...] |