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

/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java56 public void setRouteTypes(int types) { argument
57 if (types != getRouteTypes()) {
62 args.putInt(ARGUMENT_ROUTE_TYPES, types);
67 dialog.setRouteTypes(types);
H A DMediaRouteChooserDialog.java69 * Gets the media route types for filtering the routes that the user can
72 * @return The route types.
79 * Sets the types of routes that will be shown in the media route chooser dialog
82 * @param types The route types to match.
84 public void setRouteTypes(int types) { argument
85 if (mRouteTypes != types) {
86 mRouteTypes = types;
90 mRouter.addCallback(types, mCallback,
109 * match the route types
[all...]
/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.java36 * to select by specifying the route types with the {@link #setRouteTypes} method.
64 // TODO Update this when new route types are added; segment by API level
65 // when different route types were added.
70 * Sets the types of routes that will be shown in the media route chooser dialog
73 * @param types The route types to match.
75 public void setRouteTypes(int types) { argument
76 if (mRouteTypes != types) {
87 mRouteTypes = types;
88 if (types !
[all...]
H A DMediaRouteButton.java101 * Gets the media route types for filtering the routes that the user can
104 * @return The route types.
111 * Sets the types of routes that will be shown in the media route chooser dialog
114 * @param types The route types to match.
116 public void setRouteTypes(int types) { argument
117 if (mRouteTypes != types) {
122 mRouteTypes = types;
124 if (mAttachedToWindow && types != 0) {
125 mRouter.addCallback(types, mCallbac
[all...]
/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.java318 // Return all active apn types
320 if (DBG) log("get all active apn types");
841 * @param types comma delimited list of APN types
842 * @return array of APN types
844 private String[] parseTypes(String types) { argument
847 if (types == null || types.equals("")) {
851 result = types.split(",");
903 String[] types
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeExpandableAdapter.java56 final int repeatCount, List<ResourceReference> types, int depth) {
66 int typeIndex = types.indexOf(viewRef);
68 typeIndex = types.size();
69 types.add(viewRef);
55 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,
293 public void selectRoute(Object routerObj, int types, Object routeObj) { argument
307 mSelectRouteIntMethod.invoke(router, types, route);
324 router.selectRoute(types, route);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp116 Vector<AString> types; local
117 if (mcl->getSupportedTypes(codecIdx, &types) == OK) {
118 for (int i = 0; i < types.size(); i++) {
119 if (types[i].startsWith("video/")) {
/frameworks/av/services/audioflinger/
H A DEffects.cpp1686 Vector<const effect_uuid_t *> types; local
1691 types.add(&mSuspendedEffects.valueAt(i)->mType);
1693 for (size_t i = 0; i < types.size(); i++) {
1694 setEffectSuspended_l(types[i], false);
/frameworks/base/media/java/android/media/
H A DMediaRouter.java624 * <p>Unlike other media route types, user routes are managed by the application.
693 static String typesToString(int types) { argument
695 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) {
698 if ((types & ROUTE_TYPE_LIVE_VIDEO) != 0) {
701 if ((types & ROUTE_TYPE_REMOTE_DISPLAY) != 0) {
704 if ((types & ROUTE_TYPE_USER) != 0) {
746 * Return the currently selected route for any of the given types
748 * @param type route types
754 // If the selected route supports any of the types supplied, it's still considered
768 * Returns true if there is a route that matches the specified types
783 isRouteAvailable(int types, int flags) argument
811 addCallback(int types, Callback cb) argument
831 addCallback(int types, Callback cb, int flags) argument
883 selectRoute(int types, RouteInfo route) argument
890 selectRouteInt(int types, RouteInfo route, boolean explicit) argument
894 selectRouteStatic(int types, RouteInfo route, boolean explicit) argument
1665 matchesTypes(int types) argument
2490 RouteCategory(CharSequence name, int types, boolean groupable) argument
2496 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.
778 * A collection of resource data types within a package. Followed by
1193 // resources, 'name' can be one of the following special resource types
1194 // to supply meta-data about the attribute; for all other resource types
1223 // Bit mask of allowed types, fo
1433 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.java553 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
554 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
556 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java718 native int rsnScriptGroupCreate(int con, int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types); argument
719 synchronized int nScriptGroupCreate(int[] kernels, int[] src, int[] dstk, int[] dstf, int[] types) { argument
721 return rsnScriptGroupCreate(mContext, kernels, src, dstk, dstf, types);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp248 ALOGW("Resource ID map: type=%d exceeds number of types=%d\n", type, typeCount);
252 ALOGW("Resource ID map: number of types=%d exceeds size of map=%d\n", typeCount, (int)size);
2490 size_t i = types.size();
2493 delete types[i];
2500 Vector<Type*> types; member in struct:android::ResTable::Package
2506 return idx < types.size() ? types[idx] : NULL;
2598 theme_entry* te = pi->types[j].entries;
2612 size_t cnt = pi->types[j].numEntries;
2613 newpi->types[
[all...]

Completed in 1243 milliseconds