Searched defs:types (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/
H A DMediaRouterJellybeanMr2.java24 public static void addCallback(Object routerObj, int types, Object callbackObj, int flags) { argument
25 ((android.media.MediaRouter)routerObj).addCallback(types,
/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java51 // TODO Update this when new route types are added; segment by API level
52 // when different route types were added.
56 public void setRouteTypes(int types) { argument
57 if (mRouteTypes == types) return;
61 mRouteTypes = types;
62 if (types != 0) {
63 mRouter.addCallback(types, mCallback);
H A DMediaRouteButton.java190 public void setRouteTypes(int types) { argument
191 if (types == mRouteTypes) {
200 mRouteTypes = types;
204 mRouter.addCallback(types, mRouterCallback);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp73 Vector<AString> types; local
75 MediaCodecList::getInstance()->getSupportedTypes(index, &types);
85 jobjectArray array = env->NewObjectArray(types.size(), clazz, NULL);
87 for (size_t i = 0; i < types.size(); ++i) {
88 jstring obj = env->NewStringUTF(types.itemAt(i).c_str());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java39 public final String[] types; field in class:ApnSetting
60 String user, String password, int authType, String[] types,
74 this.types = types;
170 for (int i = 0; i < types.length; i++) {
171 sb.append(types[i]);
172 if (i < types.length - 1) {
184 for (String t : types) {
57 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument
H A DDcTracker.java276 // skip unknown types
315 // Return all active apn types
317 if (DBG) log("get all active apn types");
836 * @param types comma delimited list of APN types
837 * @return array of APN types
839 private String[] parseTypes(String types) { argument
842 if (types == null || types.equals("")) {
846 result = types
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java47 final int repeatCount, List<ResourceReference> types, int depth) {
57 int typeIndex = types.indexOf(viewRef);
59 typeIndex = types.size();
60 types.add(viewRef);
46 createItems(Iterable<DataBindingItem> iterable, final int itemCount, final int repeatCount, List<ResourceReference> types, int depth) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java119 // Note that not all types are included in this map/set, since, for example, TYPE_HOME_FAX is
188 * Returns Interger when the given types can be parsed as known type. Returns String object
191 public static Object getPhoneTypeFromStrings(Collection<String> types, argument
201 if (types != null) {
202 for (final String typeStringOrg : types) {
227 // prefer more specific types specified in the vCard. Note that OTHER and
228 // the other different types may appear simultaneously here, since vCard
H A DVCardBuilder.java1448 // Event types other than Birthday is not supported by vCard.
1752 // about miscellaneous types.
2039 private void appendTypeParameters(final List<String> types) { argument
2043 for (final String typeValue : types) {
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java71 public static void selectRoute(Object routerObj, int types, Object routeObj) { argument
72 ((android.media.MediaRouter)routerObj).selectRoute(types,
76 public static void addCallback(Object routerObj, int types, Object callbackObj) { argument
77 ((android.media.MediaRouter)routerObj).addCallback(types,
288 public void selectRoute(Object routerObj, int types, Object routeObj) { argument
302 mSelectRouteIntMethod.invoke(router, types, route);
319 router.selectRoute(types, route);
/frameworks/av/services/audioflinger/
H A DEffects.cpp1626 Vector<const effect_uuid_t *> types; local
1631 types.add(&mSuspendedEffects.valueAt(i)->mType);
1633 for (size_t i = 0; i < types.size(); i++) {
1634 setEffectSuspended_l(types[i], false);
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java121 public void setRouteTypes(int types) { argument
122 mRouteTypes = types;
/frameworks/base/media/java/android/media/
H A DMediaRouter.java309 * <p>Unlike other media route types, user routes are managed by the application.
346 static String typesToString(int types) { argument
348 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) {
351 if ((types & ROUTE_TYPE_LIVE_VIDEO) != 0) {
354 if ((types & ROUTE_TYPE_USER) != 0) {
391 * Return the currently selected route for any of the given types
393 * @param type route types
399 // If the selected route supports any of the types supplied, it's still considered
415 * additional route types specified.
421 * @param types Type
424 addCallback(int types, Callback cb) argument
444 addCallback(int types, Callback cb, int flags) argument
500 selectRoute(int types, RouteInfo route) argument
507 selectRouteInt(int types, RouteInfo route) argument
511 selectRouteStatic(int types, RouteInfo route) argument
1960 RouteCategory(CharSequence name, int types, boolean groupable) argument
1966 RouteCategory(int nameResId, int types, boolean groupable) argument
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h32 #include <sys/types.h>
152 * These are standard types that are shared between multiple specific
153 * resource types.
185 // Chunk types in RES_XML_TYPE
197 // Chunk types in RES_TABLE_TYPE
286 // types, as defined below.
774 * A collection of resource data types within a package. Followed by
1189 // resources, 'name' can be one of the following special resource types
1190 // to supply meta-data about the attribute; for all other resource types
1219 // Bit mask of allowed types, fo
1427 type_info types[]; member in struct:android::ResTable::Theme::package_info
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java547 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
548 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
550 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java695 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
696 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
698 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp249 ALOGW("Resource ID map: type=%d exceeds number of types=%d\n", type, typeCount);
253 ALOGW("Resource ID map: number of types=%d exceeds size of map=%d\n", typeCount, (int)size);
2354 size_t i = types.size();
2357 delete types[i];
2364 Vector<Type*> types; member in struct:android::ResTable::Package
2370 return idx < types.size() ? types[idx] : NULL;
2462 theme_entry* te = pi->types[j].entries;
2476 size_t cnt = pi->types[j].numEntries;
2477 newpi->types[
[all...]

Completed in 6101 milliseconds