/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListConnector.java | 274 return PositionMetadata.obtain(pos.groupPos, pos.type, 302 if (pos.type == ExpandableListPosition.GROUP) { 304 return PositionMetadata.obtain(midExpGm.flPos, pos.type, 306 } else if (pos.type == ExpandableListPosition.CHILD) { 309 + 1, pos.type, pos.groupPos, pos.childPos, 321 if (pos.type != ExpandableListPosition.GROUP) { 347 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos, 361 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos, 379 if (pos.type == ExpandableListPosition.CHILD) { 404 if (posMetadata.position.type 994 obtain(int flatListPos, int type, int groupPos, int childPos, GroupMetadata groupMetadata, int groupInsertIndex) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 55 static void throwUnknownTypeException(JNIEnv * env, jint type) { argument 57 msg.appendFormat("UNKNOWN type %d", type); 155 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); 178 int32_t type = window->getFieldSlotType(fieldSlot); local 179 if (type == CursorWindow::FIELD_TYPE_BLOB || type == CursorWindow::FIELD_TYPE_STRING) { 190 } else if (type == CursorWindow::FIELD_TYPE_INTEGER) { 192 } else if (type == CursorWindow::FIELD_TYPE_FLOAT) { 194 } else if (type 213 int32_t type = window->getFieldSlotType(fieldSlot); local 305 int32_t type = window->getFieldSlotType(fieldSlot); local 344 int32_t type = window->getFieldSlotType(fieldSlot); local 375 int32_t type = window->getFieldSlotType(fieldSlot); local [all...] |
H A D | android_net_TrafficStats.cpp | 122 static uint64_t getIfaceStatType(const char* iface, IfaceStatType type) { argument 130 switch (type) { 144 static jlong getTotalStat(JNIEnv* env, jclass clazz, jint type) { argument 145 return getIfaceStatType(NULL, (IfaceStatType) type); 148 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 152 uint64_t stat = getIfaceStatType(ifaceChars, (IfaceStatType) type);
|
H A D | android_os_SELinux.cpp | 520 static int log_callback(int type, const char *fmt, ...) { argument
|
/frameworks/base/include/androidfw/ |
H A D | InputTransport.h | 51 uint32_t type; member in struct:android::InputMessage::Header
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 377 GLenum type; local 385 type = GL_UNSIGNED_BYTE; 389 type = GL_UNSIGNED_SHORT_5_6_5; 393 type = GL_UNSIGNED_SHORT_4_4_4_4; 398 type = GL_UNSIGNED_BYTE; 428 0, format, type, NULL); 460 type, bitmap->getPixels());
|
H A D | SkiaShader.cpp | 72 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, argument 74 mType(type), mKey(key), mTileX(tileX), mTileY(tileY), mBlend(blend) { 313 SkiaSweepGradientShader::SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, argument 316 SkiaShader(type, key, tileMode, tileMode, matrix, blend), 406 if (mFirst->type() == kBitmap) {
|
/frameworks/base/tools/aidl/ |
H A D | AST.h | 69 Type* type; member in struct:Variable 74 Variable(Type* type, const string& name); 75 Variable(Type* type, const string& name, int dimension); 184 Type* type; member in struct:NewExpression 187 NewExpression(Type* type); 188 NewExpression(Type* type, int argc, ...); 198 Type* type; member in struct:NewArrayExpression 201 NewArrayExpression(Type* type, Expression* size); 220 Type* type; member in struct:Cast 224 Cast(Type* type, Expressio 345 Type* type; member in struct:Class [all...] |
H A D | aidl_language.h | 29 buffer_type type; member in struct:type_type 37 type_type type; member in struct:arg_type 53 type_type type; member in struct:method_type 107 type_type type; member in union:lexer_type
|
H A D | generate_java_binder.cpp | 12 StubClass(Type* type, Type* interfaceType); 24 StubClass::StubClass(Type* type, Type* interfaceType) argument 30 this->type = type; 123 // Ensure the instance type of the local object is as expected. 152 ProxyClass(Type* type, InterfaceType* interfaceType); 159 ProxyClass::ProxyClass(Type* type, InterfaceType* interfaceType) argument 164 this->type = type; 275 decl->returnType = NAMES.Search(method->type [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 62 * <p/>To use this bridge, simply instantiate an object of type {@link Bridge} and call 82 * Maps from id to resource type/name. This is for com.android.internal.R 92 * Reverse map compared to sRMap, resource type -> (resource name -> id). 98 // framework resources are defined as 0x01XX#### where XX is the resource type (layout, 99 // drawable, etc...). Using FF as the type allows for 255 resource types before we get a 275 Class<?> type = f.getType(); 276 if (type.isArray() && type.getComponentType() == int.class) { 281 } else if (type == int.class) { 466 * @return a Pair containing the resource type an 495 getResourceId(ResourceType type, String name) argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter2.java | 54 * the methods to be overridden here. The methods have the same return type. 55 * The argument type list is the same except the "this" reference is passed first 84 /** The original method descriptor (return type + argument types.) */ 149 * All the parameters must be passed and then the eventual return type returned. 218 outerType.getDescriptor()); // type of the field 243 // we pushed on the call stack. The return type remains unchanged. 363 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 365 mOrgWriter.visitTryCatchBlock(start, end, handler, type); 384 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 386 mOrgWriter.visitFrame(type, nLoca 448 visitTypeInsn(int opcode, String type) argument [all...] |
H A D | RenameClassAdapter.java | 71 * Renames a type descriptor, e.g. "Lcom.package.MyClass;" 72 * If the type doesn't need to be renamed, returns the input string as-is. 83 * Renames an object type, e.g. "Lcom.package.MyClass;" or an array type that has an 85 * If the type doesn't need to be renamed, returns the internal name of the input type. 87 String renameType(Type type) { argument 88 if (type == null) { 92 if (type.getSort() == Type.OBJECT) { 93 String in = type 112 renameTypeAsType(Type type) argument 141 renameInternalType(String type) argument 303 visitTypeInsn(int opcode, String type) argument 343 visitTryCatchBlock(Label start, Label end, Label handler, String type) argument [all...] |
H A D | StubMethodAdapter.java | 28 * a stub depending on the return type. Original annotations are passed along unchanged. 37 /** The method return type. Can be null. */ 153 /* Pops the stack, depending on the return type. 278 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 280 mParentVisitor.visitTryCatchBlock(start, end, handler, type); 299 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 301 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack); 363 public void visitTypeInsn(int opcode, String type) { argument 365 mParentVisitor.visitTypeInsn(opcode, type);
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 113 * @param type The media type, e.g. {@code "audio"}. 118 public Media newMedia(String type, int port, int portCount, argument 120 Media media = new Media(type, port, portCount, protocol); 191 * Returns the bandwidth limit of the given type or {@code -1} if it is not 194 public int getBandwidth(String type) { argument 195 return mFields.getBandwidth(type); 199 * Sets the bandwith limit for the given type. The field will be removed if 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, valu 244 Media(String type, int port, int portCount, String protocol) argument 334 getRtpmap(int type) argument 342 getFmtp(int type) argument 352 setRtpPayload(int type, String rtpmap, String fmtp) argument 364 removeRtpPayload(int type) argument 470 getBandwidth(String type) argument 485 setBandwidth(String type, int value) argument [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_sample.c | 11 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/compile/slang/ |
H A D | slang_rs_type_spec.h | 129 struct RSPrimitiveType base; // base type of vec must be in primitive type 135 // dt (data type) can only be RS_DT_RSMatrix2x2, RS_DT_RSMatrix3x3 and 146 // the number of elements in any constant array type should never exceed 2^24. 151 const union RSType *type; member in struct:RSRecordField 156 const char *name; // type name 159 // implicates the number of fields defined in any record type should never 242 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].type
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 72 DisplayType type, 79 mType(type), mHwcDisplayId(-1), 426 const uint8_t type = mGlobalTransform.getType(); local 428 (type >= Transform::SCALE)); 436 " type=%x, layerStack=%u, (%4dx%4d), ANativeWindow=%p, orient=%2d (type=%08x), " 70 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, bool isSecure, const wp<IBinder>& displayToken, const sp<ANativeWindow>& nativeWindow, const sp<FramebufferSurface>& framebufferSurface, EGLConfig config) argument
|
H A D | SurfaceFlinger.h | 122 int32_t allocateHwcDisplayId(DisplayDevice::DisplayType type); 161 DisplayDeviceState(DisplayDevice::DisplayType type); 162 bool isValid() const { return type >= 0; } 163 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } 164 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } 165 DisplayDevice::DisplayType type; member in struct:android::SurfaceFlinger::DisplayDeviceState 225 virtual void onVSyncReceived(int type, nsecs_t timestamp);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccCardApplicationStatus.java | 112 AppType AppTypeFromRILInt(int type) { argument 115 switch(type) { 124 "Unrecognized RIL_AppType: " +type);
|
/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/rs/driver/ |
H A D | rsdShader.cpp | 32 RsdShader::RsdShader(const Program *p, uint32_t type, argument 38 mType = type; 239 ALOGV("Loading shader type %x, ID %i", mType, mCurrentState->mShaderID); 405 // This tells us the correct texture type
|
/frameworks/rs/ |
H A D | rsType.cpp | 179 ALOGE("type loading skipped due to invalid class id\n"); 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); local 198 return type; 317 void rsaTypeGetNativeData(RsContext con, RsType type, uint32_t *typeData, uint32_t typeDataSize) { argument 321 Type *t = static_cast<Type *>(type);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsType.cpp | 179 ALOGE("type loading skipped due to invalid class id\n"); 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); local 198 return type; 317 void rsaTypeGetNativeData(RsContext con, RsType type, uint32_t *typeData, uint32_t typeDataSize) { argument 321 Type *t = static_cast<Type *>(type);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 31 * MediaCodec codec = MediaCodec.createDecoderByType(type); 83 * encoded data according to the format's type. For video types this data 160 * Instantiate a decoder supporting input data of the given mime type. 177 * @param type The mime type of the input data. 179 public static MediaCodec createDecoderByType(String type) { argument 180 return new MediaCodec(type, true /* nameIsType */, false /* encoder */); 184 * Instantiate an encoder supporting output data of the given mime type. 185 * @param type The desired mime type o 187 createEncoderByType(String type) argument [all...] |