Searched refs:info (Results 1 - 25 of 488) sorted by relevance

1234567891011>>

/packages/apps/Settings/src/com/android/settings/datausage/
H A DDataUsageInfoController.java27 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { argument
28 if (info == null || policy == null) {
32 info.warningLevel = policy.warningBytes;
35 info.limitLevel = policy.limitBytes;
44 public long getSummaryLimit(DataUsageInfo info) { argument
45 long limit = info.limitLevel;
47 limit = info.warningLevel;
49 if (info.usageLevel > limit) {
50 limit = info.usageLevel;
/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryService.java57 * Data class which holds into info of the queued operation
171 OperationInfo info = new OperationInfo();
172 info.op = Operation.EVENT_ARG_QUERY;
173 info.resolver = mContext.getContentResolver();
175 info.handler = mHandler;
176 info.token = token;
177 info.cookie = cookie;
178 info.uri = uri;
179 info.projection = projection;
180 info
[all...]
/packages/services/Telephony/src/com/android/phone/settings/
H A DCallForwardInfoUtil.java77 public static void setCallForwardingOption(Phone phone, CallForwardInfo info, Message message) { argument
78 int commandInterfaceCfAction = info.status == CALL_FORWARD_INFO_ACTIVE_STATUS
83 info.reason,
84 info.number,
85 info.timeSeconds,
95 CallForwardInfo info = null;
98 info = infos[i];
103 if (info == null) {
104 // If there is no info, create a CallForwardInfo to disable this reason.
105 info
122 isServiceClassVoice(CallForwardInfo info) argument
126 hasForwardingNumber(CallForwardInfo info) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppBatch.java103 * @param info, BluetoothOppShareInfo
105 public BluetoothOppBatch(Context context, BluetoothOppShareInfo info) { argument
109 mTimestamp = info.mTimestamp;
110 mDirection = info.mDirection;
111 mDestination = adapter.getRemoteDevice(info.mDestination);
113 mShares.add(info);
115 if (V) Log.v(TAG, "New Batch created for info " + info.mId);
125 public void addShare(BluetoothOppShareInfo info) { argument
126 mShares.add(info);
138 deleteShare(BluetoothOppShareInfo info) argument
181 hasShare(BluetoothOppShareInfo info) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DActionMultiMap.java27 public void put(String mimeType, Action info) { argument
28 put(mimeType, info, false);
35 public void put(String mimeType, Action info, boolean front) { argument
36 // Put the info first
45 collectList.add(0, info);
47 collectList.add(info);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DInfoDropTarget.java62 ItemInfo info, Launcher launcher, DropTargetResultCallback callback) {
65 if (info instanceof AppInfo) {
66 componentName = ((AppInfo) info).componentName;
67 } else if (info instanceof ShortcutInfo) {
68 componentName = ((ShortcutInfo) info).intent.getComponent();
69 } else if (info instanceof PendingAddItemInfo) {
70 componentName = ((PendingAddItemInfo) info).componentName;
71 } else if (info instanceof LauncherAppWidgetInfo) {
72 componentName = ((LauncherAppWidgetInfo) info).providerName;
77 .showAppDetailsForProfile(componentName, info
61 startDetailsActivityForInfo( ItemInfo info, Launcher launcher, DropTargetResultCallback callback) argument
92 supportsDrop(DragSource source, ItemInfo info) argument
96 supportsDrop(ItemInfo info) argument
[all...]
H A DAppInfo.java81 public AppInfo(Context context, LauncherActivityInfoCompat info, UserHandleCompat user, argument
83 this(context, info, user, iconCache,
87 public AppInfo(Context context, LauncherActivityInfoCompat info, UserHandleCompat user, argument
89 this.componentName = info.getComponentName();
91 flags = initFlags(info);
92 if (PackageManagerHelper.isAppSuspended(info.getApplicationInfo())) {
99 iconCache.getTitleAndIcon(this, info, true /* useLowResIcon */);
100 intent = makeLaunchIntent(context, info, user);
104 public static int initFlags(LauncherActivityInfoCompat info) { argument
105 int appFlags = info
117 AppInfo(AppInfo info) argument
151 makeLaunchIntent(Context context, LauncherActivityInfoCompat info, UserHandleCompat user) argument
[all...]
H A DAllAppsList.java68 public void add(AppInfo info) { argument
69 if (mAppFilter != null && !mAppFilter.shouldShowApp(info.componentName)) {
72 if (findActivity(data, info.componentName, info.user)) {
75 data.add(info);
76 added.add(info);
103 for (LauncherActivityInfoCompat info : matches) {
104 add(new AppInfo(context, info, user, mIconCache));
114 AppInfo info = data.get(i);
115 final ComponentName component = info
[all...]
H A DUninstallDropTarget.java37 protected boolean supportsDrop(DragSource source, ItemInfo info) { argument
38 return supportsDrop(getContext(), info);
42 public static boolean supportsDrop(Context context, Object info) { argument
52 Pair<ComponentName, Integer> componentInfo = getAppInfoFlags(info);
57 * @return the component name and flags if {@param info} is an AppInfo or an app shortcut.
61 AppInfo info = (AppInfo) item;
62 return Pair.create(info.componentName, info.flags);
64 ShortcutInfo info = (ShortcutInfo) item;
65 ComponentName component = info
90 startUninstallActivity(Launcher launcher, ItemInfo info) argument
94 startUninstallActivity( final Launcher launcher, ItemInfo info, DropTargetResultCallback callback) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
H A DNumbersAdapter.java69 ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
70 if (info == null) {
71 info = new ContactInfo();
72 info.number = number;
74 final CharSequence locationOrType = getNumberTypeOrLocation(info);
75 final String displayNumber = getDisplayNumber(info);
80 if (!TextUtils.isEmpty(info.name)) {
81 nameForDefaultImage = info.name;
82 callerName.setText(info.name);
94 loadContactPhoto(info, nameForDefaultImag
97 loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) argument
111 getDisplayNumber(ContactInfo info) argument
121 getNumberTypeOrLocation(ContactInfo info) argument
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStateNotificationBridge.java34 * Connects the info provided by ApplicationsState and the NotificationBackend.
57 app.extraInfo = mNotifBackend.loadAppRow(mContext, mPm, app.info);
63 app.extraInfo = mNotifBackend.loadAppRow(mContext, mPm, app.info);
72 public boolean filterApp(AppEntry info) {
73 if (info == null || info.extraInfo == null) {
76 if (info.extraInfo instanceof AppRow) {
77 AppRow row = (AppRow) info.extraInfo;
90 public boolean filterApp(AppEntry info) {
91 if (info
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java67 public ApplicationInfo(LauncherActivityInfo info, UserHandle user, IconCache iconCache, argument
70 this.componentName = info.getComponentName();
73 int appFlags = info.getApplicationInfo().flags;
80 firstInstallTime = info.getFirstInstallTime();
81 iconCache.getTitleAndIcon(this, info, labelCache);
84 intent.setComponent(info.getComponentName());
91 public ApplicationInfo(ApplicationInfo info) { argument
92 super(info);
93 componentName = info.componentName;
94 title = info
[all...]
H A DShortcutInfo.java65 public ShortcutInfo(ShortcutInfo info) { argument
66 super(info);
67 title = info.title.toString();
68 intent = new Intent(info.intent);
69 if (info.iconResource != null) {
71 iconResource.packageName = info.iconResource.packageName;
72 iconResource.resourceName = info.iconResource.resourceName;
74 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all
75 customIcon = info.customIcon;
79 public ShortcutInfo(ApplicationInfo info) { argument
[all...]
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/compat/
H A DAppWorkaroundsHelper.java27 public static boolean evaluateIsBrokenByRecorrection(final PackageInfo info) { argument
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DAppWidgetManagerCompatV16.java52 public String loadLabel(LauncherAppWidgetProviderInfo info) { argument
53 return Utilities.trim(info.label);
58 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, AppWidgetProviderInfo info, argument
61 return mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, info.provider, options);
63 return mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, info.provider);
68 public UserHandleCompat getUser(LauncherAppWidgetProviderInfo info) { argument
73 public void startConfigActivity(AppWidgetProviderInfo info, int widgetId, Activity activity, argument
76 intent.setComponent(info.configure);
82 public Drawable loadPreview(AppWidgetProviderInfo info) { argument
84 info
88 loadIcon(LauncherAppWidgetProviderInfo info, IconCache cache) argument
93 getBadgeBitmap(LauncherAppWidgetProviderInfo info, Bitmap bitmap, int imageWidth, int imageHeight) argument
[all...]
H A DAppWidgetManagerCompat.java69 AppWidgetProviderInfo info = getAppWidgetInfo(appWidgetId);
70 return info == null ? null : LauncherAppWidgetProviderInfo.fromProviderInfo(mContext, info);
75 public abstract String loadLabel(LauncherAppWidgetProviderInfo info); argument
78 int appWidgetId, AppWidgetProviderInfo info, Bundle options);
80 public abstract UserHandleCompat getUser(LauncherAppWidgetProviderInfo info); argument
82 public abstract void startConfigActivity(AppWidgetProviderInfo info, int widgetId, argument
85 public abstract Drawable loadPreview(AppWidgetProviderInfo info); argument
87 public abstract Drawable loadIcon(LauncherAppWidgetProviderInfo info, IconCache cache); argument
89 public abstract Bitmap getBadgeBitmap(LauncherAppWidgetProviderInfo info, Bitma argument
77 bindAppWidgetIdIfAllowed( int appWidgetId, AppWidgetProviderInfo info, Bundle options) argument
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DAppPicker.java81 if (app.info != null) intent.setAction(app.info.packageName);
87 ApplicationInfo info; field in class:AppPicker.MyApplicationInfo
139 MyApplicationInfo info = new MyApplicationInfo();
140 info.info = ai;
141 info.label = info.info.loadLabel(getPackageManager()).toString();
142 mPackageInfoList.add(info);
[all...]
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrSessionManager.java63 for (TvInputInfo info : tvInputManager.getTvInputList()) {
65 Log.d(TAG, info + " canRecord=" + info.canRecord() + " tunerCount=" + info
68 if (info.canRecord()) {
69 mRecordingTvInputs.put(info.getId(), info);
83 TvInputInfo info = mRecordingTvInputs.get(inputId);
84 return info != null;
94 TvInputInfo info
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DLauncherAccessibilityDelegate.java70 public ItemInfo info; field in class:LauncherAccessibilityDelegate.DragInfo
101 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { argument
102 super.onInitializeAccessibilityNodeInfo(host, info);
103 addActions(host, info);
106 protected void addActions(View host, AccessibilityNodeInfo info) { argument
111 info.addAction(mActions.get(DEEP_SHORTCUTS));
115 info.addAction(mActions.get(REMOVE));
118 info.addAction(mActions.get(UNINSTALL));
121 info.addAction(mActions.get(INFO));
127 info
240 getSupportedResizeActions(View host, LauncherAppWidgetInfo info) argument
273 performResizeAction(int action, View host, LauncherAppWidgetInfo info) argument
355 beginAccessibleDrag(View item, ItemInfo info) argument
407 findSpaceOnWorkspace(ItemInfo info, int[] outCoordinates) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DItemInfoMatcher.java34 public abstract boolean matches(ItemInfo info, ComponentName cn); argument
40 public boolean matches(ItemInfo info, ComponentName cn) {
41 return components.contains(cn) && info.user.equals(user);
50 public boolean matches(ItemInfo info, ComponentName cn) {
51 return packageNames.contains(cn.getPackageName()) && info.user.equals(user);
59 public boolean matches(ItemInfo info, ComponentName cn) {
60 return info.itemType == Favorites.ITEM_TYPE_DEEP_SHORTCUT &&
61 keys.contains(ShortcutKey.fromShortcutInfo((ShortcutInfo) info));
H A DPackageManagerHelper.java55 ApplicationInfo info = pm.getApplicationInfo(packageName, flags);
56 return info != null && info.enabled;
64 ApplicationInfo info = pm.getApplicationInfo(packageName, 0);
65 return info != null && isAppSuspended(info);
71 public static boolean isAppSuspended(ApplicationInfo info) { argument
76 return (info.flags & FLAG_SUSPENDED) != 0;
89 for (ResolveInfo info : pm.queryIntentActivities(
91 excludePackages.add(info
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetDataLoader.java266 UpdateInfo info = new UpdateInfo();
267 info.version = mSourceVersion;
268 info.index = index;
269 info.size = mSize;
270 return info;
277 public UpdateContent(UpdateInfo info) { argument
278 mUpdateInfo = info;
286 UpdateInfo info = mUpdateInfo;
287 mSourceVersion = info.version;
288 if (mSize != info
[all...]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DCallerInfoUtils.java23 * Utility methods for contact and caller info related functionality
38 * This is called to get caller info for a call. This will return a CallerInfo
45 CallerInfo info = buildCallerInfo(context, call);
49 if (info.numberPresentation == TelecomManager.PRESENTATION_ALLOWED) {
52 CallerInfoAsyncQuery.startQuery(QUERY_TOKEN, context, info, listener, call);
54 return info;
58 CallerInfo info = new CallerInfo();
62 info.cnapName = call.getCnapName();
63 info.name = info
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/contactinfo/
H A DContactPhotoLoaderTest.java70 ContactInfo info = getTestContactInfo();
71 info.photoUri = getResourceUri(R.drawable.phone_icon);
72 ContactPhotoLoader loader = new ContactPhotoLoader(mContext, info);
77 ContactInfo info = getTestContactInfo();
78 info.photoUri = Uri.parse("file://invalid/uri");
79 ContactPhotoLoader loader = new ContactPhotoLoader(mContext, info);
85 ContactInfo info = getTestContactInfo();
86 ContactPhotoLoader loader = new ContactPhotoLoader(mContext, info);
101 ContactInfo info = new ContactInfo();
102 info
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DWidgetItem.java34 public WidgetItem(LauncherAppWidgetProviderInfo info, AppWidgetManagerCompat widgetManager) { argument
35 super(info.provider, widgetManager.getUser(info));
37 label = Utilities.trim(widgetManager.loadLabel(info));
38 widgetInfo = info;
42 spanX = Math.min(info.spanX, idv.numColumns);
43 spanY = Math.min(info.spanY, idv.numRows);
46 public WidgetItem(ResolveInfo info, PackageManager pm) { argument
47 super(new ComponentName(info.activityInfo.packageName, info
[all...]

Completed in 395 milliseconds

1234567891011>>