Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2 | package androidx.core.accessibilityservice { |
| 3 | |
| 4 | public final class AccessibilityServiceInfoCompat { |
| 5 | method public static String capabilityToString(int); |
| 6 | method public static String feedbackTypeToString(int); |
| 7 | method public static String? flagToString(int); |
| 8 | method public static int getCapabilities(android.accessibilityservice.AccessibilityServiceInfo); |
| 9 | method public static String? loadDescription(android.accessibilityservice.AccessibilityServiceInfo, android.content.pm.PackageManager); |
| 10 | field public static final int CAPABILITY_CAN_FILTER_KEY_EVENTS = 8; // 0x8 |
| 11 | field public static final int CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 4; // 0x4 |
| 12 | field public static final int CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION = 2; // 0x2 |
| 13 | field public static final int CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT = 1; // 0x1 |
| 14 | field public static final int FEEDBACK_ALL_MASK = -1; // 0xffffffff |
| 15 | field public static final int FEEDBACK_BRAILLE = 32; // 0x20 |
| 16 | field public static final int FLAG_INCLUDE_NOT_IMPORTANT_VIEWS = 2; // 0x2 |
| 17 | field public static final int FLAG_REPORT_VIEW_IDS = 16; // 0x10 |
| 18 | field public static final int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 8; // 0x8 |
| 19 | field public static final int FLAG_REQUEST_FILTER_KEY_EVENTS = 32; // 0x20 |
| 20 | field public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 4; // 0x4 |
| 21 | } |
| 22 | |
| 23 | } |
| 24 | |
| 25 | package androidx.core.app { |
| 26 | |
| 27 | public class ActivityCompat extends androidx.core.content.ContextCompat { |
| 28 | ctor protected ActivityCompat(); |
| 29 | method public static void finishAffinity(android.app.Activity); |
| 30 | method public static void finishAfterTransition(android.app.Activity); |
| 31 | method public static android.net.Uri? getReferrer(android.app.Activity); |
| 32 | method @Deprecated public static boolean invalidateOptionsMenu(android.app.Activity!); |
Aaron Labiaga | 76f1577 | 2021-06-15 16:15:40 +0000 | [diff] [blame] | 33 | method public static boolean isLaunchedFromBubble(android.app.Activity); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 34 | method public static void postponeEnterTransition(android.app.Activity); |
| 35 | method public static void recreate(android.app.Activity); |
| 36 | method public static androidx.core.view.DragAndDropPermissionsCompat? requestDragAndDropPermissions(android.app.Activity!, android.view.DragEvent!); |
| 37 | method public static void requestPermissions(android.app.Activity, String![], @IntRange(from=0) int); |
| 38 | method public static <T extends android.view.View> T requireViewById(android.app.Activity, @IdRes int); |
| 39 | method public static void setEnterSharedElementCallback(android.app.Activity, androidx.core.app.SharedElementCallback?); |
| 40 | method public static void setExitSharedElementCallback(android.app.Activity, androidx.core.app.SharedElementCallback?); |
Pinyao Ting | 742ad1f | 2020-04-21 17:40:48 -0700 | [diff] [blame] | 41 | method public static void setLocusContext(android.app.Activity, androidx.core.content.LocusIdCompat?, android.os.Bundle?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 42 | method public static void setPermissionCompatDelegate(androidx.core.app.ActivityCompat.PermissionCompatDelegate?); |
| 43 | method public static boolean shouldShowRequestPermissionRationale(android.app.Activity, String); |
| 44 | method public static void startActivityForResult(android.app.Activity, android.content.Intent, int, android.os.Bundle?); |
| 45 | method public static void startIntentSenderForResult(android.app.Activity, android.content.IntentSender, int, android.content.Intent?, int, int, int, android.os.Bundle?) throws android.content.IntentSender.SendIntentException; |
| 46 | method public static void startPostponedEnterTransition(android.app.Activity); |
| 47 | } |
| 48 | |
| 49 | public static interface ActivityCompat.OnRequestPermissionsResultCallback { |
| 50 | method public void onRequestPermissionsResult(int, String![], int[]); |
| 51 | } |
| 52 | |
| 53 | public static interface ActivityCompat.PermissionCompatDelegate { |
| 54 | method public boolean onActivityResult(android.app.Activity, @IntRange(from=0) int, int, android.content.Intent?); |
| 55 | method public boolean requestPermissions(android.app.Activity, String![], @IntRange(from=0) int); |
| 56 | } |
| 57 | |
| 58 | public final class ActivityManagerCompat { |
| 59 | method public static boolean isLowRamDevice(android.app.ActivityManager); |
| 60 | } |
| 61 | |
| 62 | public class ActivityOptionsCompat { |
| 63 | ctor protected ActivityOptionsCompat(); |
| 64 | method public android.graphics.Rect? getLaunchBounds(); |
| 65 | method public static androidx.core.app.ActivityOptionsCompat makeBasic(); |
| 66 | method public static androidx.core.app.ActivityOptionsCompat makeClipRevealAnimation(android.view.View, int, int, int, int); |
| 67 | method public static androidx.core.app.ActivityOptionsCompat makeCustomAnimation(android.content.Context, int, int); |
| 68 | method public static androidx.core.app.ActivityOptionsCompat makeScaleUpAnimation(android.view.View, int, int, int, int); |
| 69 | method public static androidx.core.app.ActivityOptionsCompat makeSceneTransitionAnimation(android.app.Activity, android.view.View, String); |
| 70 | method public static androidx.core.app.ActivityOptionsCompat makeSceneTransitionAnimation(android.app.Activity, androidx.core.util.Pair<android.view.View!,java.lang.String!>!...); |
| 71 | method public static androidx.core.app.ActivityOptionsCompat makeTaskLaunchBehind(); |
| 72 | method public static androidx.core.app.ActivityOptionsCompat makeThumbnailScaleUpAnimation(android.view.View, android.graphics.Bitmap, int, int); |
| 73 | method public void requestUsageTimeReport(android.app.PendingIntent); |
| 74 | method public androidx.core.app.ActivityOptionsCompat setLaunchBounds(android.graphics.Rect?); |
| 75 | method public android.os.Bundle? toBundle(); |
| 76 | method public void update(androidx.core.app.ActivityOptionsCompat); |
| 77 | field public static final String EXTRA_USAGE_TIME_REPORT = "android.activity.usage_time"; |
| 78 | field public static final String EXTRA_USAGE_TIME_REPORT_PACKAGES = "android.usage_time_packages"; |
| 79 | } |
| 80 | |
| 81 | public final class AlarmManagerCompat { |
| 82 | method public static void setAlarmClock(android.app.AlarmManager, long, android.app.PendingIntent, android.app.PendingIntent); |
| 83 | method public static void setAndAllowWhileIdle(android.app.AlarmManager, int, long, android.app.PendingIntent); |
| 84 | method public static void setExact(android.app.AlarmManager, int, long, android.app.PendingIntent); |
| 85 | method public static void setExactAndAllowWhileIdle(android.app.AlarmManager, int, long, android.app.PendingIntent); |
| 86 | } |
| 87 | |
| 88 | @RequiresApi(28) public class AppComponentFactory extends android.app.AppComponentFactory { |
| 89 | ctor public AppComponentFactory(); |
| 90 | method public final android.app.Activity instantiateActivity(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 91 | method public android.app.Activity instantiateActivityCompat(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 92 | method public final android.app.Application instantiateApplication(ClassLoader, String) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 93 | method public android.app.Application instantiateApplicationCompat(ClassLoader, String) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 94 | method public final android.content.ContentProvider instantiateProvider(ClassLoader, String) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 95 | method public android.content.ContentProvider instantiateProviderCompat(ClassLoader, String) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 96 | method public final android.content.BroadcastReceiver instantiateReceiver(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 97 | method public android.content.BroadcastReceiver instantiateReceiverCompat(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 98 | method public final android.app.Service instantiateService(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 99 | method public android.app.Service instantiateServiceCompat(ClassLoader, String, android.content.Intent?) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException; |
| 100 | } |
| 101 | |
| 102 | public class AppLaunchChecker { |
| 103 | ctor @Deprecated public AppLaunchChecker(); |
| 104 | method public static boolean hasStartedFromLauncher(android.content.Context); |
| 105 | method public static void onActivityCreate(android.app.Activity); |
| 106 | } |
| 107 | |
| 108 | public final class AppOpsManagerCompat { |
Yi-an Chen | 4da05dd | 2021-08-05 00:20:56 +0000 | [diff] [blame] | 109 | method public static int checkOrNoteProxyOp(android.content.Context, int, String, String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 110 | method public static int noteOp(android.content.Context, String, int, String); |
| 111 | method public static int noteOpNoThrow(android.content.Context, String, int, String); |
| 112 | method public static int noteProxyOp(android.content.Context, String, String); |
| 113 | method public static int noteProxyOpNoThrow(android.content.Context, String, String); |
| 114 | method public static String? permissionToOp(String); |
| 115 | field public static final int MODE_ALLOWED = 0; // 0x0 |
| 116 | field public static final int MODE_DEFAULT = 3; // 0x3 |
| 117 | field public static final int MODE_ERRORED = 2; // 0x2 |
| 118 | field public static final int MODE_IGNORED = 1; // 0x1 |
| 119 | } |
| 120 | |
| 121 | public final class BundleCompat { |
| 122 | method public static android.os.IBinder? getBinder(android.os.Bundle, String?); |
| 123 | method public static void putBinder(android.os.Bundle, String?, android.os.IBinder?); |
| 124 | } |
| 125 | |
| 126 | public class DialogCompat { |
| 127 | method public static android.view.View requireViewById(android.app.Dialog, int); |
| 128 | } |
| 129 | |
| 130 | public class FrameMetricsAggregator { |
| 131 | ctor public FrameMetricsAggregator(); |
| 132 | ctor public FrameMetricsAggregator(int); |
| 133 | method public void add(android.app.Activity); |
| 134 | method public android.util.SparseIntArray![]? getMetrics(); |
| 135 | method public android.util.SparseIntArray![]? remove(android.app.Activity); |
| 136 | method public android.util.SparseIntArray![]? reset(); |
| 137 | method public android.util.SparseIntArray![]? stop(); |
| 138 | field public static final int ANIMATION_DURATION = 256; // 0x100 |
| 139 | field public static final int ANIMATION_INDEX = 8; // 0x8 |
| 140 | field public static final int COMMAND_DURATION = 32; // 0x20 |
| 141 | field public static final int COMMAND_INDEX = 5; // 0x5 |
| 142 | field public static final int DELAY_DURATION = 128; // 0x80 |
| 143 | field public static final int DELAY_INDEX = 7; // 0x7 |
| 144 | field public static final int DRAW_DURATION = 8; // 0x8 |
| 145 | field public static final int DRAW_INDEX = 3; // 0x3 |
| 146 | field public static final int EVERY_DURATION = 511; // 0x1ff |
| 147 | field public static final int INPUT_DURATION = 2; // 0x2 |
| 148 | field public static final int INPUT_INDEX = 1; // 0x1 |
| 149 | field public static final int LAYOUT_MEASURE_DURATION = 4; // 0x4 |
| 150 | field public static final int LAYOUT_MEASURE_INDEX = 2; // 0x2 |
| 151 | field public static final int SWAP_DURATION = 64; // 0x40 |
| 152 | field public static final int SWAP_INDEX = 6; // 0x6 |
| 153 | field public static final int SYNC_DURATION = 16; // 0x10 |
| 154 | field public static final int SYNC_INDEX = 4; // 0x4 |
| 155 | field public static final int TOTAL_DURATION = 1; // 0x1 |
| 156 | field public static final int TOTAL_INDEX = 0; // 0x0 |
| 157 | } |
| 158 | |
Alan Viverette | 91130b6 | 2021-05-26 16:30:47 -0400 | [diff] [blame] | 159 | @Deprecated public abstract class JobIntentService extends android.app.Service { |
| 160 | ctor @Deprecated public JobIntentService(); |
| 161 | method @Deprecated public static void enqueueWork(android.content.Context, Class<?>, int, android.content.Intent); |
| 162 | method @Deprecated public static void enqueueWork(android.content.Context, android.content.ComponentName, int, android.content.Intent); |
| 163 | method @Deprecated public boolean isStopped(); |
| 164 | method @Deprecated public android.os.IBinder! onBind(android.content.Intent); |
| 165 | method @Deprecated protected abstract void onHandleWork(android.content.Intent); |
| 166 | method @Deprecated public boolean onStopCurrentWork(); |
| 167 | method @Deprecated public void setInterruptIfStopped(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 168 | } |
| 169 | |
| 170 | public final class NavUtils { |
| 171 | method public static android.content.Intent? getParentActivityIntent(android.app.Activity); |
| 172 | method public static android.content.Intent? getParentActivityIntent(android.content.Context, Class<?>) throws android.content.pm.PackageManager.NameNotFoundException; |
| 173 | method public static android.content.Intent? getParentActivityIntent(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; |
| 174 | method public static String? getParentActivityName(android.app.Activity); |
| 175 | method public static String? getParentActivityName(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; |
| 176 | method public static void navigateUpFromSameTask(android.app.Activity); |
| 177 | method public static void navigateUpTo(android.app.Activity, android.content.Intent); |
| 178 | method public static boolean shouldUpRecreateTask(android.app.Activity, android.content.Intent); |
| 179 | field public static final String PARENT_ACTIVITY = "android.support.PARENT_ACTIVITY"; |
| 180 | } |
| 181 | |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 182 | public class NotificationChannelCompat { |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 183 | method public boolean canBubble(); |
| 184 | method public boolean canBypassDnd(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 185 | method public boolean canShowBadge(); |
| 186 | method public android.media.AudioAttributes? getAudioAttributes(); |
| 187 | method public String? getConversationId(); |
| 188 | method public String? getDescription(); |
| 189 | method public String? getGroup(); |
| 190 | method public String getId(); |
| 191 | method public int getImportance(); |
| 192 | method public int getLightColor(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 193 | method public int getLockscreenVisibility(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 194 | method public CharSequence? getName(); |
| 195 | method public String? getParentChannelId(); |
| 196 | method public android.net.Uri? getSound(); |
| 197 | method public long[]? getVibrationPattern(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 198 | method public boolean isImportantConversation(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 199 | method public boolean shouldShowLights(); |
| 200 | method public boolean shouldVibrate(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 201 | method public androidx.core.app.NotificationChannelCompat.Builder toBuilder(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 202 | field public static final String DEFAULT_CHANNEL_ID = "miscellaneous"; |
| 203 | } |
| 204 | |
| 205 | public static class NotificationChannelCompat.Builder { |
| 206 | ctor public NotificationChannelCompat.Builder(String, int); |
| 207 | method public androidx.core.app.NotificationChannelCompat build(); |
| 208 | method public androidx.core.app.NotificationChannelCompat.Builder setConversationId(String, String); |
| 209 | method public androidx.core.app.NotificationChannelCompat.Builder setDescription(String?); |
| 210 | method public androidx.core.app.NotificationChannelCompat.Builder setGroup(String?); |
| 211 | method public androidx.core.app.NotificationChannelCompat.Builder setImportance(int); |
| 212 | method public androidx.core.app.NotificationChannelCompat.Builder setLightColor(int); |
| 213 | method public androidx.core.app.NotificationChannelCompat.Builder setLightsEnabled(boolean); |
| 214 | method public androidx.core.app.NotificationChannelCompat.Builder setName(CharSequence?); |
| 215 | method public androidx.core.app.NotificationChannelCompat.Builder setShowBadge(boolean); |
| 216 | method public androidx.core.app.NotificationChannelCompat.Builder setSound(android.net.Uri?, android.media.AudioAttributes?); |
| 217 | method public androidx.core.app.NotificationChannelCompat.Builder setVibrationEnabled(boolean); |
| 218 | method public androidx.core.app.NotificationChannelCompat.Builder setVibrationPattern(long[]?); |
| 219 | } |
| 220 | |
| 221 | public class NotificationChannelGroupCompat { |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 222 | method public java.util.List<androidx.core.app.NotificationChannelCompat!> getChannels(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 223 | method public String? getDescription(); |
| 224 | method public String getId(); |
| 225 | method public CharSequence? getName(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 226 | method public boolean isBlocked(); |
| 227 | method public androidx.core.app.NotificationChannelGroupCompat.Builder toBuilder(); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 228 | } |
| 229 | |
| 230 | public static class NotificationChannelGroupCompat.Builder { |
| 231 | ctor public NotificationChannelGroupCompat.Builder(String); |
| 232 | method public androidx.core.app.NotificationChannelGroupCompat build(); |
| 233 | method public androidx.core.app.NotificationChannelGroupCompat.Builder setDescription(String?); |
| 234 | method public androidx.core.app.NotificationChannelGroupCompat.Builder setName(CharSequence?); |
| 235 | } |
| 236 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 237 | public class NotificationCompat { |
| 238 | ctor @Deprecated public NotificationCompat(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 239 | method public static androidx.core.app.NotificationCompat.Action? getAction(android.app.Notification, int); |
| 240 | method public static int getActionCount(android.app.Notification); |
| 241 | method public static boolean getAllowSystemGeneratedContextualActions(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 242 | method public static boolean getAutoCancel(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 243 | method public static int getBadgeIconType(android.app.Notification); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 244 | method public static androidx.core.app.NotificationCompat.BubbleMetadata? getBubbleMetadata(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 245 | method public static String? getCategory(android.app.Notification); |
| 246 | method public static String? getChannelId(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 247 | method public static int getColor(android.app.Notification); |
| 248 | method @RequiresApi(19) public static CharSequence? getContentInfo(android.app.Notification); |
| 249 | method @RequiresApi(19) public static CharSequence? getContentText(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 250 | method @RequiresApi(19) public static CharSequence? getContentTitle(android.app.Notification); |
| 251 | method public static android.os.Bundle? getExtras(android.app.Notification); |
| 252 | method public static String? getGroup(android.app.Notification); |
| 253 | method public static int getGroupAlertBehavior(android.app.Notification); |
| 254 | method @RequiresApi(21) public static java.util.List<androidx.core.app.NotificationCompat.Action!> getInvisibleActions(android.app.Notification); |
| 255 | method public static boolean getLocalOnly(android.app.Notification); |
Pinyao Ting | 99ab69d | 2020-02-12 14:54:01 -0800 | [diff] [blame] | 256 | method public static androidx.core.content.LocusIdCompat? getLocusId(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 257 | method public static boolean getOngoing(android.app.Notification); |
| 258 | method public static boolean getOnlyAlertOnce(android.app.Notification); |
| 259 | method public static java.util.List<androidx.core.app.Person!> getPeople(android.app.Notification); |
| 260 | method public static android.app.Notification? getPublicVersion(android.app.Notification); |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 261 | method public static CharSequence? getSettingsText(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 262 | method public static String? getShortcutId(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 263 | method @RequiresApi(19) public static boolean getShowWhen(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 264 | method public static String? getSortKey(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 265 | method @RequiresApi(19) public static CharSequence? getSubText(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 266 | method public static long getTimeoutAfter(android.app.Notification); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 267 | method @RequiresApi(19) public static boolean getUsesChronometer(android.app.Notification); |
| 268 | method public static int getVisibility(android.app.Notification); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 269 | method public static boolean isGroupSummary(android.app.Notification); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 270 | field public static final int BADGE_ICON_LARGE = 2; // 0x2 |
| 271 | field public static final int BADGE_ICON_NONE = 0; // 0x0 |
| 272 | field public static final int BADGE_ICON_SMALL = 1; // 0x1 |
| 273 | field public static final String CATEGORY_ALARM = "alarm"; |
| 274 | field public static final String CATEGORY_CALL = "call"; |
| 275 | field public static final String CATEGORY_EMAIL = "email"; |
| 276 | field public static final String CATEGORY_ERROR = "err"; |
| 277 | field public static final String CATEGORY_EVENT = "event"; |
Sergio Sancho | 7d51aba | 2020-09-09 13:38:33 +0100 | [diff] [blame] | 278 | field public static final String CATEGORY_LOCATION_SHARING = "location_sharing"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 279 | field public static final String CATEGORY_MESSAGE = "msg"; |
Julia Reynolds | 1e5777a | 2020-11-06 13:58:23 -0500 | [diff] [blame] | 280 | field public static final String CATEGORY_MISSED_CALL = "missed_call"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 281 | field public static final String CATEGORY_NAVIGATION = "navigation"; |
| 282 | field public static final String CATEGORY_PROGRESS = "progress"; |
| 283 | field public static final String CATEGORY_PROMO = "promo"; |
| 284 | field public static final String CATEGORY_RECOMMENDATION = "recommendation"; |
| 285 | field public static final String CATEGORY_REMINDER = "reminder"; |
| 286 | field public static final String CATEGORY_SERVICE = "service"; |
| 287 | field public static final String CATEGORY_SOCIAL = "social"; |
| 288 | field public static final String CATEGORY_STATUS = "status"; |
Sergio Sancho | 7d51aba | 2020-09-09 13:38:33 +0100 | [diff] [blame] | 289 | field public static final String CATEGORY_STOPWATCH = "stopwatch"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 290 | field public static final String CATEGORY_SYSTEM = "sys"; |
| 291 | field public static final String CATEGORY_TRANSPORT = "transport"; |
Sergio Sancho | 7d51aba | 2020-09-09 13:38:33 +0100 | [diff] [blame] | 292 | field public static final String CATEGORY_WORKOUT = "workout"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 293 | field @ColorInt public static final int COLOR_DEFAULT = 0; // 0x0 |
| 294 | field public static final int DEFAULT_ALL = -1; // 0xffffffff |
| 295 | field public static final int DEFAULT_LIGHTS = 4; // 0x4 |
| 296 | field public static final int DEFAULT_SOUND = 1; // 0x1 |
| 297 | field public static final int DEFAULT_VIBRATE = 2; // 0x2 |
| 298 | field public static final String EXTRA_AUDIO_CONTENTS_URI = "android.audioContents"; |
| 299 | field public static final String EXTRA_BACKGROUND_IMAGE_URI = "android.backgroundImageUri"; |
| 300 | field public static final String EXTRA_BIG_TEXT = "android.bigText"; |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 301 | field public static final String EXTRA_CHANNEL_GROUP_ID = "android.intent.extra.CHANNEL_GROUP_ID"; |
| 302 | field public static final String EXTRA_CHANNEL_ID = "android.intent.extra.CHANNEL_ID"; |
Aurimas Liutikas | 15e364c | 2019-09-05 16:14:55 -0700 | [diff] [blame] | 303 | field public static final String EXTRA_CHRONOMETER_COUNT_DOWN = "android.chronometerCountDown"; |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 304 | field public static final String EXTRA_COLORIZED = "android.colorized"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 305 | field public static final String EXTRA_COMPACT_ACTIONS = "android.compactActions"; |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 306 | field public static final String EXTRA_COMPAT_TEMPLATE = "androidx.core.app.extra.COMPAT_TEMPLATE"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 307 | field public static final String EXTRA_CONVERSATION_TITLE = "android.conversationTitle"; |
| 308 | field public static final String EXTRA_HIDDEN_CONVERSATION_TITLE = "android.hiddenConversationTitle"; |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 309 | field public static final String EXTRA_HISTORIC_MESSAGES = "android.messages.historic"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 310 | field public static final String EXTRA_INFO_TEXT = "android.infoText"; |
| 311 | field public static final String EXTRA_IS_GROUP_CONVERSATION = "android.isGroupConversation"; |
| 312 | field public static final String EXTRA_LARGE_ICON = "android.largeIcon"; |
| 313 | field public static final String EXTRA_LARGE_ICON_BIG = "android.largeIcon.big"; |
| 314 | field public static final String EXTRA_MEDIA_SESSION = "android.mediaSession"; |
| 315 | field public static final String EXTRA_MESSAGES = "android.messages"; |
| 316 | field public static final String EXTRA_MESSAGING_STYLE_USER = "android.messagingStyleUser"; |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 317 | field public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID"; |
| 318 | field public static final String EXTRA_NOTIFICATION_TAG = "android.intent.extra.NOTIFICATION_TAG"; |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 319 | field @Deprecated public static final String EXTRA_PEOPLE = "android.people"; |
| 320 | field public static final String EXTRA_PEOPLE_LIST = "android.people.list"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 321 | field public static final String EXTRA_PICTURE = "android.picture"; |
Julia Reynolds | 7882317 | 2021-10-08 12:20:53 -0400 | [diff] [blame] | 322 | field public static final String EXTRA_PICTURE_CONTENT_DESCRIPTION = "android.pictureContentDescription"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 323 | field public static final String EXTRA_PROGRESS = "android.progress"; |
| 324 | field public static final String EXTRA_PROGRESS_INDETERMINATE = "android.progressIndeterminate"; |
| 325 | field public static final String EXTRA_PROGRESS_MAX = "android.progressMax"; |
| 326 | field public static final String EXTRA_REMOTE_INPUT_HISTORY = "android.remoteInputHistory"; |
| 327 | field public static final String EXTRA_SELF_DISPLAY_NAME = "android.selfDisplayName"; |
Jeff DeCew | 43f1a93 | 2021-08-16 14:50:41 -0400 | [diff] [blame] | 328 | field public static final String EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED = "android.showBigPictureWhenCollapsed"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 329 | field public static final String EXTRA_SHOW_CHRONOMETER = "android.showChronometer"; |
| 330 | field public static final String EXTRA_SHOW_WHEN = "android.showWhen"; |
| 331 | field public static final String EXTRA_SMALL_ICON = "android.icon"; |
| 332 | field public static final String EXTRA_SUB_TEXT = "android.subText"; |
| 333 | field public static final String EXTRA_SUMMARY_TEXT = "android.summaryText"; |
| 334 | field public static final String EXTRA_TEMPLATE = "android.template"; |
| 335 | field public static final String EXTRA_TEXT = "android.text"; |
| 336 | field public static final String EXTRA_TEXT_LINES = "android.textLines"; |
| 337 | field public static final String EXTRA_TITLE = "android.title"; |
| 338 | field public static final String EXTRA_TITLE_BIG = "android.title.big"; |
| 339 | field public static final int FLAG_AUTO_CANCEL = 16; // 0x10 |
| 340 | field public static final int FLAG_BUBBLE = 4096; // 0x1000 |
| 341 | field public static final int FLAG_FOREGROUND_SERVICE = 64; // 0x40 |
| 342 | field public static final int FLAG_GROUP_SUMMARY = 512; // 0x200 |
| 343 | field @Deprecated public static final int FLAG_HIGH_PRIORITY = 128; // 0x80 |
| 344 | field public static final int FLAG_INSISTENT = 4; // 0x4 |
| 345 | field public static final int FLAG_LOCAL_ONLY = 256; // 0x100 |
| 346 | field public static final int FLAG_NO_CLEAR = 32; // 0x20 |
| 347 | field public static final int FLAG_ONGOING_EVENT = 2; // 0x2 |
| 348 | field public static final int FLAG_ONLY_ALERT_ONCE = 8; // 0x8 |
| 349 | field public static final int FLAG_SHOW_LIGHTS = 1; // 0x1 |
Christopher Tate | b955b88 | 2021-05-25 14:12:08 -0700 | [diff] [blame] | 350 | field public static final int FOREGROUND_SERVICE_DEFAULT = 0; // 0x0 |
| 351 | field public static final int FOREGROUND_SERVICE_DEFERRED = 2; // 0x2 |
| 352 | field public static final int FOREGROUND_SERVICE_IMMEDIATE = 1; // 0x1 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 353 | field public static final int GROUP_ALERT_ALL = 0; // 0x0 |
| 354 | field public static final int GROUP_ALERT_CHILDREN = 2; // 0x2 |
| 355 | field public static final int GROUP_ALERT_SUMMARY = 1; // 0x1 |
Julia Reynolds | 1fa9e00 | 2019-09-23 14:10:55 -0700 | [diff] [blame] | 356 | field public static final String GROUP_KEY_SILENT = "silent"; |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 357 | field public static final String INTENT_CATEGORY_NOTIFICATION_PREFERENCES = "android.intent.category.NOTIFICATION_PREFERENCES"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 358 | field public static final int PRIORITY_DEFAULT = 0; // 0x0 |
| 359 | field public static final int PRIORITY_HIGH = 1; // 0x1 |
| 360 | field public static final int PRIORITY_LOW = -1; // 0xffffffff |
| 361 | field public static final int PRIORITY_MAX = 2; // 0x2 |
| 362 | field public static final int PRIORITY_MIN = -2; // 0xfffffffe |
| 363 | field public static final int STREAM_DEFAULT = -1; // 0xffffffff |
| 364 | field public static final int VISIBILITY_PRIVATE = 0; // 0x0 |
| 365 | field public static final int VISIBILITY_PUBLIC = 1; // 0x1 |
| 366 | field public static final int VISIBILITY_SECRET = -1; // 0xffffffff |
| 367 | } |
| 368 | |
| 369 | public static class NotificationCompat.Action { |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 370 | ctor public NotificationCompat.Action(int, CharSequence?, android.app.PendingIntent?); |
Gustav Sennton | 153865a | 2019-09-10 17:55:50 +0100 | [diff] [blame] | 371 | ctor public NotificationCompat.Action(androidx.core.graphics.drawable.IconCompat?, CharSequence?, android.app.PendingIntent?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 372 | method public android.app.PendingIntent? getActionIntent(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 373 | method public boolean getAllowGeneratedReplies(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 374 | method public androidx.core.app.RemoteInput![]? getDataOnlyRemoteInputs(); |
| 375 | method public android.os.Bundle getExtras(); |
Gustav Sennton | 153865a | 2019-09-10 17:55:50 +0100 | [diff] [blame] | 376 | method @Deprecated public int getIcon(); |
| 377 | method public androidx.core.graphics.drawable.IconCompat? getIconCompat(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 378 | method public androidx.core.app.RemoteInput![]? getRemoteInputs(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 379 | method @androidx.core.app.NotificationCompat.Action.SemanticAction public int getSemanticAction(); |
| 380 | method public boolean getShowsUserInterface(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 381 | method public CharSequence? getTitle(); |
Julia Reynolds | b82b6ac | 2021-10-14 14:25:50 -0400 | [diff] [blame] | 382 | method public boolean isAuthenticationRequired(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 383 | method public boolean isContextual(); |
| 384 | field public static final int SEMANTIC_ACTION_ARCHIVE = 5; // 0x5 |
| 385 | field public static final int SEMANTIC_ACTION_CALL = 10; // 0xa |
| 386 | field public static final int SEMANTIC_ACTION_DELETE = 4; // 0x4 |
| 387 | field public static final int SEMANTIC_ACTION_MARK_AS_READ = 2; // 0x2 |
| 388 | field public static final int SEMANTIC_ACTION_MARK_AS_UNREAD = 3; // 0x3 |
| 389 | field public static final int SEMANTIC_ACTION_MUTE = 6; // 0x6 |
| 390 | field public static final int SEMANTIC_ACTION_NONE = 0; // 0x0 |
| 391 | field public static final int SEMANTIC_ACTION_REPLY = 1; // 0x1 |
| 392 | field public static final int SEMANTIC_ACTION_THUMBS_DOWN = 9; // 0x9 |
| 393 | field public static final int SEMANTIC_ACTION_THUMBS_UP = 8; // 0x8 |
| 394 | field public static final int SEMANTIC_ACTION_UNMUTE = 7; // 0x7 |
| 395 | field public android.app.PendingIntent! actionIntent; |
Gustav Sennton | 153865a | 2019-09-10 17:55:50 +0100 | [diff] [blame] | 396 | field @Deprecated public int icon; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 397 | field public CharSequence! title; |
| 398 | } |
| 399 | |
| 400 | public static final class NotificationCompat.Action.Builder { |
Gustav Sennton | 153865a | 2019-09-10 17:55:50 +0100 | [diff] [blame] | 401 | ctor public NotificationCompat.Action.Builder(androidx.core.graphics.drawable.IconCompat?, CharSequence?, android.app.PendingIntent?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 402 | ctor public NotificationCompat.Action.Builder(int, CharSequence?, android.app.PendingIntent?); |
| 403 | ctor public NotificationCompat.Action.Builder(androidx.core.app.NotificationCompat.Action); |
| 404 | method public androidx.core.app.NotificationCompat.Action.Builder addExtras(android.os.Bundle?); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 405 | method public androidx.core.app.NotificationCompat.Action.Builder addRemoteInput(androidx.core.app.RemoteInput?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 406 | method public androidx.core.app.NotificationCompat.Action build(); |
| 407 | method public androidx.core.app.NotificationCompat.Action.Builder extend(androidx.core.app.NotificationCompat.Action.Extender); |
| 408 | method public android.os.Bundle getExtras(); |
| 409 | method public androidx.core.app.NotificationCompat.Action.Builder setAllowGeneratedReplies(boolean); |
Julia Reynolds | b82b6ac | 2021-10-14 14:25:50 -0400 | [diff] [blame] | 410 | method public androidx.core.app.NotificationCompat.Action.Builder setAuthenticationRequired(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 411 | method public androidx.core.app.NotificationCompat.Action.Builder setContextual(boolean); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 412 | method public androidx.core.app.NotificationCompat.Action.Builder setSemanticAction(@androidx.core.app.NotificationCompat.Action.SemanticAction int); |
| 413 | method public androidx.core.app.NotificationCompat.Action.Builder setShowsUserInterface(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 414 | } |
| 415 | |
| 416 | public static interface NotificationCompat.Action.Extender { |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 417 | method public androidx.core.app.NotificationCompat.Action.Builder extend(androidx.core.app.NotificationCompat.Action.Builder); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 418 | } |
| 419 | |
| 420 | @IntDef({androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_NONE, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_REPLY, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_MARK_AS_READ, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_MARK_AS_UNREAD, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_DELETE, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_ARCHIVE, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_MUTE, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_UNMUTE, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_THUMBS_UP, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_THUMBS_DOWN, androidx.core.app.NotificationCompat.Action.SEMANTIC_ACTION_CALL}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NotificationCompat.Action.SemanticAction { |
| 421 | } |
| 422 | |
| 423 | public static final class NotificationCompat.Action.WearableExtender implements androidx.core.app.NotificationCompat.Action.Extender { |
| 424 | ctor public NotificationCompat.Action.WearableExtender(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 425 | ctor public NotificationCompat.Action.WearableExtender(androidx.core.app.NotificationCompat.Action); |
| 426 | method public androidx.core.app.NotificationCompat.Action.WearableExtender clone(); |
| 427 | method public androidx.core.app.NotificationCompat.Action.Builder extend(androidx.core.app.NotificationCompat.Action.Builder); |
| 428 | method @Deprecated public CharSequence? getCancelLabel(); |
| 429 | method @Deprecated public CharSequence? getConfirmLabel(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 430 | method public boolean getHintDisplayActionInline(); |
| 431 | method public boolean getHintLaunchesActivity(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 432 | method @Deprecated public CharSequence? getInProgressLabel(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 433 | method public boolean isAvailableOffline(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 434 | method public androidx.core.app.NotificationCompat.Action.WearableExtender setAvailableOffline(boolean); |
| 435 | method @Deprecated public androidx.core.app.NotificationCompat.Action.WearableExtender setCancelLabel(CharSequence?); |
| 436 | method @Deprecated public androidx.core.app.NotificationCompat.Action.WearableExtender setConfirmLabel(CharSequence?); |
| 437 | method public androidx.core.app.NotificationCompat.Action.WearableExtender setHintDisplayActionInline(boolean); |
| 438 | method public androidx.core.app.NotificationCompat.Action.WearableExtender setHintLaunchesActivity(boolean); |
| 439 | method @Deprecated public androidx.core.app.NotificationCompat.Action.WearableExtender setInProgressLabel(CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 440 | } |
| 441 | |
| 442 | public static class NotificationCompat.BigPictureStyle extends androidx.core.app.NotificationCompat.Style { |
| 443 | ctor public NotificationCompat.BigPictureStyle(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 444 | ctor public NotificationCompat.BigPictureStyle(androidx.core.app.NotificationCompat.Builder?); |
| 445 | method public androidx.core.app.NotificationCompat.BigPictureStyle bigLargeIcon(android.graphics.Bitmap?); |
| 446 | method public androidx.core.app.NotificationCompat.BigPictureStyle bigPicture(android.graphics.Bitmap?); |
| 447 | method public androidx.core.app.NotificationCompat.BigPictureStyle setBigContentTitle(CharSequence?); |
Julia Reynolds | 7882317 | 2021-10-08 12:20:53 -0400 | [diff] [blame] | 448 | method @RequiresApi(31) public androidx.core.app.NotificationCompat.BigPictureStyle setContentDescription(CharSequence?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 449 | method public androidx.core.app.NotificationCompat.BigPictureStyle setSummaryText(CharSequence?); |
Jeff DeCew | 43f1a93 | 2021-08-16 14:50:41 -0400 | [diff] [blame] | 450 | method @RequiresApi(31) public androidx.core.app.NotificationCompat.BigPictureStyle showBigPictureWhenCollapsed(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 451 | } |
| 452 | |
| 453 | public static class NotificationCompat.BigTextStyle extends androidx.core.app.NotificationCompat.Style { |
| 454 | ctor public NotificationCompat.BigTextStyle(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 455 | ctor public NotificationCompat.BigTextStyle(androidx.core.app.NotificationCompat.Builder?); |
| 456 | method public androidx.core.app.NotificationCompat.BigTextStyle bigText(CharSequence?); |
| 457 | method public androidx.core.app.NotificationCompat.BigTextStyle setBigContentTitle(CharSequence?); |
| 458 | method public androidx.core.app.NotificationCompat.BigTextStyle setSummaryText(CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 459 | } |
| 460 | |
| 461 | public static final class NotificationCompat.BubbleMetadata { |
Mady Mellor | b8317b9 | 2020-08-18 10:29:02 -0700 | [diff] [blame] | 462 | method public static androidx.core.app.NotificationCompat.BubbleMetadata? fromPlatform(android.app.Notification.BubbleMetadata?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 463 | method public boolean getAutoExpandBubble(); |
| 464 | method public android.app.PendingIntent? getDeleteIntent(); |
| 465 | method @Dimension(unit=androidx.annotation.Dimension.DP) public int getDesiredHeight(); |
| 466 | method @DimenRes public int getDesiredHeightResId(); |
Mady Mellor | b8317b9 | 2020-08-18 10:29:02 -0700 | [diff] [blame] | 467 | method public androidx.core.graphics.drawable.IconCompat? getIcon(); |
| 468 | method public android.app.PendingIntent? getIntent(); |
| 469 | method public String? getShortcutId(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 470 | method public boolean isNotificationSuppressed(); |
Mady Mellor | b8317b9 | 2020-08-18 10:29:02 -0700 | [diff] [blame] | 471 | method public static android.app.Notification.BubbleMetadata? toPlatform(androidx.core.app.NotificationCompat.BubbleMetadata?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 472 | } |
| 473 | |
| 474 | public static final class NotificationCompat.BubbleMetadata.Builder { |
Mady Mellor | b8317b9 | 2020-08-18 10:29:02 -0700 | [diff] [blame] | 475 | ctor @Deprecated public NotificationCompat.BubbleMetadata.Builder(); |
| 476 | ctor @RequiresApi(30) public NotificationCompat.BubbleMetadata.Builder(String); |
| 477 | ctor public NotificationCompat.BubbleMetadata.Builder(android.app.PendingIntent, androidx.core.graphics.drawable.IconCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 478 | method public androidx.core.app.NotificationCompat.BubbleMetadata build(); |
| 479 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setAutoExpandBubble(boolean); |
| 480 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setDeleteIntent(android.app.PendingIntent?); |
| 481 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setDesiredHeight(@Dimension(unit=androidx.annotation.Dimension.DP) int); |
| 482 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setDesiredHeightResId(@DimenRes int); |
| 483 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setIcon(androidx.core.graphics.drawable.IconCompat); |
| 484 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setIntent(android.app.PendingIntent); |
| 485 | method public androidx.core.app.NotificationCompat.BubbleMetadata.Builder setSuppressNotification(boolean); |
| 486 | } |
| 487 | |
| 488 | public static class NotificationCompat.Builder { |
Jeff DeCew | 10fa1cd | 2020-07-28 11:01:25 -0400 | [diff] [blame] | 489 | ctor @RequiresApi(19) public NotificationCompat.Builder(android.content.Context, android.app.Notification); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 490 | ctor public NotificationCompat.Builder(android.content.Context, String); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 491 | ctor @Deprecated public NotificationCompat.Builder(android.content.Context); |
| 492 | method public androidx.core.app.NotificationCompat.Builder addAction(int, CharSequence?, android.app.PendingIntent?); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 493 | method public androidx.core.app.NotificationCompat.Builder addAction(androidx.core.app.NotificationCompat.Action?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 494 | method public androidx.core.app.NotificationCompat.Builder addExtras(android.os.Bundle?); |
| 495 | method @RequiresApi(21) public androidx.core.app.NotificationCompat.Builder addInvisibleAction(int, CharSequence?, android.app.PendingIntent?); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 496 | method @RequiresApi(21) public androidx.core.app.NotificationCompat.Builder addInvisibleAction(androidx.core.app.NotificationCompat.Action?); |
| 497 | method @Deprecated public androidx.core.app.NotificationCompat.Builder addPerson(String?); |
| 498 | method public androidx.core.app.NotificationCompat.Builder addPerson(androidx.core.app.Person?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 499 | method public android.app.Notification build(); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 500 | method public androidx.core.app.NotificationCompat.Builder clearActions(); |
| 501 | method public androidx.core.app.NotificationCompat.Builder clearInvisibleActions(); |
| 502 | method public androidx.core.app.NotificationCompat.Builder clearPeople(); |
Jeff DeCew | ee0ed6e | 2020-07-20 16:07:41 -0400 | [diff] [blame] | 503 | method public android.widget.RemoteViews? createBigContentView(); |
| 504 | method public android.widget.RemoteViews? createContentView(); |
| 505 | method public android.widget.RemoteViews? createHeadsUpContentView(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 506 | method public androidx.core.app.NotificationCompat.Builder extend(androidx.core.app.NotificationCompat.Extender); |
| 507 | method public android.os.Bundle getExtras(); |
| 508 | method @Deprecated public android.app.Notification getNotification(); |
| 509 | method protected static CharSequence? limitCharSequenceLength(CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 510 | method public androidx.core.app.NotificationCompat.Builder setAllowSystemGeneratedContextualActions(boolean); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 511 | method public androidx.core.app.NotificationCompat.Builder setAutoCancel(boolean); |
| 512 | method public androidx.core.app.NotificationCompat.Builder setBadgeIconType(int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 513 | method public androidx.core.app.NotificationCompat.Builder setBubbleMetadata(androidx.core.app.NotificationCompat.BubbleMetadata?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 514 | method public androidx.core.app.NotificationCompat.Builder setCategory(String?); |
| 515 | method public androidx.core.app.NotificationCompat.Builder setChannelId(String); |
Aurimas Liutikas | 15e364c | 2019-09-05 16:14:55 -0700 | [diff] [blame] | 516 | method @RequiresApi(24) public androidx.core.app.NotificationCompat.Builder setChronometerCountDown(boolean); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 517 | method public androidx.core.app.NotificationCompat.Builder setColor(@ColorInt int); |
| 518 | method public androidx.core.app.NotificationCompat.Builder setColorized(boolean); |
| 519 | method public androidx.core.app.NotificationCompat.Builder setContent(android.widget.RemoteViews?); |
| 520 | method public androidx.core.app.NotificationCompat.Builder setContentInfo(CharSequence?); |
| 521 | method public androidx.core.app.NotificationCompat.Builder setContentIntent(android.app.PendingIntent?); |
| 522 | method public androidx.core.app.NotificationCompat.Builder setContentText(CharSequence?); |
| 523 | method public androidx.core.app.NotificationCompat.Builder setContentTitle(CharSequence?); |
| 524 | method public androidx.core.app.NotificationCompat.Builder setCustomBigContentView(android.widget.RemoteViews?); |
| 525 | method public androidx.core.app.NotificationCompat.Builder setCustomContentView(android.widget.RemoteViews?); |
| 526 | method public androidx.core.app.NotificationCompat.Builder setCustomHeadsUpContentView(android.widget.RemoteViews?); |
| 527 | method public androidx.core.app.NotificationCompat.Builder setDefaults(int); |
| 528 | method public androidx.core.app.NotificationCompat.Builder setDeleteIntent(android.app.PendingIntent?); |
| 529 | method public androidx.core.app.NotificationCompat.Builder setExtras(android.os.Bundle?); |
Christopher Tate | b955b88 | 2021-05-25 14:12:08 -0700 | [diff] [blame] | 530 | method public androidx.core.app.NotificationCompat.Builder setForegroundServiceBehavior(int); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 531 | method public androidx.core.app.NotificationCompat.Builder setFullScreenIntent(android.app.PendingIntent?, boolean); |
| 532 | method public androidx.core.app.NotificationCompat.Builder setGroup(String?); |
| 533 | method public androidx.core.app.NotificationCompat.Builder setGroupAlertBehavior(int); |
| 534 | method public androidx.core.app.NotificationCompat.Builder setGroupSummary(boolean); |
| 535 | method public androidx.core.app.NotificationCompat.Builder setLargeIcon(android.graphics.Bitmap?); |
| 536 | method public androidx.core.app.NotificationCompat.Builder setLights(@ColorInt int, int, int); |
| 537 | method public androidx.core.app.NotificationCompat.Builder setLocalOnly(boolean); |
Pinyao Ting | 99ab69d | 2020-02-12 14:54:01 -0800 | [diff] [blame] | 538 | method public androidx.core.app.NotificationCompat.Builder setLocusId(androidx.core.content.LocusIdCompat?); |
Jeff DeCew | 38c393e | 2020-08-11 13:39:57 -0400 | [diff] [blame] | 539 | method @Deprecated public androidx.core.app.NotificationCompat.Builder setNotificationSilent(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 540 | method public androidx.core.app.NotificationCompat.Builder setNumber(int); |
| 541 | method public androidx.core.app.NotificationCompat.Builder setOngoing(boolean); |
| 542 | method public androidx.core.app.NotificationCompat.Builder setOnlyAlertOnce(boolean); |
| 543 | method public androidx.core.app.NotificationCompat.Builder setPriority(int); |
| 544 | method public androidx.core.app.NotificationCompat.Builder setProgress(int, int, boolean); |
| 545 | method public androidx.core.app.NotificationCompat.Builder setPublicVersion(android.app.Notification?); |
| 546 | method public androidx.core.app.NotificationCompat.Builder setRemoteInputHistory(CharSequence![]?); |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 547 | method public androidx.core.app.NotificationCompat.Builder setSettingsText(CharSequence?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 548 | method public androidx.core.app.NotificationCompat.Builder setShortcutId(String?); |
Pinyao Ting | 6d45dab | 2020-05-12 17:46:03 -0700 | [diff] [blame] | 549 | method public androidx.core.app.NotificationCompat.Builder setShortcutInfo(androidx.core.content.pm.ShortcutInfoCompat?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 550 | method public androidx.core.app.NotificationCompat.Builder setShowWhen(boolean); |
Jeff DeCew | 38c393e | 2020-08-11 13:39:57 -0400 | [diff] [blame] | 551 | method public androidx.core.app.NotificationCompat.Builder setSilent(boolean); |
Jay Aliomer | 09fdfb0 | 2020-05-07 22:48:38 +0000 | [diff] [blame] | 552 | method @RequiresApi(23) public androidx.core.app.NotificationCompat.Builder setSmallIcon(androidx.core.graphics.drawable.IconCompat); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 553 | method public androidx.core.app.NotificationCompat.Builder setSmallIcon(int); |
| 554 | method public androidx.core.app.NotificationCompat.Builder setSmallIcon(int, int); |
| 555 | method public androidx.core.app.NotificationCompat.Builder setSortKey(String?); |
| 556 | method public androidx.core.app.NotificationCompat.Builder setSound(android.net.Uri?); |
| 557 | method public androidx.core.app.NotificationCompat.Builder setSound(android.net.Uri?, int); |
| 558 | method public androidx.core.app.NotificationCompat.Builder setStyle(androidx.core.app.NotificationCompat.Style?); |
| 559 | method public androidx.core.app.NotificationCompat.Builder setSubText(CharSequence?); |
| 560 | method public androidx.core.app.NotificationCompat.Builder setTicker(CharSequence?); |
Jeff DeCew | f71cc99 | 2020-07-15 15:13:10 -0400 | [diff] [blame] | 561 | method @Deprecated public androidx.core.app.NotificationCompat.Builder setTicker(CharSequence?, android.widget.RemoteViews?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 562 | method public androidx.core.app.NotificationCompat.Builder setTimeoutAfter(long); |
| 563 | method public androidx.core.app.NotificationCompat.Builder setUsesChronometer(boolean); |
| 564 | method public androidx.core.app.NotificationCompat.Builder setVibrate(long[]?); |
| 565 | method public androidx.core.app.NotificationCompat.Builder setVisibility(int); |
| 566 | method public androidx.core.app.NotificationCompat.Builder setWhen(long); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 567 | field @Deprecated public java.util.ArrayList<java.lang.String!>! mPeople; |
| 568 | } |
| 569 | |
| 570 | public static final class NotificationCompat.CarExtender implements androidx.core.app.NotificationCompat.Extender { |
| 571 | ctor public NotificationCompat.CarExtender(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 572 | ctor public NotificationCompat.CarExtender(android.app.Notification); |
| 573 | method public androidx.core.app.NotificationCompat.Builder extend(androidx.core.app.NotificationCompat.Builder); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 574 | method @ColorInt public int getColor(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 575 | method public android.graphics.Bitmap? getLargeIcon(); |
| 576 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation? getUnreadConversation(); |
| 577 | method public androidx.core.app.NotificationCompat.CarExtender setColor(@ColorInt int); |
| 578 | method public androidx.core.app.NotificationCompat.CarExtender setLargeIcon(android.graphics.Bitmap?); |
| 579 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender setUnreadConversation(androidx.core.app.NotificationCompat.CarExtender.UnreadConversation?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 580 | } |
| 581 | |
Ankit Vats | 83287b9 | 2019-11-11 18:52:56 -0800 | [diff] [blame] | 582 | @Deprecated public static class NotificationCompat.CarExtender.UnreadConversation { |
| 583 | method @Deprecated public long getLatestTimestamp(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 584 | method @Deprecated public String![]? getMessages(); |
| 585 | method @Deprecated public String? getParticipant(); |
| 586 | method @Deprecated public String![]? getParticipants(); |
| 587 | method @Deprecated public android.app.PendingIntent? getReadPendingIntent(); |
| 588 | method @Deprecated public androidx.core.app.RemoteInput? getRemoteInput(); |
| 589 | method @Deprecated public android.app.PendingIntent? getReplyPendingIntent(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 590 | } |
| 591 | |
Ankit Vats | 83287b9 | 2019-11-11 18:52:56 -0800 | [diff] [blame] | 592 | @Deprecated public static class NotificationCompat.CarExtender.UnreadConversation.Builder { |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 593 | ctor @Deprecated public NotificationCompat.CarExtender.UnreadConversation.Builder(String); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 594 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation.Builder addMessage(String?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 595 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation build(); |
| 596 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation.Builder setLatestTimestamp(long); |
| 597 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation.Builder setReadPendingIntent(android.app.PendingIntent?); |
| 598 | method @Deprecated public androidx.core.app.NotificationCompat.CarExtender.UnreadConversation.Builder setReplyAction(android.app.PendingIntent?, androidx.core.app.RemoteInput?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 599 | } |
| 600 | |
| 601 | public static class NotificationCompat.DecoratedCustomViewStyle extends androidx.core.app.NotificationCompat.Style { |
| 602 | ctor public NotificationCompat.DecoratedCustomViewStyle(); |
| 603 | } |
| 604 | |
| 605 | public static interface NotificationCompat.Extender { |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 606 | method public androidx.core.app.NotificationCompat.Builder extend(androidx.core.app.NotificationCompat.Builder); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 607 | } |
| 608 | |
| 609 | public static class NotificationCompat.InboxStyle extends androidx.core.app.NotificationCompat.Style { |
| 610 | ctor public NotificationCompat.InboxStyle(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 611 | ctor public NotificationCompat.InboxStyle(androidx.core.app.NotificationCompat.Builder?); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 612 | method public androidx.core.app.NotificationCompat.InboxStyle addLine(CharSequence?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 613 | method public androidx.core.app.NotificationCompat.InboxStyle setBigContentTitle(CharSequence?); |
| 614 | method public androidx.core.app.NotificationCompat.InboxStyle setSummaryText(CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 615 | } |
| 616 | |
| 617 | public static class NotificationCompat.MessagingStyle extends androidx.core.app.NotificationCompat.Style { |
| 618 | ctor @Deprecated public NotificationCompat.MessagingStyle(CharSequence); |
| 619 | ctor public NotificationCompat.MessagingStyle(androidx.core.app.Person); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 620 | method public void addCompatExtras(android.os.Bundle); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 621 | method public androidx.core.app.NotificationCompat.MessagingStyle addHistoricMessage(androidx.core.app.NotificationCompat.MessagingStyle.Message?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 622 | method @Deprecated public androidx.core.app.NotificationCompat.MessagingStyle addMessage(CharSequence?, long, CharSequence?); |
| 623 | method public androidx.core.app.NotificationCompat.MessagingStyle addMessage(CharSequence?, long, androidx.core.app.Person?); |
Jeff DeCew | beca7d2 | 2020-07-21 13:41:27 -0400 | [diff] [blame] | 624 | method public androidx.core.app.NotificationCompat.MessagingStyle addMessage(androidx.core.app.NotificationCompat.MessagingStyle.Message?); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 625 | method public static androidx.core.app.NotificationCompat.MessagingStyle? extractMessagingStyleFromNotification(android.app.Notification); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 626 | method public CharSequence? getConversationTitle(); |
Jeff DeCew | 57e659c3 | 2020-07-16 10:36:19 -0400 | [diff] [blame] | 627 | method public java.util.List<androidx.core.app.NotificationCompat.MessagingStyle.Message!> getHistoricMessages(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 628 | method public java.util.List<androidx.core.app.NotificationCompat.MessagingStyle.Message!> getMessages(); |
| 629 | method public androidx.core.app.Person getUser(); |
| 630 | method @Deprecated public CharSequence? getUserDisplayName(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 631 | method public boolean isGroupConversation(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 632 | method public androidx.core.app.NotificationCompat.MessagingStyle setConversationTitle(CharSequence?); |
| 633 | method public androidx.core.app.NotificationCompat.MessagingStyle setGroupConversation(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 634 | field public static final int MAXIMUM_RETAINED_MESSAGES = 25; // 0x19 |
| 635 | } |
| 636 | |
| 637 | public static final class NotificationCompat.MessagingStyle.Message { |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 638 | ctor public NotificationCompat.MessagingStyle.Message(CharSequence?, long, androidx.core.app.Person?); |
| 639 | ctor @Deprecated public NotificationCompat.MessagingStyle.Message(CharSequence?, long, CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 640 | method public String? getDataMimeType(); |
| 641 | method public android.net.Uri? getDataUri(); |
| 642 | method public android.os.Bundle getExtras(); |
| 643 | method public androidx.core.app.Person? getPerson(); |
| 644 | method @Deprecated public CharSequence? getSender(); |
Jeff DeCew | d296cab | 2020-11-30 16:28:19 -0500 | [diff] [blame] | 645 | method public CharSequence? getText(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 646 | method public long getTimestamp(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 647 | method public androidx.core.app.NotificationCompat.MessagingStyle.Message setData(String?, android.net.Uri?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 648 | } |
| 649 | |
| 650 | public abstract static class NotificationCompat.Style { |
| 651 | ctor public NotificationCompat.Style(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 652 | method public android.app.Notification? build(); |
| 653 | method public void setBuilder(androidx.core.app.NotificationCompat.Builder?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 654 | } |
| 655 | |
| 656 | public static final class NotificationCompat.WearableExtender implements androidx.core.app.NotificationCompat.Extender { |
| 657 | ctor public NotificationCompat.WearableExtender(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 658 | ctor public NotificationCompat.WearableExtender(android.app.Notification); |
| 659 | method public androidx.core.app.NotificationCompat.WearableExtender addAction(androidx.core.app.NotificationCompat.Action); |
| 660 | method public androidx.core.app.NotificationCompat.WearableExtender addActions(java.util.List<androidx.core.app.NotificationCompat.Action!>); |
| 661 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender addPage(android.app.Notification); |
| 662 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender addPages(java.util.List<android.app.Notification!>); |
| 663 | method public androidx.core.app.NotificationCompat.WearableExtender clearActions(); |
| 664 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender clearPages(); |
| 665 | method public androidx.core.app.NotificationCompat.WearableExtender clone(); |
| 666 | method public androidx.core.app.NotificationCompat.Builder extend(androidx.core.app.NotificationCompat.Builder); |
| 667 | method public java.util.List<androidx.core.app.NotificationCompat.Action!> getActions(); |
| 668 | method @Deprecated public android.graphics.Bitmap? getBackground(); |
| 669 | method public String? getBridgeTag(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 670 | method public int getContentAction(); |
| 671 | method @Deprecated public int getContentIcon(); |
| 672 | method @Deprecated public int getContentIconGravity(); |
| 673 | method public boolean getContentIntentAvailableOffline(); |
| 674 | method @Deprecated public int getCustomContentHeight(); |
| 675 | method @Deprecated public int getCustomSizePreset(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 676 | method public String? getDismissalId(); |
| 677 | method @Deprecated public android.app.PendingIntent? getDisplayIntent(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 678 | method @Deprecated public int getGravity(); |
| 679 | method @Deprecated public boolean getHintAmbientBigPicture(); |
| 680 | method @Deprecated public boolean getHintAvoidBackgroundClipping(); |
| 681 | method public boolean getHintContentIntentLaunchesActivity(); |
| 682 | method @Deprecated public boolean getHintHideIcon(); |
| 683 | method @Deprecated public int getHintScreenTimeout(); |
| 684 | method @Deprecated public boolean getHintShowBackgroundOnly(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 685 | method @Deprecated public java.util.List<android.app.Notification!> getPages(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 686 | method public boolean getStartScrollBottom(); |
Jeff DeCew | 23134b6 | 2020-07-14 22:28:37 -0400 | [diff] [blame] | 687 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setBackground(android.graphics.Bitmap?); |
| 688 | method public androidx.core.app.NotificationCompat.WearableExtender setBridgeTag(String?); |
| 689 | method public androidx.core.app.NotificationCompat.WearableExtender setContentAction(int); |
| 690 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setContentIcon(int); |
| 691 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setContentIconGravity(int); |
| 692 | method public androidx.core.app.NotificationCompat.WearableExtender setContentIntentAvailableOffline(boolean); |
| 693 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setCustomContentHeight(int); |
| 694 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setCustomSizePreset(int); |
| 695 | method public androidx.core.app.NotificationCompat.WearableExtender setDismissalId(String?); |
| 696 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setDisplayIntent(android.app.PendingIntent?); |
| 697 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setGravity(int); |
| 698 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setHintAmbientBigPicture(boolean); |
| 699 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setHintAvoidBackgroundClipping(boolean); |
| 700 | method public androidx.core.app.NotificationCompat.WearableExtender setHintContentIntentLaunchesActivity(boolean); |
| 701 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setHintHideIcon(boolean); |
| 702 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setHintScreenTimeout(int); |
| 703 | method @Deprecated public androidx.core.app.NotificationCompat.WearableExtender setHintShowBackgroundOnly(boolean); |
| 704 | method public androidx.core.app.NotificationCompat.WearableExtender setStartScrollBottom(boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 705 | field @Deprecated public static final int SCREEN_TIMEOUT_LONG = -1; // 0xffffffff |
| 706 | field @Deprecated public static final int SCREEN_TIMEOUT_SHORT = 0; // 0x0 |
| 707 | field @Deprecated public static final int SIZE_DEFAULT = 0; // 0x0 |
| 708 | field @Deprecated public static final int SIZE_FULL_SCREEN = 5; // 0x5 |
| 709 | field @Deprecated public static final int SIZE_LARGE = 4; // 0x4 |
| 710 | field @Deprecated public static final int SIZE_MEDIUM = 3; // 0x3 |
| 711 | field @Deprecated public static final int SIZE_SMALL = 2; // 0x2 |
| 712 | field @Deprecated public static final int SIZE_XSMALL = 1; // 0x1 |
| 713 | field public static final int UNSET_ACTION_INDEX = -1; // 0xffffffff |
| 714 | } |
| 715 | |
| 716 | public final class NotificationCompatExtras { |
| 717 | field public static final String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"; |
| 718 | field public static final String EXTRA_GROUP_KEY = "android.support.groupKey"; |
| 719 | field public static final String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"; |
| 720 | field public static final String EXTRA_LOCAL_ONLY = "android.support.localOnly"; |
| 721 | field public static final String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"; |
| 722 | field public static final String EXTRA_SORT_KEY = "android.support.sortKey"; |
| 723 | } |
| 724 | |
| 725 | public abstract class NotificationCompatSideChannelService extends android.app.Service { |
| 726 | ctor public NotificationCompatSideChannelService(); |
| 727 | method public abstract void cancel(String!, int, String!); |
| 728 | method public abstract void cancelAll(String!); |
| 729 | method public abstract void notify(String!, int, String!, android.app.Notification!); |
| 730 | method public android.os.IBinder! onBind(android.content.Intent!); |
| 731 | } |
| 732 | |
| 733 | public final class NotificationManagerCompat { |
| 734 | method public boolean areNotificationsEnabled(); |
| 735 | method public void cancel(int); |
| 736 | method public void cancel(String?, int); |
| 737 | method public void cancelAll(); |
| 738 | method public void createNotificationChannel(android.app.NotificationChannel); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 739 | method public void createNotificationChannel(androidx.core.app.NotificationChannelCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 740 | method public void createNotificationChannelGroup(android.app.NotificationChannelGroup); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 741 | method public void createNotificationChannelGroup(androidx.core.app.NotificationChannelGroupCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 742 | method public void createNotificationChannelGroups(java.util.List<android.app.NotificationChannelGroup!>); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 743 | method public void createNotificationChannelGroupsCompat(java.util.List<androidx.core.app.NotificationChannelGroupCompat!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 744 | method public void createNotificationChannels(java.util.List<android.app.NotificationChannel!>); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 745 | method public void createNotificationChannelsCompat(java.util.List<androidx.core.app.NotificationChannelCompat!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 746 | method public void deleteNotificationChannel(String); |
| 747 | method public void deleteNotificationChannelGroup(String); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 748 | method public void deleteUnlistedNotificationChannels(java.util.Collection<java.lang.String!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 749 | method public static androidx.core.app.NotificationManagerCompat from(android.content.Context); |
| 750 | method public static java.util.Set<java.lang.String!> getEnabledListenerPackages(android.content.Context); |
| 751 | method public int getImportance(); |
| 752 | method public android.app.NotificationChannel? getNotificationChannel(String); |
Jeff DeCew | 3719221 | 2020-07-09 21:58:34 -0400 | [diff] [blame] | 753 | method public android.app.NotificationChannel? getNotificationChannel(String, String); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 754 | method public androidx.core.app.NotificationChannelCompat? getNotificationChannelCompat(String); |
| 755 | method public androidx.core.app.NotificationChannelCompat? getNotificationChannelCompat(String, String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 756 | method public android.app.NotificationChannelGroup? getNotificationChannelGroup(String); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 757 | method public androidx.core.app.NotificationChannelGroupCompat? getNotificationChannelGroupCompat(String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 758 | method public java.util.List<android.app.NotificationChannelGroup!> getNotificationChannelGroups(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 759 | method public java.util.List<androidx.core.app.NotificationChannelGroupCompat!> getNotificationChannelGroupsCompat(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 760 | method public java.util.List<android.app.NotificationChannel!> getNotificationChannels(); |
Jeff DeCew | 07f68ae98 | 2020-08-14 13:48:40 -0400 | [diff] [blame] | 761 | method public java.util.List<androidx.core.app.NotificationChannelCompat!> getNotificationChannelsCompat(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 762 | method public void notify(int, android.app.Notification); |
| 763 | method public void notify(String?, int, android.app.Notification); |
| 764 | field public static final String ACTION_BIND_SIDE_CHANNEL = "android.support.BIND_NOTIFICATION_SIDE_CHANNEL"; |
| 765 | field public static final String EXTRA_USE_SIDE_CHANNEL = "android.support.useSideChannel"; |
| 766 | field public static final int IMPORTANCE_DEFAULT = 3; // 0x3 |
| 767 | field public static final int IMPORTANCE_HIGH = 4; // 0x4 |
| 768 | field public static final int IMPORTANCE_LOW = 2; // 0x2 |
| 769 | field public static final int IMPORTANCE_MAX = 5; // 0x5 |
| 770 | field public static final int IMPORTANCE_MIN = 1; // 0x1 |
| 771 | field public static final int IMPORTANCE_NONE = 0; // 0x0 |
| 772 | field public static final int IMPORTANCE_UNSPECIFIED = -1000; // 0xfffffc18 |
| 773 | } |
| 774 | |
Ian Lake | d51a2e8 | 2021-12-03 12:33:06 -0800 | [diff] [blame] | 775 | public interface OnNewIntentProvider { |
| 776 | method public void addOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent!>); |
| 777 | method public void removeOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent!>); |
| 778 | } |
| 779 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 780 | public class Person { |
| 781 | method public static androidx.core.app.Person fromBundle(android.os.Bundle); |
| 782 | method public androidx.core.graphics.drawable.IconCompat? getIcon(); |
| 783 | method public String? getKey(); |
| 784 | method public CharSequence? getName(); |
| 785 | method public String? getUri(); |
| 786 | method public boolean isBot(); |
| 787 | method public boolean isImportant(); |
| 788 | method public androidx.core.app.Person.Builder toBuilder(); |
| 789 | method public android.os.Bundle toBundle(); |
| 790 | } |
| 791 | |
| 792 | public static class Person.Builder { |
| 793 | ctor public Person.Builder(); |
| 794 | method public androidx.core.app.Person build(); |
| 795 | method public androidx.core.app.Person.Builder setBot(boolean); |
| 796 | method public androidx.core.app.Person.Builder setIcon(androidx.core.graphics.drawable.IconCompat?); |
| 797 | method public androidx.core.app.Person.Builder setImportant(boolean); |
| 798 | method public androidx.core.app.Person.Builder setKey(String?); |
| 799 | method public androidx.core.app.Person.Builder setName(CharSequence?); |
| 800 | method public androidx.core.app.Person.Builder setUri(String?); |
| 801 | } |
| 802 | |
Aurimas Liutikas | 17acd9e | 2021-06-02 11:04:31 -0700 | [diff] [blame] | 803 | public final class RemoteActionCompat implements androidx.versionedparcelable.VersionedParcelable { |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 804 | ctor public RemoteActionCompat(androidx.core.graphics.drawable.IconCompat, CharSequence, CharSequence, android.app.PendingIntent); |
| 805 | ctor public RemoteActionCompat(androidx.core.app.RemoteActionCompat); |
| 806 | method @RequiresApi(26) public static androidx.core.app.RemoteActionCompat createFromRemoteAction(android.app.RemoteAction); |
| 807 | method public android.app.PendingIntent getActionIntent(); |
| 808 | method public CharSequence getContentDescription(); |
| 809 | method public androidx.core.graphics.drawable.IconCompat getIcon(); |
| 810 | method public CharSequence getTitle(); |
| 811 | method public boolean isEnabled(); |
| 812 | method public void setEnabled(boolean); |
| 813 | method public void setShouldShowIcon(boolean); |
| 814 | method public boolean shouldShowIcon(); |
| 815 | method @RequiresApi(26) public android.app.RemoteAction toRemoteAction(); |
| 816 | } |
| 817 | |
| 818 | public final class RemoteInput { |
| 819 | method public static void addDataResultToIntent(androidx.core.app.RemoteInput!, android.content.Intent!, java.util.Map<java.lang.String!,android.net.Uri!>!); |
| 820 | method public static void addResultsToIntent(androidx.core.app.RemoteInput![]!, android.content.Intent!, android.os.Bundle!); |
| 821 | method public boolean getAllowFreeFormInput(); |
| 822 | method public java.util.Set<java.lang.String!>! getAllowedDataTypes(); |
| 823 | method public CharSequence![]! getChoices(); |
| 824 | method public static java.util.Map<java.lang.String!,android.net.Uri!>! getDataResultsFromIntent(android.content.Intent!, String!); |
| 825 | method public int getEditChoicesBeforeSending(); |
| 826 | method public android.os.Bundle! getExtras(); |
| 827 | method public CharSequence! getLabel(); |
| 828 | method public String! getResultKey(); |
| 829 | method public static android.os.Bundle! getResultsFromIntent(android.content.Intent!); |
| 830 | method public static int getResultsSource(android.content.Intent); |
| 831 | method public boolean isDataOnly(); |
| 832 | method public static void setResultsSource(android.content.Intent, int); |
| 833 | field public static final int EDIT_CHOICES_BEFORE_SENDING_AUTO = 0; // 0x0 |
| 834 | field public static final int EDIT_CHOICES_BEFORE_SENDING_DISABLED = 1; // 0x1 |
| 835 | field public static final int EDIT_CHOICES_BEFORE_SENDING_ENABLED = 2; // 0x2 |
| 836 | field public static final String EXTRA_RESULTS_DATA = "android.remoteinput.resultsData"; |
| 837 | field public static final String RESULTS_CLIP_LABEL = "android.remoteinput.results"; |
| 838 | field public static final int SOURCE_CHOICE = 1; // 0x1 |
| 839 | field public static final int SOURCE_FREE_FORM_INPUT = 0; // 0x0 |
| 840 | } |
| 841 | |
| 842 | public static final class RemoteInput.Builder { |
| 843 | ctor public RemoteInput.Builder(String); |
| 844 | method public androidx.core.app.RemoteInput.Builder addExtras(android.os.Bundle); |
| 845 | method public androidx.core.app.RemoteInput build(); |
| 846 | method public android.os.Bundle getExtras(); |
| 847 | method public androidx.core.app.RemoteInput.Builder setAllowDataType(String, boolean); |
| 848 | method public androidx.core.app.RemoteInput.Builder setAllowFreeFormInput(boolean); |
| 849 | method public androidx.core.app.RemoteInput.Builder setChoices(CharSequence![]?); |
| 850 | method public androidx.core.app.RemoteInput.Builder setEditChoicesBeforeSending(int); |
| 851 | method public androidx.core.app.RemoteInput.Builder setLabel(CharSequence?); |
| 852 | } |
| 853 | |
| 854 | public final class ServiceCompat { |
| 855 | method public static void stopForeground(android.app.Service, int); |
| 856 | field public static final int START_STICKY = 1; // 0x1 |
| 857 | field public static final int STOP_FOREGROUND_DETACH = 2; // 0x2 |
| 858 | field public static final int STOP_FOREGROUND_REMOVE = 1; // 0x1 |
| 859 | } |
| 860 | |
| 861 | public final class ShareCompat { |
Aaron Labiaga | 908c415 | 2020-11-23 23:58:16 +0000 | [diff] [blame] | 862 | method @Deprecated public static void configureMenuItem(android.view.MenuItem, androidx.core.app.ShareCompat.IntentBuilder); |
| 863 | method @Deprecated public static void configureMenuItem(android.view.Menu, @IdRes int, androidx.core.app.ShareCompat.IntentBuilder); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 864 | method public static android.content.ComponentName? getCallingActivity(android.app.Activity); |
| 865 | method public static String? getCallingPackage(android.app.Activity); |
| 866 | field public static final String EXTRA_CALLING_ACTIVITY = "androidx.core.app.EXTRA_CALLING_ACTIVITY"; |
| 867 | field public static final String EXTRA_CALLING_ACTIVITY_INTEROP = "android.support.v4.app.EXTRA_CALLING_ACTIVITY"; |
| 868 | field public static final String EXTRA_CALLING_PACKAGE = "androidx.core.app.EXTRA_CALLING_PACKAGE"; |
| 869 | field public static final String EXTRA_CALLING_PACKAGE_INTEROP = "android.support.v4.app.EXTRA_CALLING_PACKAGE"; |
| 870 | } |
| 871 | |
| 872 | public static class ShareCompat.IntentBuilder { |
Nicklas Ansman Giertz | 205ca48 | 2020-11-12 21:57:48 -0500 | [diff] [blame] | 873 | ctor public ShareCompat.IntentBuilder(android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 874 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailBcc(String); |
| 875 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailBcc(String![]); |
| 876 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailCc(String); |
| 877 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailCc(String![]); |
| 878 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailTo(String); |
| 879 | method public androidx.core.app.ShareCompat.IntentBuilder addEmailTo(String![]); |
| 880 | method public androidx.core.app.ShareCompat.IntentBuilder addStream(android.net.Uri); |
| 881 | method public android.content.Intent createChooserIntent(); |
Nicklas Ansman Giertz | 205ca48 | 2020-11-12 21:57:48 -0500 | [diff] [blame] | 882 | method @Deprecated public static androidx.core.app.ShareCompat.IntentBuilder from(android.app.Activity); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 883 | method public android.content.Intent getIntent(); |
| 884 | method public androidx.core.app.ShareCompat.IntentBuilder setChooserTitle(CharSequence?); |
| 885 | method public androidx.core.app.ShareCompat.IntentBuilder setChooserTitle(@StringRes int); |
| 886 | method public androidx.core.app.ShareCompat.IntentBuilder setEmailBcc(String![]?); |
| 887 | method public androidx.core.app.ShareCompat.IntentBuilder setEmailCc(String![]?); |
| 888 | method public androidx.core.app.ShareCompat.IntentBuilder setEmailTo(String![]?); |
| 889 | method public androidx.core.app.ShareCompat.IntentBuilder setHtmlText(String?); |
| 890 | method public androidx.core.app.ShareCompat.IntentBuilder setStream(android.net.Uri?); |
| 891 | method public androidx.core.app.ShareCompat.IntentBuilder setSubject(String?); |
| 892 | method public androidx.core.app.ShareCompat.IntentBuilder setText(CharSequence?); |
| 893 | method public androidx.core.app.ShareCompat.IntentBuilder setType(String?); |
| 894 | method public void startChooser(); |
| 895 | } |
| 896 | |
| 897 | public static class ShareCompat.IntentReader { |
Nicklas Ansman Giertz | 205ca48 | 2020-11-12 21:57:48 -0500 | [diff] [blame] | 898 | ctor public ShareCompat.IntentReader(android.app.Activity); |
| 899 | ctor public ShareCompat.IntentReader(android.content.Context, android.content.Intent); |
| 900 | method @Deprecated public static androidx.core.app.ShareCompat.IntentReader from(android.app.Activity); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 901 | method public android.content.ComponentName? getCallingActivity(); |
| 902 | method public android.graphics.drawable.Drawable? getCallingActivityIcon(); |
| 903 | method public android.graphics.drawable.Drawable? getCallingApplicationIcon(); |
| 904 | method public CharSequence? getCallingApplicationLabel(); |
| 905 | method public String? getCallingPackage(); |
| 906 | method public String![]? getEmailBcc(); |
| 907 | method public String![]? getEmailCc(); |
| 908 | method public String![]? getEmailTo(); |
| 909 | method public String? getHtmlText(); |
| 910 | method public android.net.Uri? getStream(); |
| 911 | method public android.net.Uri? getStream(int); |
| 912 | method public int getStreamCount(); |
| 913 | method public String? getSubject(); |
| 914 | method public CharSequence? getText(); |
| 915 | method public String? getType(); |
| 916 | method public boolean isMultipleShare(); |
| 917 | method public boolean isShareIntent(); |
| 918 | method public boolean isSingleShare(); |
| 919 | } |
| 920 | |
| 921 | public abstract class SharedElementCallback { |
| 922 | ctor public SharedElementCallback(); |
| 923 | method public android.os.Parcelable! onCaptureSharedElementSnapshot(android.view.View!, android.graphics.Matrix!, android.graphics.RectF!); |
| 924 | method public android.view.View! onCreateSnapshotView(android.content.Context!, android.os.Parcelable!); |
| 925 | method public void onMapSharedElements(java.util.List<java.lang.String!>!, java.util.Map<java.lang.String!,android.view.View!>!); |
| 926 | method public void onRejectSharedElements(java.util.List<android.view.View!>!); |
| 927 | method public void onSharedElementEnd(java.util.List<java.lang.String!>!, java.util.List<android.view.View!>!, java.util.List<android.view.View!>!); |
| 928 | method public void onSharedElementStart(java.util.List<java.lang.String!>!, java.util.List<android.view.View!>!, java.util.List<android.view.View!>!); |
| 929 | method public void onSharedElementsArrived(java.util.List<java.lang.String!>!, java.util.List<android.view.View!>!, androidx.core.app.SharedElementCallback.OnSharedElementsReadyListener!); |
| 930 | } |
| 931 | |
| 932 | public static interface SharedElementCallback.OnSharedElementsReadyListener { |
| 933 | method public void onSharedElementsReady(); |
| 934 | } |
| 935 | |
| 936 | public final class TaskStackBuilder implements java.lang.Iterable<android.content.Intent> { |
| 937 | method public androidx.core.app.TaskStackBuilder addNextIntent(android.content.Intent); |
| 938 | method public androidx.core.app.TaskStackBuilder addNextIntentWithParentStack(android.content.Intent); |
| 939 | method public androidx.core.app.TaskStackBuilder addParentStack(android.app.Activity); |
| 940 | method public androidx.core.app.TaskStackBuilder addParentStack(Class<?>); |
| 941 | method public androidx.core.app.TaskStackBuilder! addParentStack(android.content.ComponentName!); |
| 942 | method public static androidx.core.app.TaskStackBuilder create(android.content.Context); |
| 943 | method public android.content.Intent? editIntentAt(int); |
| 944 | method @Deprecated public static androidx.core.app.TaskStackBuilder! from(android.content.Context!); |
| 945 | method @Deprecated public android.content.Intent! getIntent(int); |
| 946 | method public int getIntentCount(); |
| 947 | method public android.content.Intent![] getIntents(); |
| 948 | method public android.app.PendingIntent? getPendingIntent(int, int); |
| 949 | method public android.app.PendingIntent? getPendingIntent(int, int, android.os.Bundle?); |
| 950 | method @Deprecated public java.util.Iterator<android.content.Intent!>! iterator(); |
| 951 | method public void startActivities(); |
| 952 | method public void startActivities(android.os.Bundle?); |
| 953 | } |
| 954 | |
| 955 | public static interface TaskStackBuilder.SupportParentable { |
| 956 | method public android.content.Intent? getSupportParentActivityIntent(); |
| 957 | } |
| 958 | |
| 959 | } |
| 960 | |
| 961 | package androidx.core.content { |
| 962 | |
Pinyao Ting | 1dc162a | 2019-10-16 16:55:10 -0700 | [diff] [blame] | 963 | public final class ContentProviderCompat { |
| 964 | method public static android.content.Context requireContext(android.content.ContentProvider); |
| 965 | } |
| 966 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 967 | public final class ContentResolverCompat { |
Alan Viverette | 3a4ec8f | 2021-11-12 16:16:37 -0500 | [diff] [blame] | 968 | method public static android.database.Cursor? query(android.content.ContentResolver, android.net.Uri, String![]?, String?, String![]?, String?, androidx.core.os.CancellationSignal?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 969 | } |
| 970 | |
| 971 | public class ContextCompat { |
| 972 | ctor protected ContextCompat(); |
| 973 | method public static int checkSelfPermission(android.content.Context, String); |
| 974 | method public static android.content.Context? createDeviceProtectedStorageContext(android.content.Context); |
Soonil Nagarkar | c5c9029 | 2021-03-24 10:24:56 -0700 | [diff] [blame] | 975 | method public static String? getAttributionTag(android.content.Context); |
Alan Viverette | 05052ef | 2021-06-04 16:54:01 -0400 | [diff] [blame] | 976 | method public static java.io.File getCodeCacheDir(android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 977 | method @ColorInt public static int getColor(android.content.Context, @ColorRes int); |
| 978 | method public static android.content.res.ColorStateList? getColorStateList(android.content.Context, @ColorRes int); |
| 979 | method public static java.io.File? getDataDir(android.content.Context); |
| 980 | method public static android.graphics.drawable.Drawable? getDrawable(android.content.Context, @DrawableRes int); |
| 981 | method public static java.io.File![] getExternalCacheDirs(android.content.Context); |
| 982 | method public static java.io.File![] getExternalFilesDirs(android.content.Context, String?); |
Alan Viverette | 05052ef | 2021-06-04 16:54:01 -0400 | [diff] [blame] | 983 | method public static java.util.concurrent.Executor getMainExecutor(android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 984 | method public static java.io.File? getNoBackupFilesDir(android.content.Context); |
| 985 | method public static java.io.File![] getObbDirs(android.content.Context); |
| 986 | method public static <T> T? getSystemService(android.content.Context, Class<T!>); |
| 987 | method public static String? getSystemServiceName(android.content.Context, Class<?>); |
| 988 | method public static boolean isDeviceProtectedStorage(android.content.Context); |
| 989 | method public static boolean startActivities(android.content.Context, android.content.Intent![]); |
| 990 | method public static boolean startActivities(android.content.Context, android.content.Intent![], android.os.Bundle?); |
| 991 | method public static void startActivity(android.content.Context, android.content.Intent, android.os.Bundle?); |
| 992 | method public static void startForegroundService(android.content.Context, android.content.Intent); |
| 993 | } |
| 994 | |
| 995 | public class FileProvider extends android.content.ContentProvider { |
| 996 | ctor public FileProvider(); |
| 997 | method public int delete(android.net.Uri, String?, String![]?); |
Alan Viverette | 3a4ec8f | 2021-11-12 16:16:37 -0500 | [diff] [blame] | 998 | method public String? getType(android.net.Uri); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 999 | method public static android.net.Uri! getUriForFile(android.content.Context, String, java.io.File); |
Jon Spivack | 9c45b85 | 2020-10-08 14:39:49 -0700 | [diff] [blame] | 1000 | method public static android.net.Uri getUriForFile(android.content.Context, String, java.io.File, String); |
Alan Viverette | 3a4ec8f | 2021-11-12 16:16:37 -0500 | [diff] [blame] | 1001 | method public android.net.Uri! insert(android.net.Uri, android.content.ContentValues); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1002 | method public boolean onCreate(); |
Alan Viverette | 3a4ec8f | 2021-11-12 16:16:37 -0500 | [diff] [blame] | 1003 | method public android.database.Cursor query(android.net.Uri, String![]?, String?, String![]?, String?); |
| 1004 | method public int update(android.net.Uri, android.content.ContentValues, String?, String![]?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1005 | } |
| 1006 | |
| 1007 | public final class IntentCompat { |
Bessie Jiang | fa02cc7 | 2021-06-15 12:59:27 +0100 | [diff] [blame] | 1008 | method public static android.content.Intent createManageUnusedAppRestrictionsIntent(android.content.Context, String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1009 | method public static android.content.Intent makeMainSelectorActivity(String, String); |
Martin Sundermeyer | 3e527d2 | 2020-01-17 17:04:56 +0100 | [diff] [blame] | 1010 | field public static final String ACTION_CREATE_REMINDER = "android.intent.action.CREATE_REMINDER"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1011 | field public static final String CATEGORY_LEANBACK_LAUNCHER = "android.intent.category.LEANBACK_LAUNCHER"; |
| 1012 | field public static final String EXTRA_HTML_TEXT = "android.intent.extra.HTML_TEXT"; |
| 1013 | field public static final String EXTRA_START_PLAYBACK = "android.intent.extra.START_PLAYBACK"; |
Martin Sundermeyer | 379f34c | 2020-05-07 13:20:33 +0000 | [diff] [blame] | 1014 | field public static final String EXTRA_TIME = "android.intent.extra.TIME"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1015 | } |
| 1016 | |
Pinyao Ting | 99ab69d | 2020-02-12 14:54:01 -0800 | [diff] [blame] | 1017 | public final class LocusIdCompat { |
| 1018 | ctor public LocusIdCompat(String); |
| 1019 | method public String getId(); |
| 1020 | method @RequiresApi(29) public android.content.LocusId toLocusId(); |
| 1021 | method @RequiresApi(29) public static androidx.core.content.LocusIdCompat toLocusIdCompat(android.content.LocusId); |
| 1022 | } |
| 1023 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1024 | public final class MimeTypeFilter { |
| 1025 | method public static boolean matches(String?, String); |
| 1026 | method public static String? matches(String?, String![]); |
| 1027 | method public static String? matches(String![]?, String); |
| 1028 | method public static String![] matchesMany(String![]?, String); |
| 1029 | } |
| 1030 | |
Ian Lake | 327c6af | 2021-12-01 16:02:41 -0800 | [diff] [blame] | 1031 | public interface OnConfigurationChangedProvider { |
| 1032 | method public void addOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration!>); |
| 1033 | method public void removeOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration!>); |
| 1034 | } |
| 1035 | |
Ian Lake | c0e106a | 2021-11-18 16:38:41 -0800 | [diff] [blame] | 1036 | public interface OnTrimMemoryProvider { |
| 1037 | method public void addOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer!>); |
| 1038 | method public void removeOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer!>); |
| 1039 | } |
| 1040 | |
Bessie Jiang | 1daf94f | 2021-07-06 17:53:00 +0100 | [diff] [blame] | 1041 | public final class PackageManagerCompat { |
Bessie Jiang | 98b8cc0 | 2021-07-06 17:53:00 +0100 | [diff] [blame] | 1042 | method public static com.google.common.util.concurrent.ListenableFuture<java.lang.Integer!> getUnusedAppRestrictionsStatus(android.content.Context); |
Bessie Jiang | 1daf94f | 2021-07-06 17:53:00 +0100 | [diff] [blame] | 1043 | field public static final String ACTION_PERMISSION_REVOCATION_SETTINGS = "android.intent.action.AUTO_REVOKE_PERMISSIONS"; |
Bessie Jiang | 1daf94f | 2021-07-06 17:53:00 +0100 | [diff] [blame] | 1044 | } |
| 1045 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1046 | public final class PermissionChecker { |
| 1047 | method public static int checkCallingOrSelfPermission(android.content.Context, String); |
| 1048 | method public static int checkCallingPermission(android.content.Context, String, String?); |
| 1049 | method public static int checkPermission(android.content.Context, String, int, int, String?); |
| 1050 | method public static int checkSelfPermission(android.content.Context, String); |
| 1051 | field public static final int PERMISSION_DENIED = -1; // 0xffffffff |
| 1052 | field public static final int PERMISSION_DENIED_APP_OP = -2; // 0xfffffffe |
| 1053 | field public static final int PERMISSION_GRANTED = 0; // 0x0 |
| 1054 | } |
| 1055 | |
| 1056 | @Deprecated public final class SharedPreferencesCompat { |
| 1057 | } |
| 1058 | |
| 1059 | @Deprecated public static final class SharedPreferencesCompat.EditorCompat { |
| 1060 | method @Deprecated public void apply(android.content.SharedPreferences.Editor); |
| 1061 | method @Deprecated public static androidx.core.content.SharedPreferencesCompat.EditorCompat! getInstance(); |
| 1062 | } |
| 1063 | |
Bessie Jiang | 98b8cc0 | 2021-07-06 17:53:00 +0100 | [diff] [blame] | 1064 | public class UnusedAppRestrictionsBackportCallback { |
| 1065 | method public void onResult(boolean, boolean) throws android.os.RemoteException; |
| 1066 | } |
| 1067 | |
| 1068 | public abstract class UnusedAppRestrictionsBackportService extends android.app.Service { |
| 1069 | ctor public UnusedAppRestrictionsBackportService(); |
| 1070 | method protected abstract void isPermissionRevocationEnabled(androidx.core.content.UnusedAppRestrictionsBackportCallback); |
| 1071 | method public android.os.IBinder? onBind(android.content.Intent?); |
| 1072 | field public static final String ACTION_UNUSED_APP_RESTRICTIONS_BACKPORT_CONNECTION = "android.support.unusedapprestrictions.action.CustomUnusedAppRestrictionsBackportService"; |
| 1073 | } |
| 1074 | |
Bessie Jiang | af7e9cb | 2021-07-22 12:47:16 +0100 | [diff] [blame] | 1075 | public final class UnusedAppRestrictionsConstants { |
| 1076 | field public static final int API_30 = 4; // 0x4 |
| 1077 | field public static final int API_30_BACKPORT = 3; // 0x3 |
| 1078 | field public static final int API_31 = 5; // 0x5 |
| 1079 | field public static final int DISABLED = 2; // 0x2 |
| 1080 | field public static final int ERROR = 0; // 0x0 |
| 1081 | field public static final int FEATURE_NOT_AVAILABLE = 1; // 0x1 |
| 1082 | } |
| 1083 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1084 | } |
| 1085 | |
| 1086 | package androidx.core.content.pm { |
| 1087 | |
| 1088 | @Deprecated public final class ActivityInfoCompat { |
| 1089 | field @Deprecated public static final int CONFIG_UI_MODE = 512; // 0x200 |
| 1090 | } |
| 1091 | |
| 1092 | public final class PackageInfoCompat { |
| 1093 | method public static long getLongVersionCode(android.content.pm.PackageInfo); |
Winson | b309cde | 2020-09-23 10:52:42 -0700 | [diff] [blame] | 1094 | method public static java.util.List<android.content.pm.Signature!> getSignatures(android.content.pm.PackageManager, String) throws android.content.pm.PackageManager.NameNotFoundException; |
| 1095 | method public static boolean hasSignatures(android.content.pm.PackageManager, String, @Size(min=1) java.util.Map<byte[]!,java.lang.Integer!>, boolean) throws android.content.pm.PackageManager.NameNotFoundException; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1096 | } |
| 1097 | |
| 1098 | public final class PermissionInfoCompat { |
| 1099 | method public static int getProtection(android.content.pm.PermissionInfo); |
| 1100 | method public static int getProtectionFlags(android.content.pm.PermissionInfo); |
| 1101 | } |
| 1102 | |
| 1103 | public class ShortcutInfoCompat { |
| 1104 | method public android.content.ComponentName? getActivity(); |
| 1105 | method public java.util.Set<java.lang.String!>? getCategories(); |
| 1106 | method public CharSequence? getDisabledMessage(); |
Pinyao Ting | c1a4188 | 2020-02-25 11:12:16 -0800 | [diff] [blame] | 1107 | method public int getDisabledReason(); |
Aaron Labiaga | db2c5ac | 2020-03-04 15:10:32 -0500 | [diff] [blame] | 1108 | method public android.os.PersistableBundle? getExtras(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1109 | method public String getId(); |
| 1110 | method public android.content.Intent getIntent(); |
| 1111 | method public android.content.Intent![] getIntents(); |
Pinyao Ting | c1a4188 | 2020-02-25 11:12:16 -0800 | [diff] [blame] | 1112 | method public long getLastChangedTimestamp(); |
Pinyao Ting | 99ab69d | 2020-02-12 14:54:01 -0800 | [diff] [blame] | 1113 | method public androidx.core.content.LocusIdCompat? getLocusId(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1114 | method public CharSequence? getLongLabel(); |
Pinyao Ting | c1a4188 | 2020-02-25 11:12:16 -0800 | [diff] [blame] | 1115 | method public String getPackage(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1116 | method public int getRank(); |
| 1117 | method public CharSequence getShortLabel(); |
Pinyao Ting | c1a4188 | 2020-02-25 11:12:16 -0800 | [diff] [blame] | 1118 | method public android.os.UserHandle? getUserHandle(); |
| 1119 | method public boolean hasKeyFieldsOnly(); |
| 1120 | method public boolean isCached(); |
| 1121 | method public boolean isDeclaredInManifest(); |
| 1122 | method public boolean isDynamic(); |
| 1123 | method public boolean isEnabled(); |
| 1124 | method public boolean isImmutable(); |
Pinyao Ting | 383baa3 | 2021-12-08 16:49:47 -0800 | [diff] [blame] | 1125 | method public boolean isIncludedIn(int); |
Pinyao Ting | c1a4188 | 2020-02-25 11:12:16 -0800 | [diff] [blame] | 1126 | method public boolean isPinned(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1127 | method @RequiresApi(25) public android.content.pm.ShortcutInfo! toShortcutInfo(); |
Pinyao Ting | 8ac3440 | 2021-11-17 10:34:46 -0800 | [diff] [blame] | 1128 | field public static final int SURFACE_LAUNCHER = 1; // 0x1 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1129 | } |
| 1130 | |
| 1131 | public static class ShortcutInfoCompat.Builder { |
| 1132 | ctor public ShortcutInfoCompat.Builder(android.content.Context, String); |
David Dong | affdd67 | 2021-03-29 19:00:35 -0400 | [diff] [blame] | 1133 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder addCapabilityBinding(String); |
| 1134 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder addCapabilityBinding(String, String, java.util.List<java.lang.String!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1135 | method public androidx.core.content.pm.ShortcutInfoCompat build(); |
| 1136 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setActivity(android.content.ComponentName); |
| 1137 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setAlwaysBadged(); |
| 1138 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setCategories(java.util.Set<java.lang.String!>); |
| 1139 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setDisabledMessage(CharSequence); |
Pinyao Ting | 8ac3440 | 2021-11-17 10:34:46 -0800 | [diff] [blame] | 1140 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setExcludedSurfaces(int); |
Aaron Labiaga | db2c5ac | 2020-03-04 15:10:32 -0500 | [diff] [blame] | 1141 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setExtras(android.os.PersistableBundle); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1142 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setIcon(androidx.core.graphics.drawable.IconCompat!); |
| 1143 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setIntent(android.content.Intent); |
| 1144 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setIntents(android.content.Intent![]); |
Pinyao Ting | b56929c | 2020-05-19 15:12:02 -0700 | [diff] [blame] | 1145 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setIsConversation(); |
Pinyao Ting | 99ab69d | 2020-02-12 14:54:01 -0800 | [diff] [blame] | 1146 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setLocusId(androidx.core.content.LocusIdCompat?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1147 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setLongLabel(CharSequence); |
| 1148 | method @Deprecated public androidx.core.content.pm.ShortcutInfoCompat.Builder setLongLived(); |
| 1149 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setLongLived(boolean); |
| 1150 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setPerson(androidx.core.app.Person); |
| 1151 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setPersons(androidx.core.app.Person![]); |
| 1152 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setRank(int); |
| 1153 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setShortLabel(CharSequence); |
Pinyao Ting | 0a2bb4a | 2021-03-08 14:35:20 -0800 | [diff] [blame] | 1154 | method public androidx.core.content.pm.ShortcutInfoCompat.Builder setSliceUri(android.net.Uri); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1155 | } |
| 1156 | |
| 1157 | public class ShortcutManagerCompat { |
| 1158 | method public static boolean addDynamicShortcuts(android.content.Context, java.util.List<androidx.core.content.pm.ShortcutInfoCompat!>); |
| 1159 | method public static android.content.Intent createShortcutResultIntent(android.content.Context, androidx.core.content.pm.ShortcutInfoCompat); |
Pinyao Ting | 47455f4 | 2020-02-24 15:51:07 -0800 | [diff] [blame] | 1160 | method public static void disableShortcuts(android.content.Context, java.util.List<java.lang.String!>, CharSequence?); |
| 1161 | method public static void enableShortcuts(android.content.Context, java.util.List<androidx.core.content.pm.ShortcutInfoCompat!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1162 | method public static java.util.List<androidx.core.content.pm.ShortcutInfoCompat!> getDynamicShortcuts(android.content.Context); |
Pinyao Ting | e8a2803 | 2020-02-25 15:51:45 -0800 | [diff] [blame] | 1163 | method public static int getIconMaxHeight(android.content.Context); |
| 1164 | method public static int getIconMaxWidth(android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1165 | method public static int getMaxShortcutCountPerActivity(android.content.Context); |
Pinyao Ting | 47455f4 | 2020-02-24 15:51:07 -0800 | [diff] [blame] | 1166 | method public static java.util.List<androidx.core.content.pm.ShortcutInfoCompat!> getShortcuts(android.content.Context, int); |
Pinyao Ting | e8a2803 | 2020-02-25 15:51:45 -0800 | [diff] [blame] | 1167 | method public static boolean isRateLimitingActive(android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1168 | method public static boolean isRequestPinShortcutSupported(android.content.Context); |
Pinyao Ting | 84c3a54 | 2020-04-08 11:50:11 -0700 | [diff] [blame] | 1169 | method public static boolean pushDynamicShortcut(android.content.Context, androidx.core.content.pm.ShortcutInfoCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1170 | method public static void removeAllDynamicShortcuts(android.content.Context); |
| 1171 | method public static void removeDynamicShortcuts(android.content.Context, java.util.List<java.lang.String!>); |
Pinyao Ting | 47455f4 | 2020-02-24 15:51:07 -0800 | [diff] [blame] | 1172 | method public static void removeLongLivedShortcuts(android.content.Context, java.util.List<java.lang.String!>); |
Pinyao Ting | e8a2803 | 2020-02-25 15:51:45 -0800 | [diff] [blame] | 1173 | method public static void reportShortcutUsed(android.content.Context, String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1174 | method public static boolean requestPinShortcut(android.content.Context, androidx.core.content.pm.ShortcutInfoCompat, android.content.IntentSender?); |
Pinyao Ting | e8a2803 | 2020-02-25 15:51:45 -0800 | [diff] [blame] | 1175 | method public static boolean setDynamicShortcuts(android.content.Context, java.util.List<androidx.core.content.pm.ShortcutInfoCompat!>); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1176 | method public static boolean updateShortcuts(android.content.Context, java.util.List<androidx.core.content.pm.ShortcutInfoCompat!>); |
| 1177 | field public static final String EXTRA_SHORTCUT_ID = "android.intent.extra.shortcut.ID"; |
Pinyao Ting | 47455f4 | 2020-02-24 15:51:07 -0800 | [diff] [blame] | 1178 | field public static final int FLAG_MATCH_CACHED = 8; // 0x8 |
| 1179 | field public static final int FLAG_MATCH_DYNAMIC = 2; // 0x2 |
| 1180 | field public static final int FLAG_MATCH_MANIFEST = 1; // 0x1 |
| 1181 | field public static final int FLAG_MATCH_PINNED = 4; // 0x4 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1182 | } |
| 1183 | |
| 1184 | } |
| 1185 | |
| 1186 | package androidx.core.content.res { |
| 1187 | |
| 1188 | public final class ConfigurationHelper { |
| 1189 | method public static int getDensityDpi(android.content.res.Resources); |
| 1190 | } |
| 1191 | |
| 1192 | public final class ResourcesCompat { |
Alan Viverette | 4f66c0c | 2021-12-16 15:28:48 -0500 | [diff] [blame] | 1193 | method public static void clearCachesForTheme(android.content.res.Resources.Theme); |
Seigo Nonaka | a9f848c | 2020-10-12 10:32:40 -0700 | [diff] [blame] | 1194 | method public static android.graphics.Typeface? getCachedFont(android.content.Context, @FontRes int) throws android.content.res.Resources.NotFoundException; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1195 | method @ColorInt public static int getColor(android.content.res.Resources, @ColorRes int, android.content.res.Resources.Theme?) throws android.content.res.Resources.NotFoundException; |
| 1196 | method public static android.content.res.ColorStateList? getColorStateList(android.content.res.Resources, @ColorRes int, android.content.res.Resources.Theme?) throws android.content.res.Resources.NotFoundException; |
| 1197 | method public static android.graphics.drawable.Drawable? getDrawable(android.content.res.Resources, @DrawableRes int, android.content.res.Resources.Theme?) throws android.content.res.Resources.NotFoundException; |
| 1198 | method public static android.graphics.drawable.Drawable? getDrawableForDensity(android.content.res.Resources, @DrawableRes int, int, android.content.res.Resources.Theme?) throws android.content.res.Resources.NotFoundException; |
| 1199 | method public static float getFloat(android.content.res.Resources, @DimenRes int); |
| 1200 | method public static android.graphics.Typeface? getFont(android.content.Context, @FontRes int) throws android.content.res.Resources.NotFoundException; |
| 1201 | method public static void getFont(android.content.Context, @FontRes int, androidx.core.content.res.ResourcesCompat.FontCallback, android.os.Handler?) throws android.content.res.Resources.NotFoundException; |
Anton Tananaev | 5e3c3e4 | 2019-11-06 11:29:50 -0800 | [diff] [blame] | 1202 | field @AnyRes public static final int ID_NULL = 0; // 0x0 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1203 | } |
| 1204 | |
| 1205 | public abstract static class ResourcesCompat.FontCallback { |
| 1206 | ctor public ResourcesCompat.FontCallback(); |
| 1207 | method public abstract void onFontRetrievalFailed(int); |
| 1208 | method public abstract void onFontRetrieved(android.graphics.Typeface); |
| 1209 | } |
| 1210 | |
Alan Viverette | 75ca35a | 2019-12-18 17:52:07 -0500 | [diff] [blame] | 1211 | public static final class ResourcesCompat.ThemeCompat { |
| 1212 | method public static void rebase(android.content.res.Resources.Theme); |
| 1213 | } |
| 1214 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1215 | } |
| 1216 | |
| 1217 | package androidx.core.database { |
| 1218 | |
| 1219 | public final class CursorWindowCompat { |
| 1220 | method public static android.database.CursorWindow create(String?, long); |
| 1221 | } |
| 1222 | |
| 1223 | @Deprecated public final class DatabaseUtilsCompat { |
| 1224 | method @Deprecated public static String![]! appendSelectionArgs(String![]!, String![]!); |
| 1225 | method @Deprecated public static String! concatenateWhere(String!, String!); |
| 1226 | } |
| 1227 | |
| 1228 | } |
| 1229 | |
| 1230 | package androidx.core.database.sqlite { |
| 1231 | |
| 1232 | public final class SQLiteCursorCompat { |
| 1233 | method public static void setFillWindowForwardOnly(android.database.sqlite.SQLiteCursor, boolean); |
| 1234 | } |
| 1235 | |
| 1236 | } |
| 1237 | |
| 1238 | package androidx.core.graphics { |
| 1239 | |
| 1240 | public final class BitmapCompat { |
| 1241 | method public static int getAllocationByteCount(android.graphics.Bitmap); |
| 1242 | method public static boolean hasMipMap(android.graphics.Bitmap); |
| 1243 | method public static void setHasMipMap(android.graphics.Bitmap, boolean); |
| 1244 | } |
| 1245 | |
| 1246 | public class BlendModeColorFilterCompat { |
| 1247 | method public static android.graphics.ColorFilter? createBlendModeColorFilterCompat(int, androidx.core.graphics.BlendModeCompat); |
| 1248 | } |
| 1249 | |
| 1250 | public enum BlendModeCompat { |
| 1251 | enum_constant public static final androidx.core.graphics.BlendModeCompat CLEAR; |
| 1252 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat COLOR; |
| 1253 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat COLOR_BURN; |
| 1254 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat COLOR_DODGE; |
| 1255 | enum_constant public static final androidx.core.graphics.BlendModeCompat DARKEN; |
| 1256 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat DIFFERENCE; |
| 1257 | enum_constant public static final androidx.core.graphics.BlendModeCompat DST; |
| 1258 | enum_constant public static final androidx.core.graphics.BlendModeCompat DST_ATOP; |
| 1259 | enum_constant public static final androidx.core.graphics.BlendModeCompat DST_IN; |
| 1260 | enum_constant public static final androidx.core.graphics.BlendModeCompat DST_OUT; |
| 1261 | enum_constant public static final androidx.core.graphics.BlendModeCompat DST_OVER; |
| 1262 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat EXCLUSION; |
| 1263 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat HARD_LIGHT; |
| 1264 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat HUE; |
| 1265 | enum_constant public static final androidx.core.graphics.BlendModeCompat LIGHTEN; |
| 1266 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat LUMINOSITY; |
| 1267 | enum_constant public static final androidx.core.graphics.BlendModeCompat MODULATE; |
| 1268 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat MULTIPLY; |
| 1269 | enum_constant public static final androidx.core.graphics.BlendModeCompat OVERLAY; |
| 1270 | enum_constant public static final androidx.core.graphics.BlendModeCompat PLUS; |
| 1271 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat SATURATION; |
| 1272 | enum_constant public static final androidx.core.graphics.BlendModeCompat SCREEN; |
| 1273 | enum_constant @RequiresApi(android.os.Build.VERSION_CODES.Q) public static final androidx.core.graphics.BlendModeCompat SOFT_LIGHT; |
| 1274 | enum_constant public static final androidx.core.graphics.BlendModeCompat SRC; |
| 1275 | enum_constant public static final androidx.core.graphics.BlendModeCompat SRC_ATOP; |
| 1276 | enum_constant public static final androidx.core.graphics.BlendModeCompat SRC_IN; |
| 1277 | enum_constant public static final androidx.core.graphics.BlendModeCompat SRC_OUT; |
| 1278 | enum_constant public static final androidx.core.graphics.BlendModeCompat SRC_OVER; |
| 1279 | enum_constant public static final androidx.core.graphics.BlendModeCompat XOR; |
| 1280 | } |
| 1281 | |
| 1282 | public final class ColorUtils { |
| 1283 | method @ColorInt public static int HSLToColor(float[]); |
| 1284 | method @ColorInt public static int LABToColor(@FloatRange(from=0.0f, to=100) double, @FloatRange(from=0xffffff80, to=127) double, @FloatRange(from=0xffffff80, to=127) double); |
| 1285 | method public static void LABToXYZ(@FloatRange(from=0.0f, to=100) double, @FloatRange(from=0xffffff80, to=127) double, @FloatRange(from=0xffffff80, to=127) double, double[]); |
| 1286 | method public static void RGBToHSL(@IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, float[]); |
| 1287 | method public static void RGBToLAB(@IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, double[]); |
| 1288 | method public static void RGBToXYZ(@IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, @IntRange(from=0, to=255) int, double[]); |
Aurimas Liutikas | 5790b29 | 2021-06-22 12:29:59 -0700 | [diff] [blame] | 1289 | method @ColorInt public static int XYZToColor(@FloatRange(from=0.0f, to=95.047) double, @FloatRange(from=0.0f, to=0x64) double, @FloatRange(from=0.0f, to=108.883) double); |
| 1290 | method public static void XYZToLAB(@FloatRange(from=0.0f, to=95.047) double, @FloatRange(from=0.0f, to=0x64) double, @FloatRange(from=0.0f, to=108.883) double, double[]); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1291 | method @ColorInt public static int blendARGB(@ColorInt int, @ColorInt int, @FloatRange(from=0.0, to=1.0) float); |
| 1292 | method public static void blendHSL(float[], float[], @FloatRange(from=0.0, to=1.0) float, float[]); |
| 1293 | method public static void blendLAB(double[], double[], @FloatRange(from=0.0, to=1.0) double, double[]); |
| 1294 | method public static double calculateContrast(@ColorInt int, @ColorInt int); |
| 1295 | method @FloatRange(from=0.0, to=1.0) public static double calculateLuminance(@ColorInt int); |
| 1296 | method public static int calculateMinimumAlpha(@ColorInt int, @ColorInt int, float); |
| 1297 | method public static void colorToHSL(@ColorInt int, float[]); |
| 1298 | method public static void colorToLAB(@ColorInt int, double[]); |
| 1299 | method public static void colorToXYZ(@ColorInt int, double[]); |
| 1300 | method public static int compositeColors(@ColorInt int, @ColorInt int); |
| 1301 | method @RequiresApi(26) public static android.graphics.Color compositeColors(android.graphics.Color, android.graphics.Color); |
| 1302 | method public static double distanceEuclidean(double[], double[]); |
| 1303 | method @ColorInt public static int setAlphaComponent(@ColorInt int, @IntRange(from=0, to=255) int); |
| 1304 | } |
| 1305 | |
| 1306 | public final class Insets { |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 1307 | method public static androidx.core.graphics.Insets add(androidx.core.graphics.Insets, androidx.core.graphics.Insets); |
| 1308 | method public static androidx.core.graphics.Insets max(androidx.core.graphics.Insets, androidx.core.graphics.Insets); |
| 1309 | method public static androidx.core.graphics.Insets min(androidx.core.graphics.Insets, androidx.core.graphics.Insets); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1310 | method public static androidx.core.graphics.Insets of(int, int, int, int); |
| 1311 | method public static androidx.core.graphics.Insets of(android.graphics.Rect); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 1312 | method public static androidx.core.graphics.Insets subtract(androidx.core.graphics.Insets, androidx.core.graphics.Insets); |
Chris Banes | b517ae4 | 2019-12-05 10:53:46 +1100 | [diff] [blame] | 1313 | method @RequiresApi(api=29) public static androidx.core.graphics.Insets toCompatInsets(android.graphics.Insets); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1314 | method @RequiresApi(29) public android.graphics.Insets toPlatformInsets(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1315 | field public static final androidx.core.graphics.Insets NONE; |
| 1316 | field public final int bottom; |
| 1317 | field public final int left; |
| 1318 | field public final int right; |
| 1319 | field public final int top; |
| 1320 | } |
| 1321 | |
| 1322 | public final class PaintCompat { |
| 1323 | method public static boolean hasGlyph(android.graphics.Paint, String); |
| 1324 | method public static boolean setBlendMode(android.graphics.Paint, androidx.core.graphics.BlendModeCompat?); |
| 1325 | } |
| 1326 | |
| 1327 | public final class PathSegment { |
| 1328 | ctor public PathSegment(android.graphics.PointF, float, android.graphics.PointF, float); |
| 1329 | method public android.graphics.PointF getEnd(); |
| 1330 | method public float getEndFraction(); |
| 1331 | method public android.graphics.PointF getStart(); |
| 1332 | method public float getStartFraction(); |
| 1333 | } |
| 1334 | |
| 1335 | public final class PathUtils { |
| 1336 | method @RequiresApi(26) public static java.util.Collection<androidx.core.graphics.PathSegment!> flatten(android.graphics.Path); |
| 1337 | method @RequiresApi(26) public static java.util.Collection<androidx.core.graphics.PathSegment!> flatten(android.graphics.Path, @FloatRange(from=0) float); |
| 1338 | } |
| 1339 | |
| 1340 | public class TypefaceCompat { |
| 1341 | method public static android.graphics.Typeface create(android.content.Context, android.graphics.Typeface?, int); |
| 1342 | } |
| 1343 | |
| 1344 | } |
| 1345 | |
| 1346 | package androidx.core.graphics.drawable { |
| 1347 | |
| 1348 | public final class DrawableCompat { |
| 1349 | method public static void applyTheme(android.graphics.drawable.Drawable, android.content.res.Resources.Theme); |
| 1350 | method public static boolean canApplyTheme(android.graphics.drawable.Drawable); |
| 1351 | method public static void clearColorFilter(android.graphics.drawable.Drawable); |
| 1352 | method public static int getAlpha(android.graphics.drawable.Drawable); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1353 | method public static android.graphics.ColorFilter? getColorFilter(android.graphics.drawable.Drawable); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1354 | method public static int getLayoutDirection(android.graphics.drawable.Drawable); |
| 1355 | method public static void inflate(android.graphics.drawable.Drawable, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; |
| 1356 | method public static boolean isAutoMirrored(android.graphics.drawable.Drawable); |
| 1357 | method @Deprecated public static void jumpToCurrentState(android.graphics.drawable.Drawable); |
| 1358 | method public static void setAutoMirrored(android.graphics.drawable.Drawable, boolean); |
| 1359 | method public static void setHotspot(android.graphics.drawable.Drawable, float, float); |
| 1360 | method public static void setHotspotBounds(android.graphics.drawable.Drawable, int, int, int, int); |
| 1361 | method public static boolean setLayoutDirection(android.graphics.drawable.Drawable, int); |
| 1362 | method public static void setTint(android.graphics.drawable.Drawable, @ColorInt int); |
| 1363 | method public static void setTintList(android.graphics.drawable.Drawable, android.content.res.ColorStateList?); |
| 1364 | method public static void setTintMode(android.graphics.drawable.Drawable, android.graphics.PorterDuff.Mode); |
| 1365 | method public static <T extends android.graphics.drawable.Drawable> T! unwrap(android.graphics.drawable.Drawable); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1366 | method public static android.graphics.drawable.Drawable wrap(android.graphics.drawable.Drawable); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1367 | } |
| 1368 | |
Aurimas Liutikas | 17acd9e | 2021-06-02 11:04:31 -0700 | [diff] [blame] | 1369 | public class IconCompat implements androidx.versionedparcelable.VersionedParcelable { |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1370 | method public static androidx.core.graphics.drawable.IconCompat? createFromBundle(android.os.Bundle); |
| 1371 | method @RequiresApi(23) public static androidx.core.graphics.drawable.IconCompat? createFromIcon(android.content.Context, android.graphics.drawable.Icon); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1372 | method public static androidx.core.graphics.drawable.IconCompat createWithAdaptiveBitmap(android.graphics.Bitmap); |
Pinyao Ting | 3be8c6b | 2019-12-05 15:41:12 -0800 | [diff] [blame] | 1373 | method public static androidx.core.graphics.drawable.IconCompat createWithAdaptiveBitmapContentUri(String); |
| 1374 | method public static androidx.core.graphics.drawable.IconCompat createWithAdaptiveBitmapContentUri(android.net.Uri); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1375 | method public static androidx.core.graphics.drawable.IconCompat createWithBitmap(android.graphics.Bitmap); |
| 1376 | method public static androidx.core.graphics.drawable.IconCompat createWithContentUri(String); |
| 1377 | method public static androidx.core.graphics.drawable.IconCompat createWithContentUri(android.net.Uri); |
| 1378 | method public static androidx.core.graphics.drawable.IconCompat createWithData(byte[], int, int); |
| 1379 | method public static androidx.core.graphics.drawable.IconCompat createWithResource(android.content.Context, @DrawableRes int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1380 | method @IdRes public int getResId(); |
| 1381 | method public String getResPackage(); |
| 1382 | method public int getType(); |
| 1383 | method public android.net.Uri getUri(); |
Pinyao Ting | 3d5e3cb | 2019-10-30 10:17:30 -0700 | [diff] [blame] | 1384 | method public android.graphics.drawable.Drawable? loadDrawable(android.content.Context); |
Aurimas Liutikas | 17acd9e | 2021-06-02 11:04:31 -0700 | [diff] [blame] | 1385 | method public void onPostParceling(); |
| 1386 | method public void onPreParceling(boolean); |
Alan Viverette | 497054f | 2022-01-10 12:02:47 -0500 | [diff] [blame^] | 1387 | method public androidx.core.graphics.drawable.IconCompat setTint(@ColorInt int); |
| 1388 | method public androidx.core.graphics.drawable.IconCompat setTintList(android.content.res.ColorStateList?); |
| 1389 | method public androidx.core.graphics.drawable.IconCompat setTintMode(android.graphics.PorterDuff.Mode?); |
Tony Mak | 4a317f3 | 2020-05-13 20:27:49 +0100 | [diff] [blame] | 1390 | method public android.os.Bundle toBundle(); |
Pinyao Ting | 3d5e3cb | 2019-10-30 10:17:30 -0700 | [diff] [blame] | 1391 | method @Deprecated @RequiresApi(23) public android.graphics.drawable.Icon toIcon(); |
| 1392 | method @RequiresApi(23) public android.graphics.drawable.Icon toIcon(android.content.Context?); |
| 1393 | field public static final int TYPE_ADAPTIVE_BITMAP = 5; // 0x5 |
| 1394 | field public static final int TYPE_BITMAP = 1; // 0x1 |
| 1395 | field public static final int TYPE_DATA = 3; // 0x3 |
| 1396 | field public static final int TYPE_RESOURCE = 2; // 0x2 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1397 | field public static final int TYPE_UNKNOWN = -1; // 0xffffffff |
Pinyao Ting | 3d5e3cb | 2019-10-30 10:17:30 -0700 | [diff] [blame] | 1398 | field public static final int TYPE_URI = 4; // 0x4 |
| 1399 | field public static final int TYPE_URI_ADAPTIVE_BITMAP = 6; // 0x6 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1400 | } |
| 1401 | |
| 1402 | public abstract class RoundedBitmapDrawable extends android.graphics.drawable.Drawable { |
| 1403 | method public void draw(android.graphics.Canvas); |
| 1404 | method public final android.graphics.Bitmap? getBitmap(); |
| 1405 | method public float getCornerRadius(); |
| 1406 | method public int getGravity(); |
| 1407 | method public int getOpacity(); |
| 1408 | method public final android.graphics.Paint getPaint(); |
| 1409 | method public boolean hasAntiAlias(); |
| 1410 | method public boolean hasMipMap(); |
| 1411 | method public boolean isCircular(); |
| 1412 | method public void setAlpha(int); |
| 1413 | method public void setAntiAlias(boolean); |
| 1414 | method public void setCircular(boolean); |
| 1415 | method public void setColorFilter(android.graphics.ColorFilter!); |
| 1416 | method public void setCornerRadius(float); |
| 1417 | method public void setDither(boolean); |
| 1418 | method public void setGravity(int); |
| 1419 | method public void setMipMap(boolean); |
| 1420 | method public void setTargetDensity(android.graphics.Canvas); |
| 1421 | method public void setTargetDensity(android.util.DisplayMetrics); |
| 1422 | method public void setTargetDensity(int); |
| 1423 | } |
| 1424 | |
| 1425 | public final class RoundedBitmapDrawableFactory { |
| 1426 | method public static androidx.core.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, android.graphics.Bitmap?); |
| 1427 | method public static androidx.core.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, String); |
| 1428 | method public static androidx.core.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, java.io.InputStream); |
| 1429 | } |
| 1430 | |
| 1431 | } |
| 1432 | |
| 1433 | package androidx.core.hardware.display { |
| 1434 | |
| 1435 | public final class DisplayManagerCompat { |
| 1436 | method public android.view.Display? getDisplay(int); |
| 1437 | method public android.view.Display![] getDisplays(); |
| 1438 | method public android.view.Display![] getDisplays(String?); |
| 1439 | method public static androidx.core.hardware.display.DisplayManagerCompat getInstance(android.content.Context); |
| 1440 | field public static final String DISPLAY_CATEGORY_PRESENTATION = "android.hardware.display.category.PRESENTATION"; |
| 1441 | } |
| 1442 | |
| 1443 | } |
| 1444 | |
| 1445 | package androidx.core.hardware.fingerprint { |
| 1446 | |
Curtis Belmonte | b3d71ce | 2020-01-06 13:58:47 -0800 | [diff] [blame] | 1447 | @Deprecated public class FingerprintManagerCompat { |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1448 | method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public void authenticate(androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject?, int, androidx.core.os.CancellationSignal?, androidx.core.hardware.fingerprint.FingerprintManagerCompat.AuthenticationCallback, android.os.Handler?); |
| 1449 | method @Deprecated public static androidx.core.hardware.fingerprint.FingerprintManagerCompat from(android.content.Context); |
| 1450 | method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public boolean hasEnrolledFingerprints(); |
| 1451 | method @Deprecated @RequiresPermission(android.Manifest.permission.USE_FINGERPRINT) public boolean isHardwareDetected(); |
| 1452 | } |
| 1453 | |
| 1454 | @Deprecated public abstract static class FingerprintManagerCompat.AuthenticationCallback { |
| 1455 | ctor @Deprecated public FingerprintManagerCompat.AuthenticationCallback(); |
| 1456 | method @Deprecated public void onAuthenticationError(int, CharSequence!); |
| 1457 | method @Deprecated public void onAuthenticationFailed(); |
| 1458 | method @Deprecated public void onAuthenticationHelp(int, CharSequence!); |
| 1459 | method @Deprecated public void onAuthenticationSucceeded(androidx.core.hardware.fingerprint.FingerprintManagerCompat.AuthenticationResult!); |
| 1460 | } |
| 1461 | |
| 1462 | @Deprecated public static final class FingerprintManagerCompat.AuthenticationResult { |
| 1463 | ctor @Deprecated public FingerprintManagerCompat.AuthenticationResult(androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject!); |
| 1464 | method @Deprecated public androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject! getCryptoObject(); |
| 1465 | } |
| 1466 | |
| 1467 | @Deprecated public static class FingerprintManagerCompat.CryptoObject { |
| 1468 | ctor @Deprecated public FingerprintManagerCompat.CryptoObject(java.security.Signature); |
| 1469 | ctor @Deprecated public FingerprintManagerCompat.CryptoObject(javax.crypto.Cipher); |
| 1470 | ctor @Deprecated public FingerprintManagerCompat.CryptoObject(javax.crypto.Mac); |
| 1471 | method @Deprecated public javax.crypto.Cipher? getCipher(); |
| 1472 | method @Deprecated public javax.crypto.Mac? getMac(); |
| 1473 | method @Deprecated public java.security.Signature? getSignature(); |
| 1474 | } |
| 1475 | |
| 1476 | } |
| 1477 | |
| 1478 | package androidx.core.location { |
| 1479 | |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1480 | public abstract class GnssStatusCompat { |
| 1481 | method @FloatRange(from=0, to=360) public abstract float getAzimuthDegrees(@IntRange(from=0) int); |
Soonil Nagarkar | cf0f005 | 2020-10-28 17:15:00 -0700 | [diff] [blame] | 1482 | method @FloatRange(from=0, to=63) public abstract float getBasebandCn0DbHz(@IntRange(from=0) int); |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1483 | method @FloatRange(from=0) public abstract float getCarrierFrequencyHz(@IntRange(from=0) int); |
| 1484 | method @FloatRange(from=0, to=63) public abstract float getCn0DbHz(@IntRange(from=0) int); |
Soonil Nagarkar | 8f43ec5 | 2019-11-20 16:41:36 -0800 | [diff] [blame] | 1485 | method public abstract int getConstellationType(@IntRange(from=0) int); |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1486 | method @FloatRange(from=0xffffffa6, to=90) public abstract float getElevationDegrees(@IntRange(from=0) int); |
| 1487 | method @IntRange(from=0) public abstract int getSatelliteCount(); |
| 1488 | method @IntRange(from=1, to=200) public abstract int getSvid(@IntRange(from=0) int); |
| 1489 | method public abstract boolean hasAlmanacData(@IntRange(from=0) int); |
Soonil Nagarkar | cf0f005 | 2020-10-28 17:15:00 -0700 | [diff] [blame] | 1490 | method public abstract boolean hasBasebandCn0DbHz(@IntRange(from=0) int); |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1491 | method public abstract boolean hasCarrierFrequencyHz(@IntRange(from=0) int); |
| 1492 | method public abstract boolean hasEphemerisData(@IntRange(from=0) int); |
| 1493 | method public abstract boolean usedInFix(@IntRange(from=0) int); |
| 1494 | method @RequiresApi(android.os.Build.VERSION_CODES.N) public static androidx.core.location.GnssStatusCompat wrap(android.location.GnssStatus); |
| 1495 | method public static androidx.core.location.GnssStatusCompat wrap(android.location.GpsStatus); |
| 1496 | field public static final int CONSTELLATION_BEIDOU = 5; // 0x5 |
| 1497 | field public static final int CONSTELLATION_GALILEO = 6; // 0x6 |
| 1498 | field public static final int CONSTELLATION_GLONASS = 3; // 0x3 |
| 1499 | field public static final int CONSTELLATION_GPS = 1; // 0x1 |
| 1500 | field public static final int CONSTELLATION_IRNSS = 7; // 0x7 |
| 1501 | field public static final int CONSTELLATION_QZSS = 4; // 0x4 |
| 1502 | field public static final int CONSTELLATION_SBAS = 2; // 0x2 |
| 1503 | field public static final int CONSTELLATION_UNKNOWN = 0; // 0x0 |
| 1504 | } |
| 1505 | |
| 1506 | public abstract static class GnssStatusCompat.Callback { |
| 1507 | ctor public GnssStatusCompat.Callback(); |
| 1508 | method public void onFirstFix(@IntRange(from=0) int); |
| 1509 | method public void onSatelliteStatusChanged(androidx.core.location.GnssStatusCompat); |
| 1510 | method public void onStarted(); |
| 1511 | method public void onStopped(); |
| 1512 | } |
| 1513 | |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1514 | public final class LocationCompat { |
Soonil Nagarkar | 138d21d | 2021-07-25 11:01:33 -0700 | [diff] [blame] | 1515 | method public static float getBearingAccuracyDegrees(android.location.Location); |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1516 | method public static long getElapsedRealtimeMillis(android.location.Location); |
| 1517 | method public static long getElapsedRealtimeNanos(android.location.Location); |
Soonil Nagarkar | 138d21d | 2021-07-25 11:01:33 -0700 | [diff] [blame] | 1518 | method public static float getSpeedAccuracyMetersPerSecond(android.location.Location); |
| 1519 | method public static float getVerticalAccuracyMeters(android.location.Location); |
| 1520 | method public static boolean hasBearingAccuracy(android.location.Location); |
| 1521 | method public static boolean hasSpeedAccuracy(android.location.Location); |
| 1522 | method public static boolean hasVerticalAccuracy(android.location.Location); |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1523 | method public static boolean isMock(android.location.Location); |
Soonil Nagarkar | 138d21d | 2021-07-25 11:01:33 -0700 | [diff] [blame] | 1524 | method public static void setBearingAccuracyDegrees(android.location.Location, float); |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1525 | method public static void setMock(android.location.Location, boolean); |
Soonil Nagarkar | 138d21d | 2021-07-25 11:01:33 -0700 | [diff] [blame] | 1526 | method public static void setSpeedAccuracyMetersPerSecond(android.location.Location, float); |
| 1527 | method public static void setVerticalAccuracyMeters(android.location.Location, float); |
| 1528 | field public static final String EXTRA_BEARING_ACCURACY = "bearingAccuracy"; |
| 1529 | field public static final String EXTRA_IS_MOCK = "mockLocation"; |
| 1530 | field public static final String EXTRA_SPEED_ACCURACY = "speedAccuracy"; |
| 1531 | field public static final String EXTRA_VERTICAL_ACCURACY = "verticalAccuracy"; |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1532 | } |
| 1533 | |
Soonil Nagarkar | 574c2bf | 2021-05-19 17:15:23 -0700 | [diff] [blame] | 1534 | public interface LocationListenerCompat extends android.location.LocationListener { |
| 1535 | method public default void onStatusChanged(String, int, android.os.Bundle?); |
| 1536 | } |
| 1537 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1538 | public final class LocationManagerCompat { |
Soonil Nagarkar | f72df7b | 2021-03-24 15:45:32 -0700 | [diff] [blame] | 1539 | method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static void getCurrentLocation(android.location.LocationManager, String, androidx.core.os.CancellationSignal?, java.util.concurrent.Executor, androidx.core.util.Consumer<android.location.Location!>); |
| 1540 | method public static String? getGnssHardwareModelName(android.location.LocationManager); |
| 1541 | method public static int getGnssYearOfHardware(android.location.LocationManager); |
Soonil Nagarkar | 574c2bf | 2021-05-19 17:15:23 -0700 | [diff] [blame] | 1542 | method public static boolean hasProvider(android.location.LocationManager, String); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1543 | method public static boolean isLocationEnabled(android.location.LocationManager); |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1544 | method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static boolean registerGnssStatusCallback(android.location.LocationManager, androidx.core.location.GnssStatusCompat.Callback, android.os.Handler); |
| 1545 | method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public static boolean registerGnssStatusCallback(android.location.LocationManager, java.util.concurrent.Executor, androidx.core.location.GnssStatusCompat.Callback); |
Soonil Nagarkar | 574c2bf | 2021-05-19 17:15:23 -0700 | [diff] [blame] | 1546 | method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static void removeUpdates(android.location.LocationManager, androidx.core.location.LocationListenerCompat); |
| 1547 | method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static void requestLocationUpdates(android.location.LocationManager, String, androidx.core.location.LocationRequestCompat, java.util.concurrent.Executor, androidx.core.location.LocationListenerCompat); |
| 1548 | method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public static void requestLocationUpdates(android.location.LocationManager, String, androidx.core.location.LocationRequestCompat, androidx.core.location.LocationListenerCompat, android.os.Looper); |
Soonil Nagarkar | c451f15 | 2019-11-08 13:00:58 -0800 | [diff] [blame] | 1549 | method public static void unregisterGnssStatusCallback(android.location.LocationManager, androidx.core.location.GnssStatusCompat.Callback); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1550 | } |
| 1551 | |
Soonil Nagarkar | 574c2bf | 2021-05-19 17:15:23 -0700 | [diff] [blame] | 1552 | public final class LocationRequestCompat { |
| 1553 | method @IntRange(from=1) public long getDurationMillis(); |
| 1554 | method @IntRange(from=0) public long getIntervalMillis(); |
| 1555 | method @IntRange(from=0) public long getMaxUpdateDelayMillis(); |
| 1556 | method @IntRange(from=1, to=java.lang.Integer.MAX_VALUE) public int getMaxUpdates(); |
| 1557 | method @FloatRange(from=0, to=java.lang.Float.MAX_VALUE) public float getMinUpdateDistanceMeters(); |
| 1558 | method @IntRange(from=0) public long getMinUpdateIntervalMillis(); |
| 1559 | method public int getQuality(); |
Soonil Nagarkar | c10dcce | 2021-08-18 14:17:52 -0700 | [diff] [blame] | 1560 | method @RequiresApi(31) public android.location.LocationRequest toLocationRequest(); |
Soonil Nagarkar | 6d4f941 | 2021-08-27 09:52:45 -0700 | [diff] [blame] | 1561 | method @RequiresApi(19) public android.location.LocationRequest? toLocationRequest(String); |
Soonil Nagarkar | 574c2bf | 2021-05-19 17:15:23 -0700 | [diff] [blame] | 1562 | field public static final long PASSIVE_INTERVAL = 9223372036854775807L; // 0x7fffffffffffffffL |
| 1563 | field public static final int QUALITY_BALANCED_POWER_ACCURACY = 102; // 0x66 |
| 1564 | field public static final int QUALITY_HIGH_ACCURACY = 100; // 0x64 |
| 1565 | field public static final int QUALITY_LOW_POWER = 104; // 0x68 |
| 1566 | } |
| 1567 | |
| 1568 | public static final class LocationRequestCompat.Builder { |
| 1569 | ctor public LocationRequestCompat.Builder(long); |
| 1570 | ctor public LocationRequestCompat.Builder(androidx.core.location.LocationRequestCompat); |
| 1571 | method public androidx.core.location.LocationRequestCompat build(); |
| 1572 | method public androidx.core.location.LocationRequestCompat.Builder clearMinUpdateIntervalMillis(); |
| 1573 | method public androidx.core.location.LocationRequestCompat.Builder setDurationMillis(@IntRange(from=1) long); |
| 1574 | method public androidx.core.location.LocationRequestCompat.Builder setIntervalMillis(@IntRange(from=0) long); |
| 1575 | method public androidx.core.location.LocationRequestCompat.Builder setMaxUpdateDelayMillis(@IntRange(from=0) long); |
| 1576 | method public androidx.core.location.LocationRequestCompat.Builder setMaxUpdates(@IntRange(from=1, to=java.lang.Integer.MAX_VALUE) int); |
| 1577 | method public androidx.core.location.LocationRequestCompat.Builder setMinUpdateDistanceMeters(@FloatRange(from=0, to=java.lang.Float.MAX_VALUE) float); |
| 1578 | method public androidx.core.location.LocationRequestCompat.Builder setMinUpdateIntervalMillis(@IntRange(from=0) long); |
| 1579 | method public androidx.core.location.LocationRequestCompat.Builder setQuality(int); |
| 1580 | } |
| 1581 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1582 | } |
| 1583 | |
| 1584 | package androidx.core.math { |
| 1585 | |
| 1586 | public class MathUtils { |
Soonil Nagarkar | 9386ec0 | 2021-07-09 11:53:04 -0700 | [diff] [blame] | 1587 | method public static int addExact(int, int); |
| 1588 | method public static long addExact(long, long); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1589 | method public static float clamp(float, float, float); |
| 1590 | method public static double clamp(double, double, double); |
| 1591 | method public static int clamp(int, int, int); |
Kirill Grouchnikov | 91864b1 | 2019-09-09 17:17:31 -0400 | [diff] [blame] | 1592 | method public static long clamp(long, long, long); |
Soonil Nagarkar | 9386ec0 | 2021-07-09 11:53:04 -0700 | [diff] [blame] | 1593 | method public static int decrementExact(int); |
| 1594 | method public static long decrementExact(long); |
| 1595 | method public static int incrementExact(int); |
| 1596 | method public static long incrementExact(long); |
| 1597 | method public static int multiplyExact(int, int); |
| 1598 | method public static long multiplyExact(long, long); |
| 1599 | method public static int negateExact(int); |
| 1600 | method public static long negateExact(long); |
| 1601 | method public static int subtractExact(int, int); |
| 1602 | method public static long subtractExact(long, long); |
| 1603 | method public static int toIntExact(long); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1604 | } |
| 1605 | |
| 1606 | } |
| 1607 | |
| 1608 | package androidx.core.net { |
| 1609 | |
| 1610 | public final class ConnectivityManagerCompat { |
| 1611 | method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public static android.net.NetworkInfo? getNetworkInfoFromBroadcast(android.net.ConnectivityManager, android.content.Intent); |
| 1612 | method public static int getRestrictBackgroundStatus(android.net.ConnectivityManager); |
| 1613 | method @RequiresPermission(android.Manifest.permission.ACCESS_NETWORK_STATE) public static boolean isActiveNetworkMetered(android.net.ConnectivityManager); |
| 1614 | field public static final int RESTRICT_BACKGROUND_STATUS_DISABLED = 1; // 0x1 |
| 1615 | field public static final int RESTRICT_BACKGROUND_STATUS_ENABLED = 3; // 0x3 |
| 1616 | field public static final int RESTRICT_BACKGROUND_STATUS_WHITELISTED = 2; // 0x2 |
| 1617 | } |
| 1618 | |
Ian Lake | ef5275c | 2020-07-14 09:55:00 -0700 | [diff] [blame] | 1619 | public final class MailTo { |
cketti | 6e961e5 | 2020-06-25 01:13:13 +0200 | [diff] [blame] | 1620 | method public String? getBcc(); |
| 1621 | method public String? getBody(); |
| 1622 | method public String? getCc(); |
| 1623 | method public java.util.Map<java.lang.String!,java.lang.String!>? getHeaders(); |
| 1624 | method public String? getSubject(); |
| 1625 | method public String? getTo(); |
| 1626 | method public static boolean isMailTo(String?); |
cketti | 4eb58b9 | 2020-08-05 21:59:42 +0200 | [diff] [blame] | 1627 | method public static boolean isMailTo(android.net.Uri?); |
cketti | 6e961e5 | 2020-06-25 01:13:13 +0200 | [diff] [blame] | 1628 | method public static androidx.core.net.MailTo parse(String) throws androidx.core.net.ParseException; |
cketti | 4eb58b9 | 2020-08-05 21:59:42 +0200 | [diff] [blame] | 1629 | method public static androidx.core.net.MailTo parse(android.net.Uri) throws androidx.core.net.ParseException; |
cketti | 6e961e5 | 2020-06-25 01:13:13 +0200 | [diff] [blame] | 1630 | field public static final String MAILTO_SCHEME = "mailto:"; |
| 1631 | } |
| 1632 | |
| 1633 | public class ParseException extends java.lang.RuntimeException { |
| 1634 | field public final String response; |
| 1635 | } |
| 1636 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1637 | public final class TrafficStatsCompat { |
| 1638 | method @Deprecated public static void clearThreadStatsTag(); |
| 1639 | method @Deprecated public static int getThreadStatsTag(); |
| 1640 | method @Deprecated public static void incrementOperationCount(int); |
| 1641 | method @Deprecated public static void incrementOperationCount(int, int); |
| 1642 | method @Deprecated public static void setThreadStatsTag(int); |
| 1643 | method public static void tagDatagramSocket(java.net.DatagramSocket) throws java.net.SocketException; |
| 1644 | method @Deprecated public static void tagSocket(java.net.Socket!) throws java.net.SocketException; |
| 1645 | method public static void untagDatagramSocket(java.net.DatagramSocket) throws java.net.SocketException; |
| 1646 | method @Deprecated public static void untagSocket(java.net.Socket!) throws java.net.SocketException; |
| 1647 | } |
| 1648 | |
| 1649 | public final class UriCompat { |
| 1650 | method public static String toSafeString(android.net.Uri); |
| 1651 | } |
| 1652 | |
| 1653 | } |
| 1654 | |
| 1655 | package androidx.core.os { |
| 1656 | |
| 1657 | public class BuildCompat { |
Tor Norbye | 144949e | 2020-05-01 14:17:28 -0700 | [diff] [blame] | 1658 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.N) public static boolean isAtLeastN(); |
| 1659 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.N_MR1) public static boolean isAtLeastNMR1(); |
| 1660 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.O) public static boolean isAtLeastO(); |
| 1661 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.O_MR1) public static boolean isAtLeastOMR1(); |
| 1662 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.P) public static boolean isAtLeastP(); |
| 1663 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.Q) public static boolean isAtLeastQ(); |
Shimi Zhang | b1f7192 | 2020-12-03 16:09:48 -0800 | [diff] [blame] | 1664 | method @Deprecated @ChecksSdkIntAtLeast(api=android.os.Build.VERSION_CODES.R) public static boolean isAtLeastR(); |
Alan Viverette | 07009d8 | 2021-11-23 16:38:10 -0500 | [diff] [blame] | 1665 | method @Deprecated @ChecksSdkIntAtLeast(api=31, codename="S") public static boolean isAtLeastS(); |
| 1666 | method @ChecksSdkIntAtLeast(api=32, codename="Sv2") @androidx.core.os.BuildCompat.PrereleaseSdkCheck public static boolean isAtLeastSv2(); |
| 1667 | method @ChecksSdkIntAtLeast(codename="Tiramisu") @androidx.core.os.BuildCompat.PrereleaseSdkCheck public static boolean isAtLeastT(); |
Alan Viverette | 8b6d694 | 2021-05-27 12:44:38 -0400 | [diff] [blame] | 1668 | } |
| 1669 | |
| 1670 | @RequiresOptIn @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface BuildCompat.PrereleaseSdkCheck { |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1671 | } |
| 1672 | |
| 1673 | public final class CancellationSignal { |
| 1674 | ctor public CancellationSignal(); |
| 1675 | method public void cancel(); |
| 1676 | method public Object? getCancellationSignalObject(); |
| 1677 | method public boolean isCanceled(); |
| 1678 | method public void setOnCancelListener(androidx.core.os.CancellationSignal.OnCancelListener?); |
| 1679 | method public void throwIfCanceled(); |
| 1680 | } |
| 1681 | |
| 1682 | public static interface CancellationSignal.OnCancelListener { |
| 1683 | method public void onCancel(); |
| 1684 | } |
| 1685 | |
| 1686 | public final class ConfigurationCompat { |
| 1687 | method public static androidx.core.os.LocaleListCompat getLocales(android.content.res.Configuration); |
| 1688 | } |
| 1689 | |
| 1690 | public final class EnvironmentCompat { |
Alan Viverette | 0bf4cab | 2019-10-18 15:51:02 -0400 | [diff] [blame] | 1691 | method public static String getStorageState(java.io.File); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1692 | field public static final String MEDIA_UNKNOWN = "unknown"; |
| 1693 | } |
| 1694 | |
Soonil Nagarkar | 1629a02 | 2020-10-09 09:58:08 -0700 | [diff] [blame] | 1695 | public final class ExecutorCompat { |
| 1696 | method public static java.util.concurrent.Executor create(android.os.Handler); |
| 1697 | } |
| 1698 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1699 | public final class HandlerCompat { |
| 1700 | method public static android.os.Handler createAsync(android.os.Looper); |
| 1701 | method public static android.os.Handler createAsync(android.os.Looper, android.os.Handler.Callback); |
Alan Viverette | 7e9c4bf | 2021-02-08 17:41:41 -0500 | [diff] [blame] | 1702 | method @RequiresApi(16) public static boolean hasCallbacks(android.os.Handler, Runnable); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1703 | method public static boolean postDelayed(android.os.Handler, Runnable, Object?, long); |
| 1704 | } |
| 1705 | |
| 1706 | public final class LocaleListCompat { |
| 1707 | method public static androidx.core.os.LocaleListCompat create(java.util.Locale!...); |
| 1708 | method public static androidx.core.os.LocaleListCompat forLanguageTags(String?); |
| 1709 | method public java.util.Locale! get(int); |
| 1710 | method @Size(min=1) public static androidx.core.os.LocaleListCompat getAdjustedDefault(); |
| 1711 | method @Size(min=1) public static androidx.core.os.LocaleListCompat getDefault(); |
| 1712 | method public static androidx.core.os.LocaleListCompat getEmptyLocaleList(); |
| 1713 | method public java.util.Locale? getFirstMatch(String![]); |
| 1714 | method @IntRange(from=0xffffffff) public int indexOf(java.util.Locale!); |
| 1715 | method public boolean isEmpty(); |
| 1716 | method @IntRange(from=0) public int size(); |
| 1717 | method public String toLanguageTags(); |
| 1718 | method public Object? unwrap(); |
| 1719 | method @Deprecated @RequiresApi(24) public static androidx.core.os.LocaleListCompat! wrap(Object!); |
| 1720 | method @RequiresApi(24) public static androidx.core.os.LocaleListCompat wrap(android.os.LocaleList); |
| 1721 | } |
| 1722 | |
| 1723 | public final class MessageCompat { |
| 1724 | method public static boolean isAsynchronous(android.os.Message); |
| 1725 | method public static void setAsynchronous(android.os.Message, boolean); |
| 1726 | } |
| 1727 | |
| 1728 | public class OperationCanceledException extends java.lang.RuntimeException { |
| 1729 | ctor public OperationCanceledException(); |
| 1730 | ctor public OperationCanceledException(String?); |
| 1731 | } |
| 1732 | |
| 1733 | public final class ParcelCompat { |
| 1734 | method public static boolean readBoolean(android.os.Parcel); |
| 1735 | method public static void writeBoolean(android.os.Parcel, boolean); |
| 1736 | } |
| 1737 | |
| 1738 | @Deprecated public final class ParcelableCompat { |
| 1739 | method @Deprecated public static <T> android.os.Parcelable.Creator<T!>! newCreator(androidx.core.os.ParcelableCompatCreatorCallbacks<T!>!); |
| 1740 | } |
| 1741 | |
| 1742 | @Deprecated public interface ParcelableCompatCreatorCallbacks<T> { |
| 1743 | method @Deprecated public T! createFromParcel(android.os.Parcel!, ClassLoader!); |
| 1744 | method @Deprecated public T![]! newArray(int); |
| 1745 | } |
| 1746 | |
Alan Viverette | 95db2f9 | 2020-04-03 16:33:59 -0400 | [diff] [blame] | 1747 | public final class ProcessCompat { |
| 1748 | method public static boolean isApplicationUid(int); |
| 1749 | } |
| 1750 | |
Rahul Ravikumar | 60c0497 | 2020-04-03 11:52:07 -0700 | [diff] [blame] | 1751 | @Deprecated public final class TraceCompat { |
| 1752 | method @Deprecated public static void beginAsyncSection(String, int); |
| 1753 | method @Deprecated public static void beginSection(String); |
| 1754 | method @Deprecated public static void endAsyncSection(String, int); |
| 1755 | method @Deprecated public static void endSection(); |
| 1756 | method @Deprecated public static boolean isEnabled(); |
| 1757 | method @Deprecated public static void setCounter(String, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1758 | } |
| 1759 | |
Soonil Nagarkar | c5c9029 | 2021-03-24 10:24:56 -0700 | [diff] [blame] | 1760 | @RequiresApi(17) public class UserHandleCompat { |
| 1761 | method public static android.os.UserHandle getUserHandleForUid(int); |
| 1762 | } |
| 1763 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1764 | public class UserManagerCompat { |
| 1765 | method public static boolean isUserUnlocked(android.content.Context); |
| 1766 | } |
| 1767 | |
| 1768 | } |
| 1769 | |
| 1770 | package androidx.core.provider { |
| 1771 | |
Nicole Borrelli | db88a2b | 2021-08-16 16:39:55 +0100 | [diff] [blame] | 1772 | public final class DocumentsContractCompat { |
| 1773 | method public static android.net.Uri? buildChildDocumentsUri(String, String?); |
| 1774 | method public static android.net.Uri? buildChildDocumentsUriUsingTree(android.net.Uri, String); |
| 1775 | method public static android.net.Uri? buildDocumentUri(String, String); |
| 1776 | method public static android.net.Uri? buildDocumentUriUsingTree(android.net.Uri, String); |
| 1777 | method public static android.net.Uri? buildTreeDocumentUri(String, String); |
| 1778 | method public static android.net.Uri? createDocument(android.content.ContentResolver, android.net.Uri, String, String) throws java.io.FileNotFoundException; |
| 1779 | method public static String? getDocumentId(android.net.Uri); |
| 1780 | method public static String? getTreeDocumentId(android.net.Uri); |
| 1781 | method public static boolean isDocumentUri(android.content.Context, android.net.Uri?); |
| 1782 | method public static boolean isTreeUri(android.net.Uri); |
| 1783 | method public static boolean removeDocument(android.content.ContentResolver, android.net.Uri, android.net.Uri) throws java.io.FileNotFoundException; |
| 1784 | method public static android.net.Uri? renameDocument(android.content.ContentResolver, android.net.Uri, String) throws java.io.FileNotFoundException; |
| 1785 | } |
| 1786 | |
| 1787 | public static final class DocumentsContractCompat.DocumentCompat { |
| 1788 | field public static final int FLAG_VIRTUAL_DOCUMENT = 512; // 0x200 |
| 1789 | } |
| 1790 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1791 | public final class FontRequest { |
| 1792 | ctor public FontRequest(String, String, String, java.util.List<java.util.List<byte[]!>!>); |
| 1793 | ctor public FontRequest(String, String, String, @ArrayRes int); |
| 1794 | method public java.util.List<java.util.List<byte[]!>!>? getCertificates(); |
| 1795 | method @ArrayRes public int getCertificatesArrayResId(); |
| 1796 | method public String getProviderAuthority(); |
| 1797 | method public String getProviderPackage(); |
| 1798 | method public String getQuery(); |
| 1799 | } |
| 1800 | |
| 1801 | public class FontsContractCompat { |
| 1802 | method public static android.graphics.Typeface? buildTypeface(android.content.Context, android.os.CancellationSignal?, androidx.core.provider.FontsContractCompat.FontInfo![]); |
| 1803 | method public static androidx.core.provider.FontsContractCompat.FontFamilyResult fetchFonts(android.content.Context, android.os.CancellationSignal?, androidx.core.provider.FontRequest) throws android.content.pm.PackageManager.NameNotFoundException; |
| 1804 | method public static void requestFont(android.content.Context, androidx.core.provider.FontRequest, androidx.core.provider.FontsContractCompat.FontRequestCallback, android.os.Handler); |
| 1805 | } |
| 1806 | |
| 1807 | public static final class FontsContractCompat.Columns implements android.provider.BaseColumns { |
| 1808 | ctor public FontsContractCompat.Columns(); |
| 1809 | field public static final String FILE_ID = "file_id"; |
| 1810 | field public static final String ITALIC = "font_italic"; |
| 1811 | field public static final String RESULT_CODE = "result_code"; |
| 1812 | field public static final int RESULT_CODE_FONT_NOT_FOUND = 1; // 0x1 |
| 1813 | field public static final int RESULT_CODE_FONT_UNAVAILABLE = 2; // 0x2 |
| 1814 | field public static final int RESULT_CODE_MALFORMED_QUERY = 3; // 0x3 |
| 1815 | field public static final int RESULT_CODE_OK = 0; // 0x0 |
| 1816 | field public static final String TTC_INDEX = "font_ttc_index"; |
| 1817 | field public static final String VARIATION_SETTINGS = "font_variation_settings"; |
| 1818 | field public static final String WEIGHT = "font_weight"; |
| 1819 | } |
| 1820 | |
| 1821 | public static class FontsContractCompat.FontFamilyResult { |
| 1822 | method public androidx.core.provider.FontsContractCompat.FontInfo![]! getFonts(); |
| 1823 | method public int getStatusCode(); |
| 1824 | field public static final int STATUS_OK = 0; // 0x0 |
| 1825 | field public static final int STATUS_UNEXPECTED_DATA_PROVIDED = 2; // 0x2 |
| 1826 | field public static final int STATUS_WRONG_CERTIFICATES = 1; // 0x1 |
| 1827 | } |
| 1828 | |
| 1829 | public static class FontsContractCompat.FontInfo { |
| 1830 | method public int getResultCode(); |
| 1831 | method @IntRange(from=0) public int getTtcIndex(); |
| 1832 | method public android.net.Uri getUri(); |
| 1833 | method @IntRange(from=1, to=1000) public int getWeight(); |
| 1834 | method public boolean isItalic(); |
| 1835 | } |
| 1836 | |
| 1837 | public static class FontsContractCompat.FontRequestCallback { |
| 1838 | ctor public FontsContractCompat.FontRequestCallback(); |
| 1839 | method public void onTypefaceRequestFailed(int); |
| 1840 | method public void onTypefaceRetrieved(android.graphics.Typeface!); |
| 1841 | field public static final int FAIL_REASON_FONT_LOAD_ERROR = -3; // 0xfffffffd |
| 1842 | field public static final int FAIL_REASON_FONT_NOT_FOUND = 1; // 0x1 |
| 1843 | field public static final int FAIL_REASON_FONT_UNAVAILABLE = 2; // 0x2 |
| 1844 | field public static final int FAIL_REASON_MALFORMED_QUERY = 3; // 0x3 |
| 1845 | field public static final int FAIL_REASON_PROVIDER_NOT_FOUND = -1; // 0xffffffff |
| 1846 | field public static final int FAIL_REASON_SECURITY_VIOLATION = -4; // 0xfffffffc |
| 1847 | field public static final int FAIL_REASON_WRONG_CERTIFICATES = -2; // 0xfffffffe |
| 1848 | } |
| 1849 | |
| 1850 | } |
| 1851 | |
Soonil Nagarkar | ed6d6e4 | 2021-04-08 08:47:21 -0700 | [diff] [blame] | 1852 | package androidx.core.telephony { |
| 1853 | |
| 1854 | @RequiresApi(22) public class SubscriptionManagerCompat { |
| 1855 | method public static int getSlotIndex(int); |
| 1856 | } |
| 1857 | |
| 1858 | public class TelephonyManagerCompat { |
| 1859 | method @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE) public static String? getImei(android.telephony.TelephonyManager); |
| 1860 | method public static int getSubscriptionId(android.telephony.TelephonyManager); |
| 1861 | } |
| 1862 | |
| 1863 | } |
| 1864 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 1865 | package androidx.core.telephony.mbms { |
| 1866 | |
| 1867 | public final class MbmsHelper { |
| 1868 | method public static CharSequence? getBestNameForService(android.content.Context, android.telephony.mbms.ServiceInfo); |
| 1869 | } |
| 1870 | |
| 1871 | } |
| 1872 | |
| 1873 | package androidx.core.text { |
| 1874 | |
| 1875 | public final class BidiFormatter { |
| 1876 | method public static androidx.core.text.BidiFormatter! getInstance(); |
| 1877 | method public static androidx.core.text.BidiFormatter! getInstance(boolean); |
| 1878 | method public static androidx.core.text.BidiFormatter! getInstance(java.util.Locale!); |
| 1879 | method public boolean getStereoReset(); |
| 1880 | method public boolean isRtl(String!); |
| 1881 | method public boolean isRtl(CharSequence!); |
| 1882 | method public boolean isRtlContext(); |
| 1883 | method public String! unicodeWrap(String!, androidx.core.text.TextDirectionHeuristicCompat!, boolean); |
| 1884 | method public CharSequence! unicodeWrap(CharSequence!, androidx.core.text.TextDirectionHeuristicCompat!, boolean); |
| 1885 | method public String! unicodeWrap(String!, androidx.core.text.TextDirectionHeuristicCompat!); |
| 1886 | method public CharSequence! unicodeWrap(CharSequence!, androidx.core.text.TextDirectionHeuristicCompat!); |
| 1887 | method public String! unicodeWrap(String!, boolean); |
| 1888 | method public CharSequence! unicodeWrap(CharSequence!, boolean); |
| 1889 | method public String! unicodeWrap(String!); |
| 1890 | method public CharSequence! unicodeWrap(CharSequence!); |
| 1891 | } |
| 1892 | |
| 1893 | public static final class BidiFormatter.Builder { |
| 1894 | ctor public BidiFormatter.Builder(); |
| 1895 | ctor public BidiFormatter.Builder(boolean); |
| 1896 | ctor public BidiFormatter.Builder(java.util.Locale!); |
| 1897 | method public androidx.core.text.BidiFormatter! build(); |
| 1898 | method public androidx.core.text.BidiFormatter.Builder! setTextDirectionHeuristic(androidx.core.text.TextDirectionHeuristicCompat!); |
| 1899 | method public androidx.core.text.BidiFormatter.Builder! stereoReset(boolean); |
| 1900 | } |
| 1901 | |
| 1902 | public final class HtmlCompat { |
| 1903 | method public static android.text.Spanned fromHtml(String, int); |
| 1904 | method public static android.text.Spanned fromHtml(String, int, android.text.Html.ImageGetter?, android.text.Html.TagHandler?); |
| 1905 | method public static String toHtml(android.text.Spanned, int); |
| 1906 | field public static final int FROM_HTML_MODE_COMPACT = 63; // 0x3f |
| 1907 | field public static final int FROM_HTML_MODE_LEGACY = 0; // 0x0 |
| 1908 | field public static final int FROM_HTML_OPTION_USE_CSS_COLORS = 256; // 0x100 |
| 1909 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE = 32; // 0x20 |
| 1910 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_DIV = 16; // 0x10 |
| 1911 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_HEADING = 2; // 0x2 |
| 1912 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_LIST = 8; // 0x8 |
| 1913 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM = 4; // 0x4 |
| 1914 | field public static final int FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH = 1; // 0x1 |
| 1915 | field public static final int TO_HTML_PARAGRAPH_LINES_CONSECUTIVE = 0; // 0x0 |
| 1916 | field public static final int TO_HTML_PARAGRAPH_LINES_INDIVIDUAL = 1; // 0x1 |
| 1917 | } |
| 1918 | |
| 1919 | public final class ICUCompat { |
| 1920 | method public static String? maximizeAndGetScript(java.util.Locale!); |
| 1921 | } |
| 1922 | |
| 1923 | public class PrecomputedTextCompat implements android.text.Spannable { |
| 1924 | method public char charAt(int); |
| 1925 | method public static androidx.core.text.PrecomputedTextCompat! create(CharSequence, androidx.core.text.PrecomputedTextCompat.Params); |
| 1926 | method @IntRange(from=0) public int getParagraphCount(); |
| 1927 | method @IntRange(from=0) public int getParagraphEnd(@IntRange(from=0) int); |
| 1928 | method @IntRange(from=0) public int getParagraphStart(@IntRange(from=0) int); |
| 1929 | method public androidx.core.text.PrecomputedTextCompat.Params getParams(); |
| 1930 | method public int getSpanEnd(Object!); |
| 1931 | method public int getSpanFlags(Object!); |
| 1932 | method public int getSpanStart(Object!); |
| 1933 | method public <T> T![]! getSpans(int, int, Class<T!>!); |
| 1934 | method @UiThread public static java.util.concurrent.Future<androidx.core.text.PrecomputedTextCompat!>! getTextFuture(CharSequence, androidx.core.text.PrecomputedTextCompat.Params, java.util.concurrent.Executor?); |
| 1935 | method public int length(); |
| 1936 | method public int nextSpanTransition(int, int, Class!); |
| 1937 | method public void removeSpan(Object!); |
| 1938 | method public void setSpan(Object!, int, int, int); |
| 1939 | method public CharSequence! subSequence(int, int); |
| 1940 | } |
| 1941 | |
| 1942 | public static final class PrecomputedTextCompat.Params { |
| 1943 | ctor @RequiresApi(28) public PrecomputedTextCompat.Params(android.text.PrecomputedText.Params); |
| 1944 | method @RequiresApi(23) public int getBreakStrategy(); |
| 1945 | method @RequiresApi(23) public int getHyphenationFrequency(); |
| 1946 | method @RequiresApi(18) public android.text.TextDirectionHeuristic? getTextDirection(); |
| 1947 | method public android.text.TextPaint getTextPaint(); |
| 1948 | } |
| 1949 | |
| 1950 | public static class PrecomputedTextCompat.Params.Builder { |
| 1951 | ctor public PrecomputedTextCompat.Params.Builder(android.text.TextPaint); |
| 1952 | method public androidx.core.text.PrecomputedTextCompat.Params build(); |
| 1953 | method @RequiresApi(23) public androidx.core.text.PrecomputedTextCompat.Params.Builder! setBreakStrategy(int); |
| 1954 | method @RequiresApi(23) public androidx.core.text.PrecomputedTextCompat.Params.Builder! setHyphenationFrequency(int); |
| 1955 | method @RequiresApi(18) public androidx.core.text.PrecomputedTextCompat.Params.Builder! setTextDirection(android.text.TextDirectionHeuristic); |
| 1956 | } |
| 1957 | |
| 1958 | public interface TextDirectionHeuristicCompat { |
| 1959 | method public boolean isRtl(char[]!, int, int); |
| 1960 | method public boolean isRtl(CharSequence!, int, int); |
| 1961 | } |
| 1962 | |
| 1963 | public final class TextDirectionHeuristicsCompat { |
| 1964 | field public static final androidx.core.text.TextDirectionHeuristicCompat! ANYRTL_LTR; |
| 1965 | field public static final androidx.core.text.TextDirectionHeuristicCompat! FIRSTSTRONG_LTR; |
| 1966 | field public static final androidx.core.text.TextDirectionHeuristicCompat! FIRSTSTRONG_RTL; |
| 1967 | field public static final androidx.core.text.TextDirectionHeuristicCompat! LOCALE; |
| 1968 | field public static final androidx.core.text.TextDirectionHeuristicCompat! LTR; |
| 1969 | field public static final androidx.core.text.TextDirectionHeuristicCompat! RTL; |
| 1970 | } |
| 1971 | |
| 1972 | public final class TextUtilsCompat { |
| 1973 | method public static int getLayoutDirectionFromLocale(java.util.Locale?); |
| 1974 | method public static String htmlEncode(String); |
| 1975 | } |
| 1976 | |
| 1977 | } |
| 1978 | |
| 1979 | package androidx.core.text.util { |
| 1980 | |
| 1981 | public final class LinkifyCompat { |
| 1982 | method public static boolean addLinks(android.text.Spannable, int); |
| 1983 | method public static boolean addLinks(android.widget.TextView, int); |
| 1984 | method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, String?); |
| 1985 | method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, String?, android.text.util.Linkify.MatchFilter?, android.text.util.Linkify.TransformFilter?); |
| 1986 | method public static void addLinks(android.widget.TextView, java.util.regex.Pattern, String?, String![]?, android.text.util.Linkify.MatchFilter?, android.text.util.Linkify.TransformFilter?); |
| 1987 | method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, String?); |
| 1988 | method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, String?, android.text.util.Linkify.MatchFilter?, android.text.util.Linkify.TransformFilter?); |
| 1989 | method public static boolean addLinks(android.text.Spannable, java.util.regex.Pattern, String?, String![]?, android.text.util.Linkify.MatchFilter?, android.text.util.Linkify.TransformFilter?); |
| 1990 | } |
| 1991 | |
| 1992 | } |
| 1993 | |
| 1994 | package androidx.core.util { |
| 1995 | |
| 1996 | public class AtomicFile { |
| 1997 | ctor public AtomicFile(java.io.File); |
| 1998 | method public void delete(); |
| 1999 | method public void failWrite(java.io.FileOutputStream?); |
| 2000 | method public void finishWrite(java.io.FileOutputStream?); |
| 2001 | method public java.io.File getBaseFile(); |
| 2002 | method public java.io.FileInputStream openRead() throws java.io.FileNotFoundException; |
| 2003 | method public byte[] readFully() throws java.io.IOException; |
| 2004 | method public java.io.FileOutputStream startWrite() throws java.io.IOException; |
| 2005 | } |
| 2006 | |
| 2007 | public interface Consumer<T> { |
| 2008 | method public void accept(T!); |
| 2009 | } |
| 2010 | |
| 2011 | public class ObjectsCompat { |
| 2012 | method public static boolean equals(Object?, Object?); |
| 2013 | method public static int hash(java.lang.Object!...); |
| 2014 | method public static int hashCode(Object?); |
Alan Viverette | cbeebee | 2021-04-29 14:59:11 -0400 | [diff] [blame] | 2015 | method public static <T> T requireNonNull(T?); |
| 2016 | method public static <T> T requireNonNull(T?, String); |
Trevor McGuire | c92f4a4 | 2020-07-25 00:20:26 -0700 | [diff] [blame] | 2017 | method public static String? toString(Object?, String?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2018 | } |
| 2019 | |
| 2020 | public class Pair<F, S> { |
Jake Wharton | d36912a | 2020-04-29 11:15:42 -0400 | [diff] [blame] | 2021 | ctor public Pair(F!, S!); |
| 2022 | method public static <A, B> androidx.core.util.Pair<A!,B!> create(A!, B!); |
| 2023 | field public final F! first; |
| 2024 | field public final S! second; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2025 | } |
| 2026 | |
| 2027 | public final class PatternsCompat { |
Aurimas Liutikas | afd4a79 | 2020-06-22 13:35:25 -0700 | [diff] [blame] | 2028 | field public static final java.util.regex.Pattern DOMAIN_NAME; |
| 2029 | field public static final java.util.regex.Pattern EMAIL_ADDRESS; |
| 2030 | field public static final java.util.regex.Pattern IP_ADDRESS; |
| 2031 | field public static final java.util.regex.Pattern WEB_URL; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2032 | } |
| 2033 | |
| 2034 | public final class Pools { |
| 2035 | } |
| 2036 | |
| 2037 | public static interface Pools.Pool<T> { |
| 2038 | method public T? acquire(); |
| 2039 | method public boolean release(T); |
| 2040 | } |
| 2041 | |
| 2042 | public static class Pools.SimplePool<T> implements androidx.core.util.Pools.Pool<T> { |
| 2043 | ctor public Pools.SimplePool(int); |
| 2044 | method public T! acquire(); |
| 2045 | method public boolean release(T); |
| 2046 | } |
| 2047 | |
| 2048 | public static class Pools.SynchronizedPool<T> extends androidx.core.util.Pools.SimplePool<T> { |
| 2049 | ctor public Pools.SynchronizedPool(int); |
| 2050 | } |
| 2051 | |
| 2052 | public interface Predicate<T> { |
| 2053 | method public boolean test(T!); |
| 2054 | } |
| 2055 | |
Stevie Kideckel | 98ae2b4 | 2021-11-17 13:36:33 -0500 | [diff] [blame] | 2056 | public final class SizeFCompat { |
| 2057 | ctor public SizeFCompat(float, float); |
Stevie Kideckel | 98ae2b4 | 2021-11-17 13:36:33 -0500 | [diff] [blame] | 2058 | method public float getHeight(); |
| 2059 | method public float getWidth(); |
| 2060 | method @RequiresApi(21) public android.util.SizeF toSizeF(); |
Stevie Kideckel | cf50a70 | 2021-11-24 14:49:11 -0500 | [diff] [blame] | 2061 | method @RequiresApi(21) public static androidx.core.util.SizeFCompat toSizeFCompat(android.util.SizeF); |
Stevie Kideckel | 98ae2b4 | 2021-11-17 13:36:33 -0500 | [diff] [blame] | 2062 | } |
| 2063 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2064 | public interface Supplier<T> { |
| 2065 | method public T! get(); |
| 2066 | } |
| 2067 | |
| 2068 | } |
| 2069 | |
| 2070 | package androidx.core.view { |
| 2071 | |
| 2072 | public class AccessibilityDelegateCompat { |
| 2073 | ctor public AccessibilityDelegateCompat(); |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2074 | method public boolean dispatchPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); |
| 2075 | method public androidx.core.view.accessibility.AccessibilityNodeProviderCompat? getAccessibilityNodeProvider(android.view.View); |
| 2076 | method public void onInitializeAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); |
| 2077 | method public void onInitializeAccessibilityNodeInfo(android.view.View, androidx.core.view.accessibility.AccessibilityNodeInfoCompat); |
| 2078 | method public void onPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent); |
| 2079 | method public boolean onRequestSendAccessibilityEvent(android.view.ViewGroup, android.view.View, android.view.accessibility.AccessibilityEvent); |
| 2080 | method public boolean performAccessibilityAction(android.view.View, int, android.os.Bundle); |
| 2081 | method public void sendAccessibilityEvent(android.view.View, int); |
| 2082 | method public void sendAccessibilityEventUnchecked(android.view.View, android.view.accessibility.AccessibilityEvent); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2083 | } |
| 2084 | |
| 2085 | public abstract class ActionProvider { |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2086 | ctor public ActionProvider(android.content.Context); |
| 2087 | method public android.content.Context getContext(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2088 | method public boolean hasSubMenu(); |
| 2089 | method public boolean isVisible(); |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2090 | method public abstract android.view.View onCreateActionView(); |
| 2091 | method public android.view.View onCreateActionView(android.view.MenuItem); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2092 | method public boolean onPerformDefaultAction(); |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2093 | method public void onPrepareSubMenu(android.view.SubMenu); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2094 | method public boolean overridesItemVisibility(); |
| 2095 | method public void refreshVisibility(); |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2096 | method public void setVisibilityListener(androidx.core.view.ActionProvider.VisibilityListener?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2097 | } |
| 2098 | |
| 2099 | public static interface ActionProvider.VisibilityListener { |
| 2100 | method public void onActionProviderVisibilityChanged(boolean); |
| 2101 | } |
| 2102 | |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2103 | public final class ContentInfoCompat { |
| 2104 | method public android.content.ClipData getClip(); |
| 2105 | method public android.os.Bundle? getExtras(); |
| 2106 | method public int getFlags(); |
| 2107 | method public android.net.Uri? getLinkUri(); |
| 2108 | method public int getSource(); |
| 2109 | method public android.util.Pair<androidx.core.view.ContentInfoCompat!,androidx.core.view.ContentInfoCompat!> partition(androidx.core.util.Predicate<android.content.ClipData.Item!>); |
Nikita Dubrovsky | 7c440b4 | 2021-04-14 18:01:36 -0700 | [diff] [blame] | 2110 | method @RequiresApi(31) public static android.util.Pair<android.view.ContentInfo!,android.view.ContentInfo!> partition(android.view.ContentInfo, java.util.function.Predicate<android.content.ClipData.Item!>); |
| 2111 | method @RequiresApi(31) public android.view.ContentInfo toContentInfo(); |
| 2112 | method @RequiresApi(31) public static androidx.core.view.ContentInfoCompat toContentInfoCompat(android.view.ContentInfo); |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2113 | field public static final int FLAG_CONVERT_TO_PLAIN_TEXT = 1; // 0x1 |
| 2114 | field public static final int SOURCE_APP = 0; // 0x0 |
Nikita Dubrovsky | 7c440b4 | 2021-04-14 18:01:36 -0700 | [diff] [blame] | 2115 | field public static final int SOURCE_AUTOFILL = 4; // 0x4 |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2116 | field public static final int SOURCE_CLIPBOARD = 1; // 0x1 |
Nikita Dubrovsky | ce97115 | 2020-12-04 15:34:05 -0800 | [diff] [blame] | 2117 | field public static final int SOURCE_DRAG_AND_DROP = 3; // 0x3 |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2118 | field public static final int SOURCE_INPUT_METHOD = 2; // 0x2 |
Nikita Dubrovsky | 7c440b4 | 2021-04-14 18:01:36 -0700 | [diff] [blame] | 2119 | field public static final int SOURCE_PROCESS_TEXT = 5; // 0x5 |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2120 | } |
| 2121 | |
| 2122 | public static final class ContentInfoCompat.Builder { |
| 2123 | ctor public ContentInfoCompat.Builder(androidx.core.view.ContentInfoCompat); |
| 2124 | ctor public ContentInfoCompat.Builder(android.content.ClipData, int); |
| 2125 | method public androidx.core.view.ContentInfoCompat build(); |
| 2126 | method public androidx.core.view.ContentInfoCompat.Builder setClip(android.content.ClipData); |
| 2127 | method public androidx.core.view.ContentInfoCompat.Builder setExtras(android.os.Bundle?); |
| 2128 | method public androidx.core.view.ContentInfoCompat.Builder setFlags(int); |
| 2129 | method public androidx.core.view.ContentInfoCompat.Builder setLinkUri(android.net.Uri?); |
| 2130 | method public androidx.core.view.ContentInfoCompat.Builder setSource(int); |
| 2131 | } |
| 2132 | |
Alan Viverette | 0d08d5a | 2019-12-02 12:45:33 -0500 | [diff] [blame] | 2133 | public final class DisplayCompat { |
Brian Lindahl | 27e1f19 | 2021-03-08 15:48:44 +0000 | [diff] [blame] | 2134 | method public static androidx.core.view.DisplayCompat.ModeCompat getMode(android.content.Context, android.view.Display); |
Alan Viverette | 0d08d5a | 2019-12-02 12:45:33 -0500 | [diff] [blame] | 2135 | method public static androidx.core.view.DisplayCompat.ModeCompat![] getSupportedModes(android.content.Context, android.view.Display); |
| 2136 | } |
| 2137 | |
| 2138 | public static final class DisplayCompat.ModeCompat { |
| 2139 | method public int getPhysicalHeight(); |
| 2140 | method public int getPhysicalWidth(); |
Brian Lindahl | 27e1f19 | 2021-03-08 15:48:44 +0000 | [diff] [blame] | 2141 | method @Deprecated public boolean isNative(); |
Alan Viverette | 0d08d5a | 2019-12-02 12:45:33 -0500 | [diff] [blame] | 2142 | method @RequiresApi(android.os.Build.VERSION_CODES.M) public android.view.Display.Mode? toMode(); |
| 2143 | } |
| 2144 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2145 | public final class DisplayCutoutCompat { |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2146 | ctor public DisplayCutoutCompat(android.graphics.Rect?, java.util.List<android.graphics.Rect!>?); |
shawnlin | 44ea627 | 2020-02-25 16:01:27 +0800 | [diff] [blame] | 2147 | ctor public DisplayCutoutCompat(androidx.core.graphics.Insets, android.graphics.Rect?, android.graphics.Rect?, android.graphics.Rect?, android.graphics.Rect?, androidx.core.graphics.Insets); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2148 | method public java.util.List<android.graphics.Rect!> getBoundingRects(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2149 | method public int getSafeInsetBottom(); |
| 2150 | method public int getSafeInsetLeft(); |
| 2151 | method public int getSafeInsetRight(); |
| 2152 | method public int getSafeInsetTop(); |
shawnlin | 4858d2f | 2020-04-20 13:13:42 +0800 | [diff] [blame] | 2153 | method public androidx.core.graphics.Insets getWaterfallInsets(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2154 | } |
| 2155 | |
| 2156 | public final class DragAndDropPermissionsCompat { |
| 2157 | method public void release(); |
| 2158 | } |
| 2159 | |
| 2160 | public class DragStartHelper { |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2161 | ctor public DragStartHelper(android.view.View, androidx.core.view.DragStartHelper.OnDragStartListener); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2162 | method public void attach(); |
| 2163 | method public void detach(); |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2164 | method public void getTouchPosition(android.graphics.Point); |
| 2165 | method public boolean onLongClick(android.view.View); |
| 2166 | method public boolean onTouch(android.view.View, android.view.MotionEvent); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2167 | } |
| 2168 | |
| 2169 | public static interface DragStartHelper.OnDragStartListener { |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 2170 | method public boolean onDragStart(android.view.View, androidx.core.view.DragStartHelper); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2171 | } |
| 2172 | |
| 2173 | public final class GestureDetectorCompat { |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2174 | ctor public GestureDetectorCompat(android.content.Context, android.view.GestureDetector.OnGestureListener); |
| 2175 | ctor public GestureDetectorCompat(android.content.Context, android.view.GestureDetector.OnGestureListener, android.os.Handler?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2176 | method public boolean isLongpressEnabled(); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2177 | method public boolean onTouchEvent(android.view.MotionEvent); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2178 | method public void setIsLongpressEnabled(boolean); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2179 | method public void setOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2180 | } |
| 2181 | |
| 2182 | public final class GravityCompat { |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2183 | method public static void apply(int, int, int, android.graphics.Rect, android.graphics.Rect, int); |
| 2184 | method public static void apply(int, int, int, android.graphics.Rect, int, int, android.graphics.Rect, int); |
| 2185 | method public static void applyDisplay(int, android.graphics.Rect, android.graphics.Rect, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2186 | method public static int getAbsoluteGravity(int, int); |
| 2187 | field public static final int END = 8388613; // 0x800005 |
| 2188 | field public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = 8388615; // 0x800007 |
| 2189 | field public static final int RELATIVE_LAYOUT_DIRECTION = 8388608; // 0x800000 |
| 2190 | field public static final int START = 8388611; // 0x800003 |
| 2191 | } |
| 2192 | |
| 2193 | public final class InputDeviceCompat { |
| 2194 | field public static final int SOURCE_ANY = -256; // 0xffffff00 |
| 2195 | field public static final int SOURCE_CLASS_BUTTON = 1; // 0x1 |
| 2196 | field public static final int SOURCE_CLASS_JOYSTICK = 16; // 0x10 |
| 2197 | field public static final int SOURCE_CLASS_MASK = 255; // 0xff |
| 2198 | field public static final int SOURCE_CLASS_NONE = 0; // 0x0 |
| 2199 | field public static final int SOURCE_CLASS_POINTER = 2; // 0x2 |
| 2200 | field public static final int SOURCE_CLASS_POSITION = 8; // 0x8 |
| 2201 | field public static final int SOURCE_CLASS_TRACKBALL = 4; // 0x4 |
| 2202 | field public static final int SOURCE_DPAD = 513; // 0x201 |
| 2203 | field public static final int SOURCE_GAMEPAD = 1025; // 0x401 |
| 2204 | field public static final int SOURCE_HDMI = 33554433; // 0x2000001 |
| 2205 | field public static final int SOURCE_JOYSTICK = 16777232; // 0x1000010 |
| 2206 | field public static final int SOURCE_KEYBOARD = 257; // 0x101 |
| 2207 | field public static final int SOURCE_MOUSE = 8194; // 0x2002 |
| 2208 | field public static final int SOURCE_ROTARY_ENCODER = 4194304; // 0x400000 |
| 2209 | field public static final int SOURCE_STYLUS = 16386; // 0x4002 |
| 2210 | field public static final int SOURCE_TOUCHPAD = 1048584; // 0x100008 |
| 2211 | field public static final int SOURCE_TOUCHSCREEN = 4098; // 0x1002 |
| 2212 | field public static final int SOURCE_TOUCH_NAVIGATION = 2097152; // 0x200000 |
| 2213 | field public static final int SOURCE_TRACKBALL = 65540; // 0x10004 |
| 2214 | field public static final int SOURCE_UNKNOWN = 0; // 0x0 |
| 2215 | } |
| 2216 | |
| 2217 | public final class LayoutInflaterCompat { |
| 2218 | method @Deprecated public static androidx.core.view.LayoutInflaterFactory! getFactory(android.view.LayoutInflater!); |
| 2219 | method @Deprecated public static void setFactory(android.view.LayoutInflater, androidx.core.view.LayoutInflaterFactory); |
| 2220 | method public static void setFactory2(android.view.LayoutInflater, android.view.LayoutInflater.Factory2); |
| 2221 | } |
| 2222 | |
| 2223 | @Deprecated public interface LayoutInflaterFactory { |
| 2224 | method @Deprecated public android.view.View! onCreateView(android.view.View!, String!, android.content.Context!, android.util.AttributeSet!); |
| 2225 | } |
| 2226 | |
| 2227 | public final class MarginLayoutParamsCompat { |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2228 | method public static int getLayoutDirection(android.view.ViewGroup.MarginLayoutParams); |
| 2229 | method public static int getMarginEnd(android.view.ViewGroup.MarginLayoutParams); |
| 2230 | method public static int getMarginStart(android.view.ViewGroup.MarginLayoutParams); |
| 2231 | method public static boolean isMarginRelative(android.view.ViewGroup.MarginLayoutParams); |
| 2232 | method public static void resolveLayoutDirection(android.view.ViewGroup.MarginLayoutParams, int); |
| 2233 | method public static void setLayoutDirection(android.view.ViewGroup.MarginLayoutParams, int); |
| 2234 | method public static void setMarginEnd(android.view.ViewGroup.MarginLayoutParams, int); |
| 2235 | method public static void setMarginStart(android.view.ViewGroup.MarginLayoutParams, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2236 | } |
| 2237 | |
| 2238 | public final class MenuCompat { |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2239 | method public static void setGroupDividerEnabled(android.view.Menu, boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2240 | method @Deprecated public static void setShowAsAction(android.view.MenuItem!, int); |
| 2241 | } |
| 2242 | |
Sanura N'Jaka | 8aebbf2 | 2021-08-10 21:50:28 +0000 | [diff] [blame] | 2243 | public interface MenuHost { |
| 2244 | method public void addMenuProvider(androidx.core.view.MenuProvider); |
| 2245 | method public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner); |
| 2246 | method public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State); |
| 2247 | method public void invalidateMenu(); |
| 2248 | method public void removeMenuProvider(androidx.core.view.MenuProvider); |
| 2249 | } |
| 2250 | |
Sanura N'Jaka | 87fcb4c | 2021-08-10 22:59:56 +0000 | [diff] [blame] | 2251 | public class MenuHostHelper { |
| 2252 | ctor public MenuHostHelper(Runnable); |
| 2253 | method public void addMenuProvider(androidx.core.view.MenuProvider); |
| 2254 | method public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner); |
| 2255 | method public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State); |
| 2256 | method public void onCreateMenu(android.view.Menu, android.view.MenuInflater); |
| 2257 | method public boolean onMenuItemSelected(android.view.MenuItem); |
| 2258 | method public void removeMenuProvider(androidx.core.view.MenuProvider); |
| 2259 | } |
| 2260 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2261 | public final class MenuItemCompat { |
| 2262 | method @Deprecated public static boolean collapseActionView(android.view.MenuItem!); |
| 2263 | method @Deprecated public static boolean expandActionView(android.view.MenuItem!); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2264 | method public static androidx.core.view.ActionProvider? getActionProvider(android.view.MenuItem); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2265 | method @Deprecated public static android.view.View! getActionView(android.view.MenuItem!); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2266 | method public static int getAlphabeticModifiers(android.view.MenuItem); |
| 2267 | method public static CharSequence? getContentDescription(android.view.MenuItem); |
| 2268 | method public static android.content.res.ColorStateList? getIconTintList(android.view.MenuItem); |
| 2269 | method public static android.graphics.PorterDuff.Mode? getIconTintMode(android.view.MenuItem); |
| 2270 | method public static int getNumericModifiers(android.view.MenuItem); |
| 2271 | method public static CharSequence? getTooltipText(android.view.MenuItem); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2272 | method @Deprecated public static boolean isActionViewExpanded(android.view.MenuItem!); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2273 | method public static android.view.MenuItem? setActionProvider(android.view.MenuItem, androidx.core.view.ActionProvider?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2274 | method @Deprecated public static android.view.MenuItem! setActionView(android.view.MenuItem!, android.view.View!); |
| 2275 | method @Deprecated public static android.view.MenuItem! setActionView(android.view.MenuItem!, int); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2276 | method public static void setAlphabeticShortcut(android.view.MenuItem, char, int); |
| 2277 | method public static void setContentDescription(android.view.MenuItem, CharSequence?); |
| 2278 | method public static void setIconTintList(android.view.MenuItem, android.content.res.ColorStateList?); |
| 2279 | method public static void setIconTintMode(android.view.MenuItem, android.graphics.PorterDuff.Mode?); |
| 2280 | method public static void setNumericShortcut(android.view.MenuItem, char, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2281 | method @Deprecated public static android.view.MenuItem! setOnActionExpandListener(android.view.MenuItem!, androidx.core.view.MenuItemCompat.OnActionExpandListener!); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2282 | method public static void setShortcut(android.view.MenuItem, char, char, int, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2283 | method @Deprecated public static void setShowAsAction(android.view.MenuItem!, int); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2284 | method public static void setTooltipText(android.view.MenuItem, CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2285 | field @Deprecated public static final int SHOW_AS_ACTION_ALWAYS = 2; // 0x2 |
| 2286 | field @Deprecated public static final int SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW = 8; // 0x8 |
| 2287 | field @Deprecated public static final int SHOW_AS_ACTION_IF_ROOM = 1; // 0x1 |
| 2288 | field @Deprecated public static final int SHOW_AS_ACTION_NEVER = 0; // 0x0 |
| 2289 | field @Deprecated public static final int SHOW_AS_ACTION_WITH_TEXT = 4; // 0x4 |
| 2290 | } |
| 2291 | |
| 2292 | @Deprecated public static interface MenuItemCompat.OnActionExpandListener { |
| 2293 | method @Deprecated public boolean onMenuItemActionCollapse(android.view.MenuItem!); |
| 2294 | method @Deprecated public boolean onMenuItemActionExpand(android.view.MenuItem!); |
| 2295 | } |
| 2296 | |
Sanura N'Jaka | 7e57073 | 2021-08-10 20:39:20 +0000 | [diff] [blame] | 2297 | public interface MenuProvider { |
| 2298 | method public void onCreateMenu(android.view.Menu, android.view.MenuInflater); |
| 2299 | method public boolean onMenuItemSelected(android.view.MenuItem); |
| 2300 | } |
| 2301 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2302 | public final class MotionEventCompat { |
| 2303 | method @Deprecated public static int findPointerIndex(android.view.MotionEvent!, int); |
| 2304 | method @Deprecated public static int getActionIndex(android.view.MotionEvent!); |
| 2305 | method @Deprecated public static int getActionMasked(android.view.MotionEvent!); |
| 2306 | method @Deprecated public static float getAxisValue(android.view.MotionEvent!, int); |
| 2307 | method @Deprecated public static float getAxisValue(android.view.MotionEvent!, int, int); |
| 2308 | method @Deprecated public static int getButtonState(android.view.MotionEvent!); |
| 2309 | method @Deprecated public static int getPointerCount(android.view.MotionEvent!); |
| 2310 | method @Deprecated public static int getPointerId(android.view.MotionEvent!, int); |
| 2311 | method @Deprecated public static int getSource(android.view.MotionEvent!); |
| 2312 | method @Deprecated public static float getX(android.view.MotionEvent!, int); |
| 2313 | method @Deprecated public static float getY(android.view.MotionEvent!, int); |
Alan Viverette | 2db2ec5 | 2021-11-12 11:57:49 -0500 | [diff] [blame] | 2314 | method public static boolean isFromSource(android.view.MotionEvent, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2315 | field @Deprecated public static final int ACTION_HOVER_ENTER = 9; // 0x9 |
| 2316 | field @Deprecated public static final int ACTION_HOVER_EXIT = 10; // 0xa |
| 2317 | field @Deprecated public static final int ACTION_HOVER_MOVE = 7; // 0x7 |
| 2318 | field @Deprecated public static final int ACTION_MASK = 255; // 0xff |
| 2319 | field @Deprecated public static final int ACTION_POINTER_DOWN = 5; // 0x5 |
| 2320 | field @Deprecated public static final int ACTION_POINTER_INDEX_MASK = 65280; // 0xff00 |
| 2321 | field @Deprecated public static final int ACTION_POINTER_INDEX_SHIFT = 8; // 0x8 |
| 2322 | field @Deprecated public static final int ACTION_POINTER_UP = 6; // 0x6 |
| 2323 | field @Deprecated public static final int ACTION_SCROLL = 8; // 0x8 |
| 2324 | field @Deprecated public static final int AXIS_BRAKE = 23; // 0x17 |
| 2325 | field @Deprecated public static final int AXIS_DISTANCE = 24; // 0x18 |
| 2326 | field @Deprecated public static final int AXIS_GAS = 22; // 0x16 |
| 2327 | field @Deprecated public static final int AXIS_GENERIC_1 = 32; // 0x20 |
| 2328 | field @Deprecated public static final int AXIS_GENERIC_10 = 41; // 0x29 |
| 2329 | field @Deprecated public static final int AXIS_GENERIC_11 = 42; // 0x2a |
| 2330 | field @Deprecated public static final int AXIS_GENERIC_12 = 43; // 0x2b |
| 2331 | field @Deprecated public static final int AXIS_GENERIC_13 = 44; // 0x2c |
| 2332 | field @Deprecated public static final int AXIS_GENERIC_14 = 45; // 0x2d |
| 2333 | field @Deprecated public static final int AXIS_GENERIC_15 = 46; // 0x2e |
| 2334 | field @Deprecated public static final int AXIS_GENERIC_16 = 47; // 0x2f |
| 2335 | field @Deprecated public static final int AXIS_GENERIC_2 = 33; // 0x21 |
| 2336 | field @Deprecated public static final int AXIS_GENERIC_3 = 34; // 0x22 |
| 2337 | field @Deprecated public static final int AXIS_GENERIC_4 = 35; // 0x23 |
| 2338 | field @Deprecated public static final int AXIS_GENERIC_5 = 36; // 0x24 |
| 2339 | field @Deprecated public static final int AXIS_GENERIC_6 = 37; // 0x25 |
| 2340 | field @Deprecated public static final int AXIS_GENERIC_7 = 38; // 0x26 |
| 2341 | field @Deprecated public static final int AXIS_GENERIC_8 = 39; // 0x27 |
| 2342 | field @Deprecated public static final int AXIS_GENERIC_9 = 40; // 0x28 |
| 2343 | field @Deprecated public static final int AXIS_HAT_X = 15; // 0xf |
| 2344 | field @Deprecated public static final int AXIS_HAT_Y = 16; // 0x10 |
| 2345 | field @Deprecated public static final int AXIS_HSCROLL = 10; // 0xa |
| 2346 | field @Deprecated public static final int AXIS_LTRIGGER = 17; // 0x11 |
| 2347 | field @Deprecated public static final int AXIS_ORIENTATION = 8; // 0x8 |
| 2348 | field @Deprecated public static final int AXIS_PRESSURE = 2; // 0x2 |
| 2349 | field public static final int AXIS_RELATIVE_X = 27; // 0x1b |
| 2350 | field public static final int AXIS_RELATIVE_Y = 28; // 0x1c |
| 2351 | field @Deprecated public static final int AXIS_RTRIGGER = 18; // 0x12 |
| 2352 | field @Deprecated public static final int AXIS_RUDDER = 20; // 0x14 |
| 2353 | field @Deprecated public static final int AXIS_RX = 12; // 0xc |
| 2354 | field @Deprecated public static final int AXIS_RY = 13; // 0xd |
| 2355 | field @Deprecated public static final int AXIS_RZ = 14; // 0xe |
| 2356 | field public static final int AXIS_SCROLL = 26; // 0x1a |
| 2357 | field @Deprecated public static final int AXIS_SIZE = 3; // 0x3 |
| 2358 | field @Deprecated public static final int AXIS_THROTTLE = 19; // 0x13 |
| 2359 | field @Deprecated public static final int AXIS_TILT = 25; // 0x19 |
| 2360 | field @Deprecated public static final int AXIS_TOOL_MAJOR = 6; // 0x6 |
| 2361 | field @Deprecated public static final int AXIS_TOOL_MINOR = 7; // 0x7 |
| 2362 | field @Deprecated public static final int AXIS_TOUCH_MAJOR = 4; // 0x4 |
| 2363 | field @Deprecated public static final int AXIS_TOUCH_MINOR = 5; // 0x5 |
| 2364 | field @Deprecated public static final int AXIS_VSCROLL = 9; // 0x9 |
| 2365 | field @Deprecated public static final int AXIS_WHEEL = 21; // 0x15 |
| 2366 | field @Deprecated public static final int AXIS_X = 0; // 0x0 |
| 2367 | field @Deprecated public static final int AXIS_Y = 1; // 0x1 |
| 2368 | field @Deprecated public static final int AXIS_Z = 11; // 0xb |
| 2369 | field @Deprecated public static final int BUTTON_PRIMARY = 1; // 0x1 |
| 2370 | } |
| 2371 | |
| 2372 | public interface NestedScrollingChild { |
| 2373 | method public boolean dispatchNestedFling(float, float, boolean); |
| 2374 | method public boolean dispatchNestedPreFling(float, float); |
| 2375 | method public boolean dispatchNestedPreScroll(int, int, int[]?, int[]?); |
| 2376 | method public boolean dispatchNestedScroll(int, int, int, int, int[]?); |
| 2377 | method public boolean hasNestedScrollingParent(); |
| 2378 | method public boolean isNestedScrollingEnabled(); |
| 2379 | method public void setNestedScrollingEnabled(boolean); |
| 2380 | method public boolean startNestedScroll(int); |
| 2381 | method public void stopNestedScroll(); |
| 2382 | } |
| 2383 | |
| 2384 | public interface NestedScrollingChild2 extends androidx.core.view.NestedScrollingChild { |
| 2385 | method public boolean dispatchNestedPreScroll(int, int, int[]?, int[]?, int); |
| 2386 | method public boolean dispatchNestedScroll(int, int, int, int, int[]?, int); |
| 2387 | method public boolean hasNestedScrollingParent(int); |
| 2388 | method public boolean startNestedScroll(int, int); |
| 2389 | method public void stopNestedScroll(int); |
| 2390 | } |
| 2391 | |
| 2392 | public interface NestedScrollingChild3 extends androidx.core.view.NestedScrollingChild2 { |
| 2393 | method public void dispatchNestedScroll(int, int, int, int, int[]?, int, int[]); |
| 2394 | } |
| 2395 | |
| 2396 | public class NestedScrollingChildHelper { |
| 2397 | ctor public NestedScrollingChildHelper(android.view.View); |
| 2398 | method public boolean dispatchNestedFling(float, float, boolean); |
| 2399 | method public boolean dispatchNestedPreFling(float, float); |
| 2400 | method public boolean dispatchNestedPreScroll(int, int, int[]?, int[]?); |
| 2401 | method public boolean dispatchNestedPreScroll(int, int, int[]?, int[]?, int); |
| 2402 | method public boolean dispatchNestedScroll(int, int, int, int, int[]?); |
| 2403 | method public boolean dispatchNestedScroll(int, int, int, int, int[]?, int); |
| 2404 | method public void dispatchNestedScroll(int, int, int, int, int[]?, int, int[]?); |
| 2405 | method public boolean hasNestedScrollingParent(); |
| 2406 | method public boolean hasNestedScrollingParent(int); |
| 2407 | method public boolean isNestedScrollingEnabled(); |
| 2408 | method public void onDetachedFromWindow(); |
| 2409 | method public void onStopNestedScroll(android.view.View); |
| 2410 | method public void setNestedScrollingEnabled(boolean); |
| 2411 | method public boolean startNestedScroll(int); |
| 2412 | method public boolean startNestedScroll(int, int); |
| 2413 | method public void stopNestedScroll(); |
| 2414 | method public void stopNestedScroll(int); |
| 2415 | } |
| 2416 | |
| 2417 | public interface NestedScrollingParent { |
| 2418 | method public int getNestedScrollAxes(); |
| 2419 | method public boolean onNestedFling(android.view.View, float, float, boolean); |
| 2420 | method public boolean onNestedPreFling(android.view.View, float, float); |
| 2421 | method public void onNestedPreScroll(android.view.View, int, int, int[]); |
| 2422 | method public void onNestedScroll(android.view.View, int, int, int, int); |
| 2423 | method public void onNestedScrollAccepted(android.view.View, android.view.View, int); |
| 2424 | method public boolean onStartNestedScroll(android.view.View, android.view.View, int); |
| 2425 | method public void onStopNestedScroll(android.view.View); |
| 2426 | } |
| 2427 | |
| 2428 | public interface NestedScrollingParent2 extends androidx.core.view.NestedScrollingParent { |
| 2429 | method public void onNestedPreScroll(android.view.View, int, int, int[], int); |
| 2430 | method public void onNestedScroll(android.view.View, int, int, int, int, int); |
| 2431 | method public void onNestedScrollAccepted(android.view.View, android.view.View, int, int); |
| 2432 | method public boolean onStartNestedScroll(android.view.View, android.view.View, int, int); |
| 2433 | method public void onStopNestedScroll(android.view.View, int); |
| 2434 | } |
| 2435 | |
| 2436 | public interface NestedScrollingParent3 extends androidx.core.view.NestedScrollingParent2 { |
| 2437 | method public void onNestedScroll(android.view.View, int, int, int, int, int, int[]); |
| 2438 | } |
| 2439 | |
| 2440 | public class NestedScrollingParentHelper { |
| 2441 | ctor public NestedScrollingParentHelper(android.view.ViewGroup); |
| 2442 | method public int getNestedScrollAxes(); |
| 2443 | method public void onNestedScrollAccepted(android.view.View, android.view.View, int); |
| 2444 | method public void onNestedScrollAccepted(android.view.View, android.view.View, int, int); |
| 2445 | method public void onStopNestedScroll(android.view.View); |
| 2446 | method public void onStopNestedScroll(android.view.View, int); |
| 2447 | } |
| 2448 | |
| 2449 | public interface OnApplyWindowInsetsListener { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2450 | method public androidx.core.view.WindowInsetsCompat onApplyWindowInsets(android.view.View, androidx.core.view.WindowInsetsCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2451 | } |
| 2452 | |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2453 | public interface OnReceiveContentListener { |
| 2454 | method public androidx.core.view.ContentInfoCompat? onReceiveContent(android.view.View, androidx.core.view.ContentInfoCompat); |
| 2455 | } |
| 2456 | |
| 2457 | public interface OnReceiveContentViewBehavior { |
| 2458 | method public androidx.core.view.ContentInfoCompat? onReceiveContent(androidx.core.view.ContentInfoCompat); |
Nikita Dubrovsky | 7758f9f | 2020-11-13 15:47:10 -0800 | [diff] [blame] | 2459 | } |
| 2460 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2461 | public final class OneShotPreDrawListener implements android.view.View.OnAttachStateChangeListener android.view.ViewTreeObserver.OnPreDrawListener { |
| 2462 | method public static androidx.core.view.OneShotPreDrawListener add(android.view.View, Runnable); |
| 2463 | method public boolean onPreDraw(); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2464 | method public void onViewAttachedToWindow(android.view.View); |
| 2465 | method public void onViewDetachedFromWindow(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2466 | method public void removeListener(); |
| 2467 | } |
| 2468 | |
| 2469 | public final class PointerIconCompat { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2470 | method public static androidx.core.view.PointerIconCompat create(android.graphics.Bitmap, float, float); |
| 2471 | method public static androidx.core.view.PointerIconCompat getSystemIcon(android.content.Context, int); |
| 2472 | method public static androidx.core.view.PointerIconCompat load(android.content.res.Resources, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2473 | field public static final int TYPE_ALIAS = 1010; // 0x3f2 |
| 2474 | field public static final int TYPE_ALL_SCROLL = 1013; // 0x3f5 |
| 2475 | field public static final int TYPE_ARROW = 1000; // 0x3e8 |
| 2476 | field public static final int TYPE_CELL = 1006; // 0x3ee |
| 2477 | field public static final int TYPE_CONTEXT_MENU = 1001; // 0x3e9 |
| 2478 | field public static final int TYPE_COPY = 1011; // 0x3f3 |
| 2479 | field public static final int TYPE_CROSSHAIR = 1007; // 0x3ef |
| 2480 | field public static final int TYPE_DEFAULT = 1000; // 0x3e8 |
| 2481 | field public static final int TYPE_GRAB = 1020; // 0x3fc |
| 2482 | field public static final int TYPE_GRABBING = 1021; // 0x3fd |
| 2483 | field public static final int TYPE_HAND = 1002; // 0x3ea |
| 2484 | field public static final int TYPE_HELP = 1003; // 0x3eb |
| 2485 | field public static final int TYPE_HORIZONTAL_DOUBLE_ARROW = 1014; // 0x3f6 |
| 2486 | field public static final int TYPE_NO_DROP = 1012; // 0x3f4 |
| 2487 | field public static final int TYPE_NULL = 0; // 0x0 |
| 2488 | field public static final int TYPE_TEXT = 1008; // 0x3f0 |
| 2489 | field public static final int TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW = 1017; // 0x3f9 |
| 2490 | field public static final int TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW = 1016; // 0x3f8 |
| 2491 | field public static final int TYPE_VERTICAL_DOUBLE_ARROW = 1015; // 0x3f7 |
| 2492 | field public static final int TYPE_VERTICAL_TEXT = 1009; // 0x3f1 |
| 2493 | field public static final int TYPE_WAIT = 1004; // 0x3ec |
| 2494 | field public static final int TYPE_ZOOM_IN = 1018; // 0x3fa |
| 2495 | field public static final int TYPE_ZOOM_OUT = 1019; // 0x3fb |
| 2496 | } |
| 2497 | |
| 2498 | public final class ScaleGestureDetectorCompat { |
| 2499 | method @Deprecated public static boolean isQuickScaleEnabled(Object!); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2500 | method public static boolean isQuickScaleEnabled(android.view.ScaleGestureDetector); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2501 | method @Deprecated public static void setQuickScaleEnabled(Object!, boolean); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2502 | method public static void setQuickScaleEnabled(android.view.ScaleGestureDetector, boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2503 | } |
| 2504 | |
| 2505 | public interface ScrollingView { |
| 2506 | method public int computeHorizontalScrollExtent(); |
| 2507 | method public int computeHorizontalScrollOffset(); |
| 2508 | method public int computeHorizontalScrollRange(); |
| 2509 | method public int computeVerticalScrollExtent(); |
| 2510 | method public int computeVerticalScrollOffset(); |
| 2511 | method public int computeVerticalScrollRange(); |
| 2512 | } |
| 2513 | |
| 2514 | public interface TintableBackgroundView { |
| 2515 | method public android.content.res.ColorStateList? getSupportBackgroundTintList(); |
| 2516 | method public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode(); |
| 2517 | method public void setSupportBackgroundTintList(android.content.res.ColorStateList?); |
| 2518 | method public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?); |
| 2519 | } |
| 2520 | |
| 2521 | @Deprecated public final class VelocityTrackerCompat { |
| 2522 | method @Deprecated public static float getXVelocity(android.view.VelocityTracker!, int); |
| 2523 | method @Deprecated public static float getYVelocity(android.view.VelocityTracker!, int); |
| 2524 | } |
| 2525 | |
| 2526 | public class ViewCompat { |
Vadim Caen | 0c9caf6 | 2020-09-07 15:40:48 +0200 | [diff] [blame] | 2527 | ctor @Deprecated protected ViewCompat(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2528 | method public static int addAccessibilityAction(android.view.View, CharSequence, androidx.core.view.accessibility.AccessibilityViewCommand); |
| 2529 | method public static void addKeyboardNavigationClusters(android.view.View, java.util.Collection<android.view.View!>, int); |
| 2530 | method public static void addOnUnhandledKeyEventListener(android.view.View, androidx.core.view.ViewCompat.OnUnhandledKeyEventListenerCompat); |
| 2531 | method public static androidx.core.view.ViewPropertyAnimatorCompat animate(android.view.View); |
| 2532 | method @Deprecated public static boolean canScrollHorizontally(android.view.View!, int); |
| 2533 | method @Deprecated public static boolean canScrollVertically(android.view.View!, int); |
| 2534 | method public static void cancelDragAndDrop(android.view.View); |
| 2535 | method @Deprecated public static int combineMeasuredStates(int, int); |
Chris Banes | 14c677a | 2020-03-11 18:46:25 +0000 | [diff] [blame] | 2536 | method public static androidx.core.view.WindowInsetsCompat computeSystemWindowInsets(android.view.View, androidx.core.view.WindowInsetsCompat, android.graphics.Rect); |
Chris Banes | 2f0c5b0 | 2020-03-23 11:04:37 +0000 | [diff] [blame] | 2537 | method public static androidx.core.view.WindowInsetsCompat dispatchApplyWindowInsets(android.view.View, androidx.core.view.WindowInsetsCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2538 | method public static void dispatchFinishTemporaryDetach(android.view.View); |
| 2539 | method public static boolean dispatchNestedFling(android.view.View, float, float, boolean); |
| 2540 | method public static boolean dispatchNestedPreFling(android.view.View, float, float); |
| 2541 | method public static boolean dispatchNestedPreScroll(android.view.View, int, int, int[]?, int[]?); |
| 2542 | method public static boolean dispatchNestedPreScroll(android.view.View, int, int, int[]?, int[]?, int); |
| 2543 | method public static boolean dispatchNestedScroll(android.view.View, int, int, int, int, int[]?); |
| 2544 | method public static void dispatchNestedScroll(android.view.View, int, int, int, int, int[]?, int, int[]); |
| 2545 | method public static boolean dispatchNestedScroll(android.view.View, int, int, int, int, int[]?, int); |
| 2546 | method public static void dispatchStartTemporaryDetach(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2547 | method public static void enableAccessibleClickableSpanSupport(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2548 | method public static int generateViewId(); |
| 2549 | method public static androidx.core.view.AccessibilityDelegateCompat? getAccessibilityDelegate(android.view.View); |
| 2550 | method public static int getAccessibilityLiveRegion(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2551 | method public static androidx.core.view.accessibility.AccessibilityNodeProviderCompat? getAccessibilityNodeProvider(android.view.View); |
| 2552 | method @UiThread public static CharSequence? getAccessibilityPaneTitle(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2553 | method @Deprecated public static float getAlpha(android.view.View!); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2554 | method public static android.content.res.ColorStateList? getBackgroundTintList(android.view.View); |
| 2555 | method public static android.graphics.PorterDuff.Mode? getBackgroundTintMode(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2556 | method public static android.graphics.Rect? getClipBounds(android.view.View); |
| 2557 | method public static android.view.Display? getDisplay(android.view.View); |
| 2558 | method public static float getElevation(android.view.View); |
| 2559 | method public static boolean getFitsSystemWindows(android.view.View); |
| 2560 | method public static int getImportantForAccessibility(android.view.View); |
| 2561 | method public static int getImportantForAutofill(android.view.View); |
| 2562 | method public static int getLabelFor(android.view.View); |
| 2563 | method @Deprecated public static int getLayerType(android.view.View!); |
| 2564 | method public static int getLayoutDirection(android.view.View); |
| 2565 | method @Deprecated public static android.graphics.Matrix? getMatrix(android.view.View!); |
| 2566 | method @Deprecated public static int getMeasuredHeightAndState(android.view.View!); |
| 2567 | method @Deprecated public static int getMeasuredState(android.view.View!); |
| 2568 | method @Deprecated public static int getMeasuredWidthAndState(android.view.View!); |
| 2569 | method public static int getMinimumHeight(android.view.View); |
| 2570 | method public static int getMinimumWidth(android.view.View); |
| 2571 | method public static int getNextClusterForwardId(android.view.View); |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2572 | method public static String![]? getOnReceiveContentMimeTypes(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2573 | method @Deprecated public static int getOverScrollMode(android.view.View!); |
| 2574 | method @Px public static int getPaddingEnd(android.view.View); |
| 2575 | method @Px public static int getPaddingStart(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2576 | method public static android.view.ViewParent? getParentForAccessibility(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2577 | method @Deprecated public static float getPivotX(android.view.View!); |
| 2578 | method @Deprecated public static float getPivotY(android.view.View!); |
Alan Viverette | dd5cdb4 | 2020-02-03 14:20:02 -0500 | [diff] [blame] | 2579 | method public static androidx.core.view.WindowInsetsCompat? getRootWindowInsets(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2580 | method @Deprecated public static float getRotation(android.view.View!); |
| 2581 | method @Deprecated public static float getRotationX(android.view.View!); |
| 2582 | method @Deprecated public static float getRotationY(android.view.View!); |
| 2583 | method @Deprecated public static float getScaleX(android.view.View!); |
| 2584 | method @Deprecated public static float getScaleY(android.view.View!); |
| 2585 | method public static int getScrollIndicators(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2586 | method @UiThread public static CharSequence? getStateDescription(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2587 | method public static java.util.List<android.graphics.Rect!> getSystemGestureExclusionRects(android.view.View); |
| 2588 | method public static String? getTransitionName(android.view.View); |
| 2589 | method @Deprecated public static float getTranslationX(android.view.View!); |
| 2590 | method @Deprecated public static float getTranslationY(android.view.View!); |
| 2591 | method public static float getTranslationZ(android.view.View); |
Vadim Caen | 3f4c39c | 2020-07-08 18:01:19 +0200 | [diff] [blame] | 2592 | method public static androidx.core.view.WindowInsetsControllerCompat? getWindowInsetsController(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2593 | method @Deprecated public static int getWindowSystemUiVisibility(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2594 | method @Deprecated public static float getX(android.view.View!); |
| 2595 | method @Deprecated public static float getY(android.view.View!); |
| 2596 | method public static float getZ(android.view.View); |
| 2597 | method public static boolean hasAccessibilityDelegate(android.view.View); |
| 2598 | method public static boolean hasExplicitFocusable(android.view.View); |
| 2599 | method public static boolean hasNestedScrollingParent(android.view.View); |
| 2600 | method public static boolean hasNestedScrollingParent(android.view.View, int); |
| 2601 | method public static boolean hasOnClickListeners(android.view.View); |
| 2602 | method public static boolean hasOverlappingRendering(android.view.View); |
| 2603 | method public static boolean hasTransientState(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2604 | method @UiThread public static boolean isAccessibilityHeading(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2605 | method public static boolean isAttachedToWindow(android.view.View); |
| 2606 | method public static boolean isFocusedByDefault(android.view.View); |
| 2607 | method public static boolean isImportantForAccessibility(android.view.View); |
| 2608 | method public static boolean isImportantForAutofill(android.view.View); |
| 2609 | method public static boolean isInLayout(android.view.View); |
| 2610 | method public static boolean isKeyboardNavigationCluster(android.view.View); |
| 2611 | method public static boolean isLaidOut(android.view.View); |
| 2612 | method public static boolean isLayoutDirectionResolved(android.view.View); |
| 2613 | method public static boolean isNestedScrollingEnabled(android.view.View); |
| 2614 | method @Deprecated public static boolean isOpaque(android.view.View!); |
| 2615 | method public static boolean isPaddingRelative(android.view.View); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2616 | method @UiThread public static boolean isScreenReaderFocusable(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2617 | method @Deprecated public static void jumpDrawablesToCurrentState(android.view.View!); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2618 | method public static android.view.View? keyboardNavigationClusterSearch(android.view.View, android.view.View?, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2619 | method public static void offsetLeftAndRight(android.view.View, int); |
| 2620 | method public static void offsetTopAndBottom(android.view.View, int); |
Chris Banes | 2f0c5b0 | 2020-03-23 11:04:37 +0000 | [diff] [blame] | 2621 | method public static androidx.core.view.WindowInsetsCompat onApplyWindowInsets(android.view.View, androidx.core.view.WindowInsetsCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2622 | method @Deprecated public static void onInitializeAccessibilityEvent(android.view.View!, android.view.accessibility.AccessibilityEvent!); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2623 | method public static void onInitializeAccessibilityNodeInfo(android.view.View, androidx.core.view.accessibility.AccessibilityNodeInfoCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2624 | method @Deprecated public static void onPopulateAccessibilityEvent(android.view.View!, android.view.accessibility.AccessibilityEvent!); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2625 | method public static boolean performAccessibilityAction(android.view.View, int, android.os.Bundle?); |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2626 | method public static androidx.core.view.ContentInfoCompat? performReceiveContent(android.view.View, androidx.core.view.ContentInfoCompat); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2627 | method public static void postInvalidateOnAnimation(android.view.View); |
| 2628 | method public static void postInvalidateOnAnimation(android.view.View, int, int, int, int); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2629 | method public static void postOnAnimation(android.view.View, Runnable); |
| 2630 | method public static void postOnAnimationDelayed(android.view.View, Runnable, long); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2631 | method public static void removeAccessibilityAction(android.view.View, int); |
| 2632 | method public static void removeOnUnhandledKeyEventListener(android.view.View, androidx.core.view.ViewCompat.OnUnhandledKeyEventListenerCompat); |
| 2633 | method public static void replaceAccessibilityAction(android.view.View, androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat, CharSequence?, androidx.core.view.accessibility.AccessibilityViewCommand?); |
| 2634 | method public static void requestApplyInsets(android.view.View); |
| 2635 | method public static <T extends android.view.View> T requireViewById(android.view.View, @IdRes int); |
| 2636 | method @Deprecated public static int resolveSizeAndState(int, int, int); |
| 2637 | method public static boolean restoreDefaultFocus(android.view.View); |
Aurimas Liutikas | b4f0849 | 2019-09-05 16:06:50 -0700 | [diff] [blame] | 2638 | method public static void saveAttributeDataForStyleable(android.view.View, android.content.Context, int[], android.util.AttributeSet?, android.content.res.TypedArray, int, int); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2639 | method public static void setAccessibilityDelegate(android.view.View, androidx.core.view.AccessibilityDelegateCompat?); |
| 2640 | method @UiThread public static void setAccessibilityHeading(android.view.View, boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2641 | method public static void setAccessibilityLiveRegion(android.view.View, int); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2642 | method @UiThread public static void setAccessibilityPaneTitle(android.view.View, CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2643 | method @Deprecated public static void setActivated(android.view.View!, boolean); |
| 2644 | method @Deprecated public static void setAlpha(android.view.View!, @FloatRange(from=0.0, to=1.0) float); |
| 2645 | method public static void setAutofillHints(android.view.View, java.lang.String!...); |
| 2646 | method public static void setBackground(android.view.View, android.graphics.drawable.Drawable?); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2647 | method public static void setBackgroundTintList(android.view.View, android.content.res.ColorStateList?); |
| 2648 | method public static void setBackgroundTintMode(android.view.View, android.graphics.PorterDuff.Mode?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2649 | method @Deprecated public static void setChildrenDrawingOrderEnabled(android.view.ViewGroup!, boolean); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2650 | method public static void setClipBounds(android.view.View, android.graphics.Rect?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2651 | method public static void setElevation(android.view.View, float); |
| 2652 | method @Deprecated public static void setFitsSystemWindows(android.view.View!, boolean); |
| 2653 | method public static void setFocusedByDefault(android.view.View, boolean); |
| 2654 | method public static void setHasTransientState(android.view.View, boolean); |
Alan Viverette | 1035128 | 2021-08-04 17:05:29 -0400 | [diff] [blame] | 2655 | method @UiThread public static void setImportantForAccessibility(android.view.View, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2656 | method public static void setImportantForAutofill(android.view.View, int); |
| 2657 | method public static void setKeyboardNavigationCluster(android.view.View, boolean); |
| 2658 | method public static void setLabelFor(android.view.View, @IdRes int); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2659 | method public static void setLayerPaint(android.view.View, android.graphics.Paint?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2660 | method @Deprecated public static void setLayerType(android.view.View!, int, android.graphics.Paint!); |
| 2661 | method public static void setLayoutDirection(android.view.View, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2662 | method public static void setNestedScrollingEnabled(android.view.View, boolean); |
| 2663 | method public static void setNextClusterForwardId(android.view.View, int); |
Chris Banes | 2f0c5b0 | 2020-03-23 11:04:37 +0000 | [diff] [blame] | 2664 | method public static void setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener?); |
Nikita Dubrovsky | c2c4ba5 | 2020-11-20 16:26:01 -0800 | [diff] [blame] | 2665 | method public static void setOnReceiveContentListener(android.view.View, String![]?, androidx.core.view.OnReceiveContentListener?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2666 | method @Deprecated public static void setOverScrollMode(android.view.View!, int); |
| 2667 | method public static void setPaddingRelative(android.view.View, @Px int, @Px int, @Px int, @Px int); |
| 2668 | method @Deprecated public static void setPivotX(android.view.View!, float); |
| 2669 | method @Deprecated public static void setPivotY(android.view.View!, float); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2670 | method public static void setPointerIcon(android.view.View, androidx.core.view.PointerIconCompat?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2671 | method @Deprecated public static void setRotation(android.view.View!, float); |
| 2672 | method @Deprecated public static void setRotationX(android.view.View!, float); |
| 2673 | method @Deprecated public static void setRotationY(android.view.View!, float); |
| 2674 | method @Deprecated public static void setSaveFromParentEnabled(android.view.View!, boolean); |
| 2675 | method @Deprecated public static void setScaleX(android.view.View!, float); |
| 2676 | method @Deprecated public static void setScaleY(android.view.View!, float); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2677 | method @UiThread public static void setScreenReaderFocusable(android.view.View, boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2678 | method public static void setScrollIndicators(android.view.View, int); |
| 2679 | method public static void setScrollIndicators(android.view.View, int, int); |
yingleiw | 1d5ca64 | 2019-10-02 16:38:46 -0700 | [diff] [blame] | 2680 | method @UiThread public static void setStateDescription(android.view.View, CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2681 | method public static void setSystemGestureExclusionRects(android.view.View, java.util.List<android.graphics.Rect!>); |
| 2682 | method public static void setTooltipText(android.view.View, CharSequence?); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2683 | method public static void setTransitionName(android.view.View, String?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2684 | method @Deprecated public static void setTranslationX(android.view.View!, float); |
| 2685 | method @Deprecated public static void setTranslationY(android.view.View!, float); |
| 2686 | method public static void setTranslationZ(android.view.View, float); |
Vadim Caen | 45f503e | 2020-09-08 17:13:32 +0200 | [diff] [blame] | 2687 | method public static void setWindowInsetsAnimationCallback(android.view.View, androidx.core.view.WindowInsetsAnimationCompat.Callback?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2688 | method @Deprecated public static void setX(android.view.View!, float); |
| 2689 | method @Deprecated public static void setY(android.view.View!, float); |
| 2690 | method public static void setZ(android.view.View, float); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2691 | method public static boolean startDragAndDrop(android.view.View, android.content.ClipData?, android.view.View.DragShadowBuilder, Object?, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2692 | method public static boolean startNestedScroll(android.view.View, int); |
| 2693 | method public static boolean startNestedScroll(android.view.View, int, int); |
| 2694 | method public static void stopNestedScroll(android.view.View); |
| 2695 | method public static void stopNestedScroll(android.view.View, int); |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2696 | method public static void updateDragShadow(android.view.View, android.view.View.DragShadowBuilder); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2697 | field public static final int ACCESSIBILITY_LIVE_REGION_ASSERTIVE = 2; // 0x2 |
| 2698 | field public static final int ACCESSIBILITY_LIVE_REGION_NONE = 0; // 0x0 |
| 2699 | field public static final int ACCESSIBILITY_LIVE_REGION_POLITE = 1; // 0x1 |
| 2700 | field public static final int IMPORTANT_FOR_ACCESSIBILITY_AUTO = 0; // 0x0 |
| 2701 | field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO = 2; // 0x2 |
| 2702 | field public static final int IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS = 4; // 0x4 |
| 2703 | field public static final int IMPORTANT_FOR_ACCESSIBILITY_YES = 1; // 0x1 |
| 2704 | field @Deprecated public static final int LAYER_TYPE_HARDWARE = 2; // 0x2 |
| 2705 | field @Deprecated public static final int LAYER_TYPE_NONE = 0; // 0x0 |
| 2706 | field @Deprecated public static final int LAYER_TYPE_SOFTWARE = 1; // 0x1 |
| 2707 | field public static final int LAYOUT_DIRECTION_INHERIT = 2; // 0x2 |
| 2708 | field public static final int LAYOUT_DIRECTION_LOCALE = 3; // 0x3 |
| 2709 | field public static final int LAYOUT_DIRECTION_LTR = 0; // 0x0 |
| 2710 | field public static final int LAYOUT_DIRECTION_RTL = 1; // 0x1 |
| 2711 | field @Deprecated public static final int MEASURED_HEIGHT_STATE_SHIFT = 16; // 0x10 |
| 2712 | field @Deprecated public static final int MEASURED_SIZE_MASK = 16777215; // 0xffffff |
| 2713 | field @Deprecated public static final int MEASURED_STATE_MASK = -16777216; // 0xff000000 |
| 2714 | field @Deprecated public static final int MEASURED_STATE_TOO_SMALL = 16777216; // 0x1000000 |
| 2715 | field @Deprecated public static final int OVER_SCROLL_ALWAYS = 0; // 0x0 |
| 2716 | field @Deprecated public static final int OVER_SCROLL_IF_CONTENT_SCROLLS = 1; // 0x1 |
| 2717 | field @Deprecated public static final int OVER_SCROLL_NEVER = 2; // 0x2 |
| 2718 | field public static final int SCROLL_AXIS_HORIZONTAL = 1; // 0x1 |
| 2719 | field public static final int SCROLL_AXIS_NONE = 0; // 0x0 |
| 2720 | field public static final int SCROLL_AXIS_VERTICAL = 2; // 0x2 |
| 2721 | field public static final int SCROLL_INDICATOR_BOTTOM = 2; // 0x2 |
| 2722 | field public static final int SCROLL_INDICATOR_END = 32; // 0x20 |
| 2723 | field public static final int SCROLL_INDICATOR_LEFT = 4; // 0x4 |
| 2724 | field public static final int SCROLL_INDICATOR_RIGHT = 8; // 0x8 |
| 2725 | field public static final int SCROLL_INDICATOR_START = 16; // 0x10 |
| 2726 | field public static final int SCROLL_INDICATOR_TOP = 1; // 0x1 |
| 2727 | field public static final int TYPE_NON_TOUCH = 1; // 0x1 |
| 2728 | field public static final int TYPE_TOUCH = 0; // 0x0 |
| 2729 | } |
| 2730 | |
| 2731 | public static interface ViewCompat.OnUnhandledKeyEventListenerCompat { |
Alan Viverette | a10c11d | 2021-06-01 16:11:33 -0400 | [diff] [blame] | 2732 | method public boolean onUnhandledKeyEvent(android.view.View, android.view.KeyEvent); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2733 | } |
| 2734 | |
| 2735 | public final class ViewConfigurationCompat { |
| 2736 | method public static float getScaledHorizontalScrollFactor(android.view.ViewConfiguration, android.content.Context); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2737 | method public static int getScaledHoverSlop(android.view.ViewConfiguration); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2738 | method @Deprecated public static int getScaledPagingTouchSlop(android.view.ViewConfiguration!); |
| 2739 | method public static float getScaledVerticalScrollFactor(android.view.ViewConfiguration, android.content.Context); |
| 2740 | method @Deprecated public static boolean hasPermanentMenuKey(android.view.ViewConfiguration!); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2741 | method public static boolean shouldShowMenuShortcutsWhenKeyboardPresent(android.view.ViewConfiguration, android.content.Context); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2742 | } |
| 2743 | |
| 2744 | public final class ViewGroupCompat { |
| 2745 | method public static int getLayoutMode(android.view.ViewGroup); |
| 2746 | method public static int getNestedScrollAxes(android.view.ViewGroup); |
| 2747 | method public static boolean isTransitionGroup(android.view.ViewGroup); |
| 2748 | method @Deprecated public static boolean onRequestSendAccessibilityEvent(android.view.ViewGroup!, android.view.View!, android.view.accessibility.AccessibilityEvent!); |
| 2749 | method public static void setLayoutMode(android.view.ViewGroup, int); |
| 2750 | method @Deprecated public static void setMotionEventSplittingEnabled(android.view.ViewGroup!, boolean); |
| 2751 | method public static void setTransitionGroup(android.view.ViewGroup, boolean); |
| 2752 | field public static final int LAYOUT_MODE_CLIP_BOUNDS = 0; // 0x0 |
| 2753 | field public static final int LAYOUT_MODE_OPTICAL_BOUNDS = 1; // 0x1 |
| 2754 | } |
| 2755 | |
| 2756 | public final class ViewParentCompat { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2757 | method public static void notifySubtreeAccessibilityStateChanged(android.view.ViewParent, android.view.View, android.view.View, int); |
| 2758 | method public static boolean onNestedFling(android.view.ViewParent, android.view.View, float, float, boolean); |
| 2759 | method public static boolean onNestedPreFling(android.view.ViewParent, android.view.View, float, float); |
| 2760 | method public static void onNestedPreScroll(android.view.ViewParent, android.view.View, int, int, int[]); |
| 2761 | method public static void onNestedPreScroll(android.view.ViewParent, android.view.View, int, int, int[], int); |
| 2762 | method public static void onNestedScroll(android.view.ViewParent, android.view.View, int, int, int, int); |
| 2763 | method public static void onNestedScroll(android.view.ViewParent, android.view.View, int, int, int, int, int); |
| 2764 | method public static void onNestedScroll(android.view.ViewParent, android.view.View, int, int, int, int, int, int[]); |
| 2765 | method public static void onNestedScrollAccepted(android.view.ViewParent, android.view.View, android.view.View, int); |
| 2766 | method public static void onNestedScrollAccepted(android.view.ViewParent, android.view.View, android.view.View, int, int); |
| 2767 | method public static boolean onStartNestedScroll(android.view.ViewParent, android.view.View, android.view.View, int); |
| 2768 | method public static boolean onStartNestedScroll(android.view.ViewParent, android.view.View, android.view.View, int, int); |
| 2769 | method public static void onStopNestedScroll(android.view.ViewParent, android.view.View); |
| 2770 | method public static void onStopNestedScroll(android.view.ViewParent, android.view.View, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2771 | method @Deprecated public static boolean requestSendAccessibilityEvent(android.view.ViewParent!, android.view.View!, android.view.accessibility.AccessibilityEvent!); |
| 2772 | } |
| 2773 | |
| 2774 | public final class ViewPropertyAnimatorCompat { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2775 | method public androidx.core.view.ViewPropertyAnimatorCompat alpha(float); |
| 2776 | method public androidx.core.view.ViewPropertyAnimatorCompat alphaBy(float); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2777 | method public void cancel(); |
| 2778 | method public long getDuration(); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2779 | method public android.view.animation.Interpolator? getInterpolator(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2780 | method public long getStartDelay(); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2781 | method public androidx.core.view.ViewPropertyAnimatorCompat rotation(float); |
| 2782 | method public androidx.core.view.ViewPropertyAnimatorCompat rotationBy(float); |
| 2783 | method public androidx.core.view.ViewPropertyAnimatorCompat rotationX(float); |
| 2784 | method public androidx.core.view.ViewPropertyAnimatorCompat rotationXBy(float); |
| 2785 | method public androidx.core.view.ViewPropertyAnimatorCompat rotationY(float); |
| 2786 | method public androidx.core.view.ViewPropertyAnimatorCompat rotationYBy(float); |
| 2787 | method public androidx.core.view.ViewPropertyAnimatorCompat scaleX(float); |
| 2788 | method public androidx.core.view.ViewPropertyAnimatorCompat scaleXBy(float); |
| 2789 | method public androidx.core.view.ViewPropertyAnimatorCompat scaleY(float); |
| 2790 | method public androidx.core.view.ViewPropertyAnimatorCompat scaleYBy(float); |
| 2791 | method public androidx.core.view.ViewPropertyAnimatorCompat setDuration(long); |
| 2792 | method public androidx.core.view.ViewPropertyAnimatorCompat setInterpolator(android.view.animation.Interpolator?); |
| 2793 | method public androidx.core.view.ViewPropertyAnimatorCompat setListener(androidx.core.view.ViewPropertyAnimatorListener?); |
| 2794 | method public androidx.core.view.ViewPropertyAnimatorCompat setStartDelay(long); |
| 2795 | method public androidx.core.view.ViewPropertyAnimatorCompat setUpdateListener(androidx.core.view.ViewPropertyAnimatorUpdateListener?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2796 | method public void start(); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2797 | method public androidx.core.view.ViewPropertyAnimatorCompat translationX(float); |
| 2798 | method public androidx.core.view.ViewPropertyAnimatorCompat translationXBy(float); |
| 2799 | method public androidx.core.view.ViewPropertyAnimatorCompat translationY(float); |
| 2800 | method public androidx.core.view.ViewPropertyAnimatorCompat translationYBy(float); |
| 2801 | method public androidx.core.view.ViewPropertyAnimatorCompat translationZ(float); |
| 2802 | method public androidx.core.view.ViewPropertyAnimatorCompat translationZBy(float); |
| 2803 | method public androidx.core.view.ViewPropertyAnimatorCompat withEndAction(Runnable); |
| 2804 | method public androidx.core.view.ViewPropertyAnimatorCompat withLayer(); |
| 2805 | method public androidx.core.view.ViewPropertyAnimatorCompat withStartAction(Runnable); |
| 2806 | method public androidx.core.view.ViewPropertyAnimatorCompat x(float); |
| 2807 | method public androidx.core.view.ViewPropertyAnimatorCompat xBy(float); |
| 2808 | method public androidx.core.view.ViewPropertyAnimatorCompat y(float); |
| 2809 | method public androidx.core.view.ViewPropertyAnimatorCompat yBy(float); |
| 2810 | method public androidx.core.view.ViewPropertyAnimatorCompat z(float); |
| 2811 | method public androidx.core.view.ViewPropertyAnimatorCompat zBy(float); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2812 | } |
| 2813 | |
| 2814 | public interface ViewPropertyAnimatorListener { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2815 | method public void onAnimationCancel(android.view.View); |
| 2816 | method public void onAnimationEnd(android.view.View); |
| 2817 | method public void onAnimationStart(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2818 | } |
| 2819 | |
| 2820 | public class ViewPropertyAnimatorListenerAdapter implements androidx.core.view.ViewPropertyAnimatorListener { |
| 2821 | ctor public ViewPropertyAnimatorListenerAdapter(); |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2822 | method public void onAnimationCancel(android.view.View); |
| 2823 | method public void onAnimationEnd(android.view.View); |
| 2824 | method public void onAnimationStart(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2825 | } |
| 2826 | |
| 2827 | public interface ViewPropertyAnimatorUpdateListener { |
Alan Viverette | cb04420 | 2021-11-12 12:29:24 -0500 | [diff] [blame] | 2828 | method public void onAnimationUpdate(android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2829 | } |
| 2830 | |
| 2831 | public final class WindowCompat { |
Vadim Caen | 3f4c39c | 2020-07-08 18:01:19 +0200 | [diff] [blame] | 2832 | method public static androidx.core.view.WindowInsetsControllerCompat? getInsetsController(android.view.Window, android.view.View); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2833 | method public static <T extends android.view.View> T requireViewById(android.view.Window, @IdRes int); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2834 | method public static void setDecorFitsSystemWindows(android.view.Window, boolean); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2835 | field public static final int FEATURE_ACTION_BAR = 8; // 0x8 |
| 2836 | field public static final int FEATURE_ACTION_BAR_OVERLAY = 9; // 0x9 |
| 2837 | field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa |
| 2838 | } |
| 2839 | |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2840 | public final class WindowInsetsAnimationCompat { |
| 2841 | ctor public WindowInsetsAnimationCompat(int, android.view.animation.Interpolator?, long); |
| 2842 | method @FloatRange(from=0.0f, to=1.0f) public float getAlpha(); |
| 2843 | method public long getDurationMillis(); |
| 2844 | method @FloatRange(from=0.0f, to=1.0f) public float getFraction(); |
| 2845 | method public float getInterpolatedFraction(); |
| 2846 | method public android.view.animation.Interpolator? getInterpolator(); |
| 2847 | method public int getTypeMask(); |
| 2848 | method public void setAlpha(@FloatRange(from=0.0f, to=1.0f) float); |
| 2849 | method public void setFraction(@FloatRange(from=0.0f, to=1.0f) float); |
| 2850 | } |
| 2851 | |
Vadim Caen | c6c00e0 | 2021-01-06 15:40:04 +0100 | [diff] [blame] | 2852 | public static final class WindowInsetsAnimationCompat.BoundsCompat { |
| 2853 | ctor public WindowInsetsAnimationCompat.BoundsCompat(androidx.core.graphics.Insets, androidx.core.graphics.Insets); |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2854 | method public androidx.core.graphics.Insets getLowerBound(); |
| 2855 | method public androidx.core.graphics.Insets getUpperBound(); |
Vadim Caen | c6c00e0 | 2021-01-06 15:40:04 +0100 | [diff] [blame] | 2856 | method public androidx.core.view.WindowInsetsAnimationCompat.BoundsCompat inset(androidx.core.graphics.Insets); |
| 2857 | method @RequiresApi(30) public android.view.WindowInsetsAnimation.Bounds toBounds(); |
| 2858 | method @RequiresApi(30) public static androidx.core.view.WindowInsetsAnimationCompat.BoundsCompat toBoundsCompat(android.view.WindowInsetsAnimation.Bounds); |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2859 | } |
| 2860 | |
| 2861 | public abstract static class WindowInsetsAnimationCompat.Callback { |
| 2862 | ctor public WindowInsetsAnimationCompat.Callback(int); |
| 2863 | method public final int getDispatchMode(); |
| 2864 | method public void onEnd(androidx.core.view.WindowInsetsAnimationCompat); |
| 2865 | method public void onPrepare(androidx.core.view.WindowInsetsAnimationCompat); |
| 2866 | method public abstract androidx.core.view.WindowInsetsCompat onProgress(androidx.core.view.WindowInsetsCompat, java.util.List<androidx.core.view.WindowInsetsAnimationCompat!>); |
Vadim Caen | c6c00e0 | 2021-01-06 15:40:04 +0100 | [diff] [blame] | 2867 | method public androidx.core.view.WindowInsetsAnimationCompat.BoundsCompat onStart(androidx.core.view.WindowInsetsAnimationCompat, androidx.core.view.WindowInsetsAnimationCompat.BoundsCompat); |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2868 | field public static final int DISPATCH_MODE_CONTINUE_ON_SUBTREE = 1; // 0x1 |
| 2869 | field public static final int DISPATCH_MODE_STOP = 0; // 0x0 |
| 2870 | } |
| 2871 | |
| 2872 | public interface WindowInsetsAnimationControlListenerCompat { |
| 2873 | method public void onCancelled(androidx.core.view.WindowInsetsAnimationControllerCompat?); |
| 2874 | method public void onFinished(androidx.core.view.WindowInsetsAnimationControllerCompat); |
| 2875 | method public void onReady(androidx.core.view.WindowInsetsAnimationControllerCompat, int); |
| 2876 | } |
| 2877 | |
| 2878 | public final class WindowInsetsAnimationControllerCompat { |
| 2879 | method public void finish(boolean); |
| 2880 | method public float getCurrentAlpha(); |
| 2881 | method @FloatRange(from=0.0f, to=1.0f) public float getCurrentFraction(); |
| 2882 | method public androidx.core.graphics.Insets getCurrentInsets(); |
| 2883 | method public androidx.core.graphics.Insets getHiddenStateInsets(); |
| 2884 | method public androidx.core.graphics.Insets getShownStateInsets(); |
| 2885 | method public int getTypes(); |
| 2886 | method public boolean isCancelled(); |
| 2887 | method public boolean isFinished(); |
| 2888 | method public boolean isReady(); |
| 2889 | method public void setInsetsAndAlpha(androidx.core.graphics.Insets?, @FloatRange(from=0.0f, to=1.0f) float, @FloatRange(from=0.0f, to=1.0f) float); |
| 2890 | } |
| 2891 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2892 | public class WindowInsetsCompat { |
Chris Banes | b517ae4 | 2019-12-05 10:53:46 +1100 | [diff] [blame] | 2893 | ctor public WindowInsetsCompat(androidx.core.view.WindowInsetsCompat?); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2894 | method @Deprecated public androidx.core.view.WindowInsetsCompat consumeDisplayCutout(); |
| 2895 | method @Deprecated public androidx.core.view.WindowInsetsCompat consumeStableInsets(); |
| 2896 | method @Deprecated public androidx.core.view.WindowInsetsCompat consumeSystemWindowInsets(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2897 | method public androidx.core.view.DisplayCutoutCompat? getDisplayCutout(); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2898 | method public androidx.core.graphics.Insets getInsets(int); |
| 2899 | method public androidx.core.graphics.Insets getInsetsIgnoringVisibility(int); |
| 2900 | method @Deprecated public androidx.core.graphics.Insets getMandatorySystemGestureInsets(); |
| 2901 | method @Deprecated public int getStableInsetBottom(); |
| 2902 | method @Deprecated public int getStableInsetLeft(); |
| 2903 | method @Deprecated public int getStableInsetRight(); |
| 2904 | method @Deprecated public int getStableInsetTop(); |
| 2905 | method @Deprecated public androidx.core.graphics.Insets getStableInsets(); |
| 2906 | method @Deprecated public androidx.core.graphics.Insets getSystemGestureInsets(); |
| 2907 | method @Deprecated public int getSystemWindowInsetBottom(); |
| 2908 | method @Deprecated public int getSystemWindowInsetLeft(); |
| 2909 | method @Deprecated public int getSystemWindowInsetRight(); |
| 2910 | method @Deprecated public int getSystemWindowInsetTop(); |
| 2911 | method @Deprecated public androidx.core.graphics.Insets getSystemWindowInsets(); |
| 2912 | method @Deprecated public androidx.core.graphics.Insets getTappableElementInsets(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2913 | method public boolean hasInsets(); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2914 | method @Deprecated public boolean hasStableInsets(); |
| 2915 | method @Deprecated public boolean hasSystemWindowInsets(); |
Chris Banes | 14c677a | 2020-03-11 18:46:25 +0000 | [diff] [blame] | 2916 | method public androidx.core.view.WindowInsetsCompat inset(androidx.core.graphics.Insets); |
| 2917 | method public androidx.core.view.WindowInsetsCompat inset(@IntRange(from=0) int, @IntRange(from=0) int, @IntRange(from=0) int, @IntRange(from=0) int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2918 | method public boolean isConsumed(); |
| 2919 | method public boolean isRound(); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2920 | method public boolean isVisible(int); |
Chris Banes | 14c677a | 2020-03-11 18:46:25 +0000 | [diff] [blame] | 2921 | method @Deprecated public androidx.core.view.WindowInsetsCompat replaceSystemWindowInsets(int, int, int, int); |
| 2922 | method @Deprecated public androidx.core.view.WindowInsetsCompat replaceSystemWindowInsets(android.graphics.Rect); |
Chris Banes | 2f0c5b0 | 2020-03-23 11:04:37 +0000 | [diff] [blame] | 2923 | method @RequiresApi(20) public android.view.WindowInsets? toWindowInsets(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2924 | method @RequiresApi(20) public static androidx.core.view.WindowInsetsCompat toWindowInsetsCompat(android.view.WindowInsets); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2925 | method @RequiresApi(20) public static androidx.core.view.WindowInsetsCompat toWindowInsetsCompat(android.view.WindowInsets, android.view.View?); |
| 2926 | field public static final androidx.core.view.WindowInsetsCompat CONSUMED; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2927 | } |
| 2928 | |
Chris Banes | b517ae4 | 2019-12-05 10:53:46 +1100 | [diff] [blame] | 2929 | public static final class WindowInsetsCompat.Builder { |
| 2930 | ctor public WindowInsetsCompat.Builder(); |
| 2931 | ctor public WindowInsetsCompat.Builder(androidx.core.view.WindowInsetsCompat); |
| 2932 | method public androidx.core.view.WindowInsetsCompat build(); |
| 2933 | method public androidx.core.view.WindowInsetsCompat.Builder setDisplayCutout(androidx.core.view.DisplayCutoutCompat?); |
Chris Banes | c5e248b | 2020-02-05 13:33:16 +1100 | [diff] [blame] | 2934 | method public androidx.core.view.WindowInsetsCompat.Builder setInsets(int, androidx.core.graphics.Insets); |
| 2935 | method public androidx.core.view.WindowInsetsCompat.Builder setInsetsIgnoringVisibility(int, androidx.core.graphics.Insets); |
| 2936 | method @Deprecated public androidx.core.view.WindowInsetsCompat.Builder setMandatorySystemGestureInsets(androidx.core.graphics.Insets); |
| 2937 | method @Deprecated public androidx.core.view.WindowInsetsCompat.Builder setStableInsets(androidx.core.graphics.Insets); |
| 2938 | method @Deprecated public androidx.core.view.WindowInsetsCompat.Builder setSystemGestureInsets(androidx.core.graphics.Insets); |
| 2939 | method @Deprecated public androidx.core.view.WindowInsetsCompat.Builder setSystemWindowInsets(androidx.core.graphics.Insets); |
| 2940 | method @Deprecated public androidx.core.view.WindowInsetsCompat.Builder setTappableElementInsets(androidx.core.graphics.Insets); |
| 2941 | method public androidx.core.view.WindowInsetsCompat.Builder setVisible(int, boolean); |
| 2942 | } |
| 2943 | |
| 2944 | public static final class WindowInsetsCompat.Type { |
| 2945 | method public static int captionBar(); |
| 2946 | method public static int displayCutout(); |
| 2947 | method public static int ime(); |
| 2948 | method public static int mandatorySystemGestures(); |
| 2949 | method public static int navigationBars(); |
| 2950 | method public static int statusBars(); |
| 2951 | method public static int systemBars(); |
| 2952 | method public static int systemGestures(); |
| 2953 | method public static int tappableElement(); |
Chris Banes | b517ae4 | 2019-12-05 10:53:46 +1100 | [diff] [blame] | 2954 | } |
| 2955 | |
Vadim Caen | 3f4c39c | 2020-07-08 18:01:19 +0200 | [diff] [blame] | 2956 | public final class WindowInsetsControllerCompat { |
| 2957 | ctor public WindowInsetsControllerCompat(android.view.Window, android.view.View); |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2958 | method public void addOnControllableInsetsChangedListener(androidx.core.view.WindowInsetsControllerCompat.OnControllableInsetsChangedListener); |
| 2959 | method public void controlWindowInsetsAnimation(int, long, android.view.animation.Interpolator?, android.os.CancellationSignal?, androidx.core.view.WindowInsetsAnimationControlListenerCompat); |
Vadim Caen | 3f4c39c | 2020-07-08 18:01:19 +0200 | [diff] [blame] | 2960 | method public int getSystemBarsBehavior(); |
| 2961 | method public void hide(int); |
Vadim Caen | 096e5a1 | 2020-08-14 10:24:19 +0200 | [diff] [blame] | 2962 | method public boolean isAppearanceLightNavigationBars(); |
| 2963 | method public boolean isAppearanceLightStatusBars(); |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2964 | method public void removeOnControllableInsetsChangedListener(androidx.core.view.WindowInsetsControllerCompat.OnControllableInsetsChangedListener); |
Vadim Caen | 096e5a1 | 2020-08-14 10:24:19 +0200 | [diff] [blame] | 2965 | method public void setAppearanceLightNavigationBars(boolean); |
| 2966 | method public void setAppearanceLightStatusBars(boolean); |
Vadim Caen | 3f4c39c | 2020-07-08 18:01:19 +0200 | [diff] [blame] | 2967 | method public void setSystemBarsBehavior(int); |
| 2968 | method public void show(int); |
| 2969 | method @RequiresApi(30) public static androidx.core.view.WindowInsetsControllerCompat toWindowInsetsControllerCompat(android.view.WindowInsetsController); |
| 2970 | field public static final int BEHAVIOR_SHOW_BARS_BY_SWIPE = 1; // 0x1 |
| 2971 | field public static final int BEHAVIOR_SHOW_BARS_BY_TOUCH = 0; // 0x0 |
| 2972 | field public static final int BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE = 2; // 0x2 |
| 2973 | } |
| 2974 | |
Vadim Caen | 06411ac | 2020-08-14 13:41:53 +0200 | [diff] [blame] | 2975 | public static interface WindowInsetsControllerCompat.OnControllableInsetsChangedListener { |
| 2976 | method public void onControllableInsetsChanged(androidx.core.view.WindowInsetsControllerCompat, int); |
| 2977 | } |
| 2978 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2979 | } |
| 2980 | |
| 2981 | package androidx.core.view.accessibility { |
| 2982 | |
| 2983 | public final class AccessibilityClickableSpanCompat extends android.text.style.ClickableSpan { |
| 2984 | method public void onClick(android.view.View); |
| 2985 | } |
| 2986 | |
| 2987 | public final class AccessibilityEventCompat { |
| 2988 | method @Deprecated public static void appendRecord(android.view.accessibility.AccessibilityEvent!, androidx.core.view.accessibility.AccessibilityRecordCompat!); |
| 2989 | method @Deprecated public static androidx.core.view.accessibility.AccessibilityRecordCompat! asRecord(android.view.accessibility.AccessibilityEvent!); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 2990 | method public static int getAction(android.view.accessibility.AccessibilityEvent); |
| 2991 | method public static int getContentChangeTypes(android.view.accessibility.AccessibilityEvent); |
| 2992 | method public static int getMovementGranularity(android.view.accessibility.AccessibilityEvent); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2993 | method @Deprecated public static androidx.core.view.accessibility.AccessibilityRecordCompat! getRecord(android.view.accessibility.AccessibilityEvent!, int); |
| 2994 | method @Deprecated public static int getRecordCount(android.view.accessibility.AccessibilityEvent!); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 2995 | method public static void setAction(android.view.accessibility.AccessibilityEvent, int); |
| 2996 | method public static void setContentChangeTypes(android.view.accessibility.AccessibilityEvent, int); |
| 2997 | method public static void setMovementGranularity(android.view.accessibility.AccessibilityEvent, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 2998 | field public static final int CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION = 4; // 0x4 |
| 2999 | field public static final int CONTENT_CHANGE_TYPE_PANE_APPEARED = 16; // 0x10 |
| 3000 | field public static final int CONTENT_CHANGE_TYPE_PANE_DISAPPEARED = 32; // 0x20 |
| 3001 | field public static final int CONTENT_CHANGE_TYPE_PANE_TITLE = 8; // 0x8 |
yingleiw | 1d5ca64 | 2019-10-02 16:38:46 -0700 | [diff] [blame] | 3002 | field public static final int CONTENT_CHANGE_TYPE_STATE_DESCRIPTION = 64; // 0x40 |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3003 | field public static final int CONTENT_CHANGE_TYPE_SUBTREE = 1; // 0x1 |
| 3004 | field public static final int CONTENT_CHANGE_TYPE_TEXT = 2; // 0x2 |
| 3005 | field public static final int CONTENT_CHANGE_TYPE_UNDEFINED = 0; // 0x0 |
| 3006 | field public static final int TYPES_ALL_MASK = -1; // 0xffffffff |
| 3007 | field public static final int TYPE_ANNOUNCEMENT = 16384; // 0x4000 |
| 3008 | field public static final int TYPE_ASSIST_READING_CONTEXT = 16777216; // 0x1000000 |
| 3009 | field public static final int TYPE_GESTURE_DETECTION_END = 524288; // 0x80000 |
| 3010 | field public static final int TYPE_GESTURE_DETECTION_START = 262144; // 0x40000 |
| 3011 | field @Deprecated public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END = 1024; // 0x400 |
| 3012 | field @Deprecated public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START = 512; // 0x200 |
| 3013 | field public static final int TYPE_TOUCH_INTERACTION_END = 2097152; // 0x200000 |
| 3014 | field public static final int TYPE_TOUCH_INTERACTION_START = 1048576; // 0x100000 |
| 3015 | field public static final int TYPE_VIEW_ACCESSIBILITY_FOCUSED = 32768; // 0x8000 |
| 3016 | field public static final int TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED = 65536; // 0x10000 |
| 3017 | field public static final int TYPE_VIEW_CONTEXT_CLICKED = 8388608; // 0x800000 |
| 3018 | field @Deprecated public static final int TYPE_VIEW_HOVER_ENTER = 128; // 0x80 |
| 3019 | field @Deprecated public static final int TYPE_VIEW_HOVER_EXIT = 256; // 0x100 |
| 3020 | field @Deprecated public static final int TYPE_VIEW_SCROLLED = 4096; // 0x1000 |
| 3021 | field @Deprecated public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED = 8192; // 0x2000 |
| 3022 | field public static final int TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY = 131072; // 0x20000 |
| 3023 | field public static final int TYPE_WINDOWS_CHANGED = 4194304; // 0x400000 |
| 3024 | field @Deprecated public static final int TYPE_WINDOW_CONTENT_CHANGED = 2048; // 0x800 |
| 3025 | } |
| 3026 | |
| 3027 | public final class AccessibilityManagerCompat { |
| 3028 | method @Deprecated public static boolean addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager!, androidx.core.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListener!); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3029 | method public static boolean addTouchExplorationStateChangeListener(android.view.accessibility.AccessibilityManager, androidx.core.view.accessibility.AccessibilityManagerCompat.TouchExplorationStateChangeListener); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3030 | method @Deprecated public static java.util.List<android.accessibilityservice.AccessibilityServiceInfo!>! getEnabledAccessibilityServiceList(android.view.accessibility.AccessibilityManager!, int); |
| 3031 | method @Deprecated public static java.util.List<android.accessibilityservice.AccessibilityServiceInfo!>! getInstalledAccessibilityServiceList(android.view.accessibility.AccessibilityManager!); |
| 3032 | method @Deprecated public static boolean isTouchExplorationEnabled(android.view.accessibility.AccessibilityManager!); |
| 3033 | method @Deprecated public static boolean removeAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager!, androidx.core.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListener!); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3034 | method public static boolean removeTouchExplorationStateChangeListener(android.view.accessibility.AccessibilityManager, androidx.core.view.accessibility.AccessibilityManagerCompat.TouchExplorationStateChangeListener); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3035 | } |
| 3036 | |
| 3037 | @Deprecated public static interface AccessibilityManagerCompat.AccessibilityStateChangeListener { |
| 3038 | method @Deprecated public void onAccessibilityStateChanged(boolean); |
| 3039 | } |
| 3040 | |
| 3041 | @Deprecated public abstract static class AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat implements androidx.core.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListener { |
| 3042 | ctor @Deprecated public AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat(); |
| 3043 | } |
| 3044 | |
| 3045 | public static interface AccessibilityManagerCompat.TouchExplorationStateChangeListener { |
| 3046 | method public void onTouchExplorationStateChanged(boolean); |
| 3047 | } |
| 3048 | |
| 3049 | public class AccessibilityNodeInfoCompat { |
| 3050 | ctor @Deprecated public AccessibilityNodeInfoCompat(Object!); |
| 3051 | method public void addAction(int); |
| 3052 | method public void addAction(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat!); |
| 3053 | method public void addChild(android.view.View!); |
| 3054 | method public void addChild(android.view.View!, int); |
| 3055 | method public boolean canOpenPopup(); |
| 3056 | method public java.util.List<androidx.core.view.accessibility.AccessibilityNodeInfoCompat!>! findAccessibilityNodeInfosByText(String!); |
| 3057 | method public java.util.List<androidx.core.view.accessibility.AccessibilityNodeInfoCompat!>! findAccessibilityNodeInfosByViewId(String!); |
| 3058 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! findFocus(int); |
| 3059 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! focusSearch(int); |
| 3060 | method public java.util.List<androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat!>! getActionList(); |
| 3061 | method public int getActions(); |
| 3062 | method @Deprecated public void getBoundsInParent(android.graphics.Rect!); |
| 3063 | method public void getBoundsInScreen(android.graphics.Rect!); |
| 3064 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getChild(int); |
| 3065 | method public int getChildCount(); |
| 3066 | method public CharSequence! getClassName(); |
| 3067 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat! getCollectionInfo(); |
| 3068 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat! getCollectionItemInfo(); |
| 3069 | method public CharSequence! getContentDescription(); |
| 3070 | method public int getDrawingOrder(); |
| 3071 | method public CharSequence! getError(); |
| 3072 | method public android.os.Bundle! getExtras(); |
| 3073 | method public CharSequence? getHintText(); |
| 3074 | method @Deprecated public Object! getInfo(); |
| 3075 | method public int getInputType(); |
| 3076 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getLabelFor(); |
| 3077 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getLabeledBy(); |
| 3078 | method public int getLiveRegion(); |
| 3079 | method public int getMaxTextLength(); |
| 3080 | method public int getMovementGranularities(); |
| 3081 | method public CharSequence! getPackageName(); |
| 3082 | method public CharSequence? getPaneTitle(); |
| 3083 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getParent(); |
| 3084 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat! getRangeInfo(); |
| 3085 | method public CharSequence? getRoleDescription(); |
yingleiw | 1d5ca64 | 2019-10-02 16:38:46 -0700 | [diff] [blame] | 3086 | method public CharSequence? getStateDescription(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3087 | method public CharSequence! getText(); |
| 3088 | method public int getTextSelectionEnd(); |
| 3089 | method public int getTextSelectionStart(); |
| 3090 | method public CharSequence? getTooltipText(); |
| 3091 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat? getTouchDelegateInfo(); |
| 3092 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getTraversalAfter(); |
| 3093 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getTraversalBefore(); |
| 3094 | method public String! getViewIdResourceName(); |
| 3095 | method public androidx.core.view.accessibility.AccessibilityWindowInfoCompat! getWindow(); |
| 3096 | method public int getWindowId(); |
| 3097 | method public boolean isAccessibilityFocused(); |
| 3098 | method public boolean isCheckable(); |
| 3099 | method public boolean isChecked(); |
| 3100 | method public boolean isClickable(); |
| 3101 | method public boolean isContentInvalid(); |
| 3102 | method public boolean isContextClickable(); |
| 3103 | method public boolean isDismissable(); |
| 3104 | method public boolean isEditable(); |
| 3105 | method public boolean isEnabled(); |
| 3106 | method public boolean isFocusable(); |
| 3107 | method public boolean isFocused(); |
| 3108 | method public boolean isHeading(); |
| 3109 | method public boolean isImportantForAccessibility(); |
| 3110 | method public boolean isLongClickable(); |
| 3111 | method public boolean isMultiLine(); |
| 3112 | method public boolean isPassword(); |
| 3113 | method public boolean isScreenReaderFocusable(); |
| 3114 | method public boolean isScrollable(); |
| 3115 | method public boolean isSelected(); |
| 3116 | method public boolean isShowingHintText(); |
| 3117 | method public boolean isTextEntryKey(); |
| 3118 | method public boolean isVisibleToUser(); |
| 3119 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat! obtain(android.view.View!); |
| 3120 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat! obtain(android.view.View!, int); |
| 3121 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat! obtain(); |
| 3122 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat! obtain(androidx.core.view.accessibility.AccessibilityNodeInfoCompat!); |
| 3123 | method public boolean performAction(int); |
| 3124 | method public boolean performAction(int, android.os.Bundle!); |
| 3125 | method public void recycle(); |
| 3126 | method public boolean refresh(); |
| 3127 | method public boolean removeAction(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat!); |
| 3128 | method public boolean removeChild(android.view.View!); |
| 3129 | method public boolean removeChild(android.view.View!, int); |
| 3130 | method public void setAccessibilityFocused(boolean); |
| 3131 | method @Deprecated public void setBoundsInParent(android.graphics.Rect!); |
| 3132 | method public void setBoundsInScreen(android.graphics.Rect!); |
| 3133 | method public void setCanOpenPopup(boolean); |
| 3134 | method public void setCheckable(boolean); |
| 3135 | method public void setChecked(boolean); |
| 3136 | method public void setClassName(CharSequence!); |
| 3137 | method public void setClickable(boolean); |
| 3138 | method public void setCollectionInfo(Object!); |
| 3139 | method public void setCollectionItemInfo(Object!); |
| 3140 | method public void setContentDescription(CharSequence!); |
| 3141 | method public void setContentInvalid(boolean); |
| 3142 | method public void setContextClickable(boolean); |
| 3143 | method public void setDismissable(boolean); |
| 3144 | method public void setDrawingOrder(int); |
| 3145 | method public void setEditable(boolean); |
| 3146 | method public void setEnabled(boolean); |
| 3147 | method public void setError(CharSequence!); |
| 3148 | method public void setFocusable(boolean); |
| 3149 | method public void setFocused(boolean); |
| 3150 | method public void setHeading(boolean); |
| 3151 | method public void setHintText(CharSequence?); |
| 3152 | method public void setImportantForAccessibility(boolean); |
| 3153 | method public void setInputType(int); |
| 3154 | method public void setLabelFor(android.view.View!); |
| 3155 | method public void setLabelFor(android.view.View!, int); |
| 3156 | method public void setLabeledBy(android.view.View!); |
| 3157 | method public void setLabeledBy(android.view.View!, int); |
| 3158 | method public void setLiveRegion(int); |
| 3159 | method public void setLongClickable(boolean); |
| 3160 | method public void setMaxTextLength(int); |
| 3161 | method public void setMovementGranularities(int); |
| 3162 | method public void setMultiLine(boolean); |
| 3163 | method public void setPackageName(CharSequence!); |
| 3164 | method public void setPaneTitle(CharSequence?); |
| 3165 | method public void setParent(android.view.View!); |
| 3166 | method public void setParent(android.view.View!, int); |
| 3167 | method public void setPassword(boolean); |
| 3168 | method public void setRangeInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat!); |
| 3169 | method public void setRoleDescription(CharSequence?); |
| 3170 | method public void setScreenReaderFocusable(boolean); |
| 3171 | method public void setScrollable(boolean); |
| 3172 | method public void setSelected(boolean); |
| 3173 | method public void setShowingHintText(boolean); |
| 3174 | method public void setSource(android.view.View!); |
| 3175 | method public void setSource(android.view.View!, int); |
yingleiw | 1d5ca64 | 2019-10-02 16:38:46 -0700 | [diff] [blame] | 3176 | method public void setStateDescription(CharSequence?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3177 | method public void setText(CharSequence!); |
| 3178 | method public void setTextEntryKey(boolean); |
| 3179 | method public void setTextSelection(int, int); |
| 3180 | method public void setTooltipText(CharSequence?); |
| 3181 | method public void setTouchDelegateInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat); |
| 3182 | method public void setTraversalAfter(android.view.View!); |
| 3183 | method public void setTraversalAfter(android.view.View!, int); |
| 3184 | method public void setTraversalBefore(android.view.View!); |
| 3185 | method public void setTraversalBefore(android.view.View!, int); |
| 3186 | method public void setViewIdResourceName(String!); |
| 3187 | method public void setVisibleToUser(boolean); |
| 3188 | method public android.view.accessibility.AccessibilityNodeInfo! unwrap(); |
| 3189 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat! wrap(android.view.accessibility.AccessibilityNodeInfo); |
| 3190 | field public static final int ACTION_ACCESSIBILITY_FOCUS = 64; // 0x40 |
| 3191 | field public static final String ACTION_ARGUMENT_COLUMN_INT = "android.view.accessibility.action.ARGUMENT_COLUMN_INT"; |
| 3192 | field public static final String ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN"; |
| 3193 | field public static final String ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING"; |
| 3194 | field public static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT"; |
| 3195 | field public static final String ACTION_ARGUMENT_MOVE_WINDOW_X = "ACTION_ARGUMENT_MOVE_WINDOW_X"; |
| 3196 | field public static final String ACTION_ARGUMENT_MOVE_WINDOW_Y = "ACTION_ARGUMENT_MOVE_WINDOW_Y"; |
ryanlwlin | f9ed9b3 | 2020-02-19 20:11:02 +0800 | [diff] [blame] | 3197 | field public static final String ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT = "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT"; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3198 | field public static final String ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE"; |
| 3199 | field public static final String ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT"; |
| 3200 | field public static final String ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT"; |
| 3201 | field public static final String ACTION_ARGUMENT_SELECTION_START_INT = "ACTION_ARGUMENT_SELECTION_START_INT"; |
| 3202 | field public static final String ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE"; |
| 3203 | field public static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS = 128; // 0x80 |
| 3204 | field public static final int ACTION_CLEAR_FOCUS = 2; // 0x2 |
| 3205 | field public static final int ACTION_CLEAR_SELECTION = 8; // 0x8 |
| 3206 | field public static final int ACTION_CLICK = 16; // 0x10 |
| 3207 | field public static final int ACTION_COLLAPSE = 524288; // 0x80000 |
| 3208 | field public static final int ACTION_COPY = 16384; // 0x4000 |
| 3209 | field public static final int ACTION_CUT = 65536; // 0x10000 |
| 3210 | field public static final int ACTION_DISMISS = 1048576; // 0x100000 |
| 3211 | field public static final int ACTION_EXPAND = 262144; // 0x40000 |
| 3212 | field public static final int ACTION_FOCUS = 1; // 0x1 |
| 3213 | field public static final int ACTION_LONG_CLICK = 32; // 0x20 |
| 3214 | field public static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY = 256; // 0x100 |
| 3215 | field public static final int ACTION_NEXT_HTML_ELEMENT = 1024; // 0x400 |
| 3216 | field public static final int ACTION_PASTE = 32768; // 0x8000 |
| 3217 | field public static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = 512; // 0x200 |
| 3218 | field public static final int ACTION_PREVIOUS_HTML_ELEMENT = 2048; // 0x800 |
| 3219 | field public static final int ACTION_SCROLL_BACKWARD = 8192; // 0x2000 |
| 3220 | field public static final int ACTION_SCROLL_FORWARD = 4096; // 0x1000 |
| 3221 | field public static final int ACTION_SELECT = 4; // 0x4 |
| 3222 | field public static final int ACTION_SET_SELECTION = 131072; // 0x20000 |
| 3223 | field public static final int ACTION_SET_TEXT = 2097152; // 0x200000 |
| 3224 | field public static final int FOCUS_ACCESSIBILITY = 2; // 0x2 |
| 3225 | field public static final int FOCUS_INPUT = 1; // 0x1 |
| 3226 | field public static final int MOVEMENT_GRANULARITY_CHARACTER = 1; // 0x1 |
| 3227 | field public static final int MOVEMENT_GRANULARITY_LINE = 4; // 0x4 |
| 3228 | field public static final int MOVEMENT_GRANULARITY_PAGE = 16; // 0x10 |
| 3229 | field public static final int MOVEMENT_GRANULARITY_PARAGRAPH = 8; // 0x8 |
| 3230 | field public static final int MOVEMENT_GRANULARITY_WORD = 2; // 0x2 |
| 3231 | } |
| 3232 | |
| 3233 | public static class AccessibilityNodeInfoCompat.AccessibilityActionCompat { |
| 3234 | ctor public AccessibilityNodeInfoCompat.AccessibilityActionCompat(int, CharSequence!); |
| 3235 | method public int getId(); |
| 3236 | method public CharSequence! getLabel(); |
| 3237 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_ACCESSIBILITY_FOCUS; |
| 3238 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CLEAR_ACCESSIBILITY_FOCUS; |
| 3239 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CLEAR_FOCUS; |
| 3240 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CLEAR_SELECTION; |
| 3241 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CLICK; |
| 3242 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_COLLAPSE; |
| 3243 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CONTEXT_CLICK; |
| 3244 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_COPY; |
| 3245 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_CUT; |
| 3246 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_DISMISS; |
| 3247 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_EXPAND; |
| 3248 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_FOCUS; |
| 3249 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_HIDE_TOOLTIP; |
Jacky Kao | bb553f3 | 2020-04-24 15:57:11 +0800 | [diff] [blame] | 3250 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_IME_ENTER; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3251 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_LONG_CLICK; |
| 3252 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_MOVE_WINDOW; |
| 3253 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_NEXT_AT_MOVEMENT_GRANULARITY; |
| 3254 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_NEXT_HTML_ELEMENT; |
| 3255 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_PAGE_DOWN; |
| 3256 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_PAGE_LEFT; |
| 3257 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_PAGE_RIGHT; |
| 3258 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_PAGE_UP; |
| 3259 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_PASTE; |
ryanlwlin | f9ed9b3 | 2020-02-19 20:11:02 +0800 | [diff] [blame] | 3260 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat ACTION_PRESS_AND_HOLD; |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3261 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY; |
| 3262 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_PREVIOUS_HTML_ELEMENT; |
| 3263 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_BACKWARD; |
| 3264 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_DOWN; |
| 3265 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_FORWARD; |
| 3266 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_LEFT; |
| 3267 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_RIGHT; |
| 3268 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_TO_POSITION; |
| 3269 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SCROLL_UP; |
| 3270 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SELECT; |
| 3271 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SET_PROGRESS; |
| 3272 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SET_SELECTION; |
| 3273 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SET_TEXT; |
| 3274 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SHOW_ON_SCREEN; |
| 3275 | field public static final androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat! ACTION_SHOW_TOOLTIP; |
| 3276 | } |
| 3277 | |
| 3278 | public static class AccessibilityNodeInfoCompat.CollectionInfoCompat { |
| 3279 | method public int getColumnCount(); |
| 3280 | method public int getRowCount(); |
| 3281 | method public int getSelectionMode(); |
| 3282 | method public boolean isHierarchical(); |
| 3283 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat! obtain(int, int, boolean, int); |
| 3284 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat! obtain(int, int, boolean); |
| 3285 | field public static final int SELECTION_MODE_MULTIPLE = 2; // 0x2 |
| 3286 | field public static final int SELECTION_MODE_NONE = 0; // 0x0 |
| 3287 | field public static final int SELECTION_MODE_SINGLE = 1; // 0x1 |
| 3288 | } |
| 3289 | |
| 3290 | public static class AccessibilityNodeInfoCompat.CollectionItemInfoCompat { |
| 3291 | method public int getColumnIndex(); |
| 3292 | method public int getColumnSpan(); |
| 3293 | method public int getRowIndex(); |
| 3294 | method public int getRowSpan(); |
| 3295 | method @Deprecated public boolean isHeading(); |
| 3296 | method public boolean isSelected(); |
| 3297 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat! obtain(int, int, int, int, boolean, boolean); |
| 3298 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat! obtain(int, int, int, int, boolean); |
| 3299 | } |
| 3300 | |
| 3301 | public static class AccessibilityNodeInfoCompat.RangeInfoCompat { |
| 3302 | method public float getCurrent(); |
| 3303 | method public float getMax(); |
| 3304 | method public float getMin(); |
| 3305 | method public int getType(); |
| 3306 | method public static androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat! obtain(int, float, float, float); |
| 3307 | field public static final int RANGE_TYPE_FLOAT = 1; // 0x1 |
| 3308 | field public static final int RANGE_TYPE_INT = 0; // 0x0 |
| 3309 | field public static final int RANGE_TYPE_PERCENT = 2; // 0x2 |
| 3310 | } |
| 3311 | |
| 3312 | public static final class AccessibilityNodeInfoCompat.TouchDelegateInfoCompat { |
| 3313 | ctor public AccessibilityNodeInfoCompat.TouchDelegateInfoCompat(java.util.Map<android.graphics.Region!,android.view.View!>); |
| 3314 | method public android.graphics.Region? getRegionAt(@IntRange(from=0) int); |
| 3315 | method @IntRange(from=0) public int getRegionCount(); |
| 3316 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat? getTargetForRegion(android.graphics.Region); |
| 3317 | } |
| 3318 | |
| 3319 | public class AccessibilityNodeProviderCompat { |
| 3320 | ctor public AccessibilityNodeProviderCompat(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3321 | ctor public AccessibilityNodeProviderCompat(Object?); |
yingleiw | fdcae1f | 2020-07-06 16:34:48 -0700 | [diff] [blame] | 3322 | method public void addExtraDataToAccessibilityNodeInfo(int, androidx.core.view.accessibility.AccessibilityNodeInfoCompat, String, android.os.Bundle?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3323 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat? createAccessibilityNodeInfo(int); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3324 | method public java.util.List<androidx.core.view.accessibility.AccessibilityNodeInfoCompat!>? findAccessibilityNodeInfosByText(String, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3325 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat? findFocus(int); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3326 | method public Object? getProvider(); |
| 3327 | method public boolean performAction(int, int, android.os.Bundle?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3328 | field public static final int HOST_VIEW_ID = -1; // 0xffffffff |
| 3329 | } |
| 3330 | |
| 3331 | public class AccessibilityRecordCompat { |
| 3332 | ctor @Deprecated public AccessibilityRecordCompat(Object!); |
| 3333 | method @Deprecated public boolean equals(Object?); |
| 3334 | method @Deprecated public int getAddedCount(); |
| 3335 | method @Deprecated public CharSequence! getBeforeText(); |
| 3336 | method @Deprecated public CharSequence! getClassName(); |
| 3337 | method @Deprecated public CharSequence! getContentDescription(); |
| 3338 | method @Deprecated public int getCurrentItemIndex(); |
| 3339 | method @Deprecated public int getFromIndex(); |
| 3340 | method @Deprecated public Object! getImpl(); |
| 3341 | method @Deprecated public int getItemCount(); |
| 3342 | method @Deprecated public int getMaxScrollX(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3343 | method public static int getMaxScrollX(android.view.accessibility.AccessibilityRecord); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3344 | method @Deprecated public int getMaxScrollY(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3345 | method public static int getMaxScrollY(android.view.accessibility.AccessibilityRecord); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3346 | method @Deprecated public android.os.Parcelable! getParcelableData(); |
| 3347 | method @Deprecated public int getRemovedCount(); |
| 3348 | method @Deprecated public int getScrollX(); |
| 3349 | method @Deprecated public int getScrollY(); |
| 3350 | method @Deprecated public androidx.core.view.accessibility.AccessibilityNodeInfoCompat! getSource(); |
| 3351 | method @Deprecated public java.util.List<java.lang.CharSequence!>! getText(); |
| 3352 | method @Deprecated public int getToIndex(); |
| 3353 | method @Deprecated public int getWindowId(); |
| 3354 | method @Deprecated public int hashCode(); |
| 3355 | method @Deprecated public boolean isChecked(); |
| 3356 | method @Deprecated public boolean isEnabled(); |
| 3357 | method @Deprecated public boolean isFullScreen(); |
| 3358 | method @Deprecated public boolean isPassword(); |
| 3359 | method @Deprecated public boolean isScrollable(); |
| 3360 | method @Deprecated public static androidx.core.view.accessibility.AccessibilityRecordCompat! obtain(androidx.core.view.accessibility.AccessibilityRecordCompat!); |
| 3361 | method @Deprecated public static androidx.core.view.accessibility.AccessibilityRecordCompat! obtain(); |
| 3362 | method @Deprecated public void recycle(); |
| 3363 | method @Deprecated public void setAddedCount(int); |
| 3364 | method @Deprecated public void setBeforeText(CharSequence!); |
| 3365 | method @Deprecated public void setChecked(boolean); |
| 3366 | method @Deprecated public void setClassName(CharSequence!); |
| 3367 | method @Deprecated public void setContentDescription(CharSequence!); |
| 3368 | method @Deprecated public void setCurrentItemIndex(int); |
| 3369 | method @Deprecated public void setEnabled(boolean); |
| 3370 | method @Deprecated public void setFromIndex(int); |
| 3371 | method @Deprecated public void setFullScreen(boolean); |
| 3372 | method @Deprecated public void setItemCount(int); |
| 3373 | method @Deprecated public void setMaxScrollX(int); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3374 | method public static void setMaxScrollX(android.view.accessibility.AccessibilityRecord, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3375 | method @Deprecated public void setMaxScrollY(int); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3376 | method public static void setMaxScrollY(android.view.accessibility.AccessibilityRecord, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3377 | method @Deprecated public void setParcelableData(android.os.Parcelable!); |
| 3378 | method @Deprecated public void setPassword(boolean); |
| 3379 | method @Deprecated public void setRemovedCount(int); |
| 3380 | method @Deprecated public void setScrollX(int); |
| 3381 | method @Deprecated public void setScrollY(int); |
| 3382 | method @Deprecated public void setScrollable(boolean); |
| 3383 | method @Deprecated public void setSource(android.view.View!); |
| 3384 | method @Deprecated public void setSource(android.view.View!, int); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3385 | method public static void setSource(android.view.accessibility.AccessibilityRecord, android.view.View?, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3386 | method @Deprecated public void setToIndex(int); |
| 3387 | } |
| 3388 | |
| 3389 | public interface AccessibilityViewCommand { |
| 3390 | method public boolean perform(android.view.View, androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments?); |
| 3391 | } |
| 3392 | |
| 3393 | public abstract static class AccessibilityViewCommand.CommandArguments { |
| 3394 | ctor public AccessibilityViewCommand.CommandArguments(); |
| 3395 | } |
| 3396 | |
| 3397 | public static final class AccessibilityViewCommand.MoveAtGranularityArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3398 | ctor public AccessibilityViewCommand.MoveAtGranularityArguments(); |
| 3399 | method public boolean getExtendSelection(); |
| 3400 | method public int getGranularity(); |
| 3401 | } |
| 3402 | |
| 3403 | public static final class AccessibilityViewCommand.MoveHtmlArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3404 | ctor public AccessibilityViewCommand.MoveHtmlArguments(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3405 | method public String? getHTMLElement(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3406 | } |
| 3407 | |
| 3408 | public static final class AccessibilityViewCommand.MoveWindowArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3409 | ctor public AccessibilityViewCommand.MoveWindowArguments(); |
| 3410 | method public int getX(); |
| 3411 | method public int getY(); |
| 3412 | } |
| 3413 | |
| 3414 | public static final class AccessibilityViewCommand.ScrollToPositionArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3415 | ctor public AccessibilityViewCommand.ScrollToPositionArguments(); |
| 3416 | method public int getColumn(); |
| 3417 | method public int getRow(); |
| 3418 | } |
| 3419 | |
| 3420 | public static final class AccessibilityViewCommand.SetProgressArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3421 | ctor public AccessibilityViewCommand.SetProgressArguments(); |
| 3422 | method public float getProgress(); |
| 3423 | } |
| 3424 | |
| 3425 | public static final class AccessibilityViewCommand.SetSelectionArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3426 | ctor public AccessibilityViewCommand.SetSelectionArguments(); |
| 3427 | method public int getEnd(); |
| 3428 | method public int getStart(); |
| 3429 | } |
| 3430 | |
| 3431 | public static final class AccessibilityViewCommand.SetTextArguments extends androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments { |
| 3432 | ctor public AccessibilityViewCommand.SetTextArguments(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3433 | method public CharSequence? getText(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3434 | } |
| 3435 | |
| 3436 | public class AccessibilityWindowInfoCompat { |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3437 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat? getAnchor(); |
| 3438 | method public void getBoundsInScreen(android.graphics.Rect); |
| 3439 | method public androidx.core.view.accessibility.AccessibilityWindowInfoCompat? getChild(int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3440 | method public int getChildCount(); |
| 3441 | method public int getId(); |
| 3442 | method public int getLayer(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3443 | method public androidx.core.view.accessibility.AccessibilityWindowInfoCompat? getParent(); |
| 3444 | method public androidx.core.view.accessibility.AccessibilityNodeInfoCompat? getRoot(); |
| 3445 | method public CharSequence? getTitle(); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3446 | method public int getType(); |
| 3447 | method public boolean isAccessibilityFocused(); |
| 3448 | method public boolean isActive(); |
| 3449 | method public boolean isFocused(); |
Alan Viverette | e4131dc | 2021-11-12 10:35:12 -0500 | [diff] [blame] | 3450 | method public static androidx.core.view.accessibility.AccessibilityWindowInfoCompat? obtain(); |
| 3451 | method public static androidx.core.view.accessibility.AccessibilityWindowInfoCompat? obtain(androidx.core.view.accessibility.AccessibilityWindowInfoCompat?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3452 | method public void recycle(); |
| 3453 | field public static final int TYPE_ACCESSIBILITY_OVERLAY = 4; // 0x4 |
| 3454 | field public static final int TYPE_APPLICATION = 1; // 0x1 |
| 3455 | field public static final int TYPE_INPUT_METHOD = 2; // 0x2 |
| 3456 | field public static final int TYPE_SPLIT_SCREEN_DIVIDER = 5; // 0x5 |
| 3457 | field public static final int TYPE_SYSTEM = 3; // 0x3 |
| 3458 | } |
| 3459 | |
| 3460 | } |
| 3461 | |
| 3462 | package androidx.core.view.animation { |
| 3463 | |
| 3464 | public final class PathInterpolatorCompat { |
Alan Viverette | e906be4 | 2021-11-12 11:31:57 -0500 | [diff] [blame] | 3465 | method public static android.view.animation.Interpolator create(android.graphics.Path); |
| 3466 | method public static android.view.animation.Interpolator create(float, float); |
| 3467 | method public static android.view.animation.Interpolator create(float, float, float, float); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3468 | } |
| 3469 | |
| 3470 | } |
| 3471 | |
| 3472 | package androidx.core.view.inputmethod { |
| 3473 | |
| 3474 | public final class EditorInfoCompat { |
| 3475 | ctor @Deprecated public EditorInfoCompat(); |
Alan Viverette | 05052ef | 2021-06-04 16:54:01 -0400 | [diff] [blame] | 3476 | method public static String![] getContentMimeTypes(android.view.inputmethod.EditorInfo); |
Wilson Wu | a7c3e86 | 2020-06-30 17:44:36 +0800 | [diff] [blame] | 3477 | method public static CharSequence? getInitialSelectedText(android.view.inputmethod.EditorInfo, int); |
| 3478 | method public static CharSequence? getInitialTextAfterCursor(android.view.inputmethod.EditorInfo, int, int); |
| 3479 | method public static CharSequence? getInitialTextBeforeCursor(android.view.inputmethod.EditorInfo, int, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3480 | method public static void setContentMimeTypes(android.view.inputmethod.EditorInfo, String![]?); |
Wilson Wu | a7c3e86 | 2020-06-30 17:44:36 +0800 | [diff] [blame] | 3481 | method public static void setInitialSurroundingSubText(android.view.inputmethod.EditorInfo, CharSequence, int); |
| 3482 | method public static void setInitialSurroundingText(android.view.inputmethod.EditorInfo, CharSequence); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3483 | field public static final int IME_FLAG_FORCE_ASCII = -2147483648; // 0x80000000 |
| 3484 | field public static final int IME_FLAG_NO_PERSONALIZED_LEARNING = 16777216; // 0x1000000 |
| 3485 | } |
| 3486 | |
| 3487 | public final class InputConnectionCompat { |
| 3488 | ctor @Deprecated public InputConnectionCompat(); |
| 3489 | method public static boolean commitContent(android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo, androidx.core.view.inputmethod.InputContentInfoCompat, int, android.os.Bundle?); |
Nikita Dubrovsky | ec98ea3 | 2021-05-21 17:22:17 -0700 | [diff] [blame] | 3490 | method @Deprecated public static android.view.inputmethod.InputConnection createWrapper(android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo, androidx.core.view.inputmethod.InputConnectionCompat.OnCommitContentListener); |
| 3491 | method public static android.view.inputmethod.InputConnection createWrapper(android.view.View, android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3492 | field public static final int INPUT_CONTENT_GRANT_READ_URI_PERMISSION = 1; // 0x1 |
| 3493 | } |
| 3494 | |
| 3495 | public static interface InputConnectionCompat.OnCommitContentListener { |
Alan Viverette | 05052ef | 2021-06-04 16:54:01 -0400 | [diff] [blame] | 3496 | method public boolean onCommitContent(androidx.core.view.inputmethod.InputContentInfoCompat, int, android.os.Bundle?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3497 | } |
| 3498 | |
| 3499 | public final class InputContentInfoCompat { |
| 3500 | ctor public InputContentInfoCompat(android.net.Uri, android.content.ClipDescription, android.net.Uri?); |
| 3501 | method public android.net.Uri getContentUri(); |
| 3502 | method public android.content.ClipDescription getDescription(); |
| 3503 | method public android.net.Uri? getLinkUri(); |
| 3504 | method public void releasePermission(); |
| 3505 | method public void requestPermission(); |
| 3506 | method public Object? unwrap(); |
| 3507 | method public static androidx.core.view.inputmethod.InputContentInfoCompat? wrap(Object?); |
| 3508 | } |
| 3509 | |
| 3510 | } |
| 3511 | |
| 3512 | package androidx.core.widget { |
| 3513 | |
| 3514 | public abstract class AutoScrollHelper implements android.view.View.OnTouchListener { |
| 3515 | ctor public AutoScrollHelper(android.view.View); |
| 3516 | method public abstract boolean canTargetScrollHorizontally(int); |
| 3517 | method public abstract boolean canTargetScrollVertically(int); |
| 3518 | method public boolean isEnabled(); |
| 3519 | method public boolean isExclusive(); |
| 3520 | method public boolean onTouch(android.view.View!, android.view.MotionEvent!); |
| 3521 | method public abstract void scrollTargetBy(int, int); |
| 3522 | method public androidx.core.widget.AutoScrollHelper setActivationDelay(int); |
| 3523 | method public androidx.core.widget.AutoScrollHelper setEdgeType(int); |
| 3524 | method public androidx.core.widget.AutoScrollHelper! setEnabled(boolean); |
| 3525 | method public androidx.core.widget.AutoScrollHelper! setExclusive(boolean); |
| 3526 | method public androidx.core.widget.AutoScrollHelper setMaximumEdges(float, float); |
| 3527 | method public androidx.core.widget.AutoScrollHelper setMaximumVelocity(float, float); |
| 3528 | method public androidx.core.widget.AutoScrollHelper setMinimumVelocity(float, float); |
| 3529 | method public androidx.core.widget.AutoScrollHelper setRampDownDuration(int); |
| 3530 | method public androidx.core.widget.AutoScrollHelper setRampUpDuration(int); |
| 3531 | method public androidx.core.widget.AutoScrollHelper setRelativeEdges(float, float); |
| 3532 | method public androidx.core.widget.AutoScrollHelper setRelativeVelocity(float, float); |
| 3533 | field public static final int EDGE_TYPE_INSIDE = 0; // 0x0 |
| 3534 | field public static final int EDGE_TYPE_INSIDE_EXTEND = 1; // 0x1 |
| 3535 | field public static final int EDGE_TYPE_OUTSIDE = 2; // 0x2 |
| 3536 | field public static final float NO_MAX = 3.4028235E38f; |
| 3537 | field public static final float NO_MIN = 0.0f; |
| 3538 | field public static final float RELATIVE_UNSPECIFIED = 0.0f; |
| 3539 | } |
| 3540 | |
Eugen Pechanec | 53d22bf | 2021-03-23 15:51:31 +0100 | [diff] [blame] | 3541 | public final class CheckedTextViewCompat { |
| 3542 | method public static android.graphics.drawable.Drawable? getCheckMarkDrawable(android.widget.CheckedTextView); |
| 3543 | method public static android.content.res.ColorStateList? getCheckMarkTintList(android.widget.CheckedTextView); |
| 3544 | method public static android.graphics.PorterDuff.Mode? getCheckMarkTintMode(android.widget.CheckedTextView); |
| 3545 | method public static void setCheckMarkTintList(android.widget.CheckedTextView, android.content.res.ColorStateList?); |
| 3546 | method public static void setCheckMarkTintMode(android.widget.CheckedTextView, android.graphics.PorterDuff.Mode?); |
| 3547 | } |
| 3548 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3549 | public final class CompoundButtonCompat { |
| 3550 | method public static android.graphics.drawable.Drawable? getButtonDrawable(android.widget.CompoundButton); |
| 3551 | method public static android.content.res.ColorStateList? getButtonTintList(android.widget.CompoundButton); |
| 3552 | method public static android.graphics.PorterDuff.Mode? getButtonTintMode(android.widget.CompoundButton); |
| 3553 | method public static void setButtonTintList(android.widget.CompoundButton, android.content.res.ColorStateList?); |
| 3554 | method public static void setButtonTintMode(android.widget.CompoundButton, android.graphics.PorterDuff.Mode?); |
| 3555 | } |
| 3556 | |
| 3557 | public class ContentLoadingProgressBar extends android.widget.ProgressBar { |
| 3558 | ctor public ContentLoadingProgressBar(android.content.Context); |
| 3559 | ctor public ContentLoadingProgressBar(android.content.Context, android.util.AttributeSet?); |
| 3560 | method public void hide(); |
| 3561 | method public void onAttachedToWindow(); |
| 3562 | method public void onDetachedFromWindow(); |
| 3563 | method public void show(); |
| 3564 | } |
| 3565 | |
| 3566 | public final class EdgeEffectCompat { |
| 3567 | ctor @Deprecated public EdgeEffectCompat(android.content.Context!); |
George Mount | 814d4e6 | 2021-02-23 17:45:26 +0000 | [diff] [blame] | 3568 | method public static android.widget.EdgeEffect create(android.content.Context, android.util.AttributeSet?); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3569 | method @Deprecated public boolean draw(android.graphics.Canvas!); |
| 3570 | method @Deprecated public void finish(); |
George Mount | 814d4e6 | 2021-02-23 17:45:26 +0000 | [diff] [blame] | 3571 | method public static float getDistance(android.widget.EdgeEffect); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3572 | method @Deprecated public boolean isFinished(); |
| 3573 | method @Deprecated public boolean onAbsorb(int); |
| 3574 | method @Deprecated public boolean onPull(float); |
| 3575 | method @Deprecated public boolean onPull(float, float); |
| 3576 | method public static void onPull(android.widget.EdgeEffect, float, float); |
George Mount | 814d4e6 | 2021-02-23 17:45:26 +0000 | [diff] [blame] | 3577 | method public static float onPullDistance(android.widget.EdgeEffect, float, float); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3578 | method @Deprecated public boolean onRelease(); |
| 3579 | method @Deprecated public void setSize(int, int); |
| 3580 | } |
| 3581 | |
| 3582 | public class ImageViewCompat { |
| 3583 | method public static android.content.res.ColorStateList? getImageTintList(android.widget.ImageView); |
| 3584 | method public static android.graphics.PorterDuff.Mode? getImageTintMode(android.widget.ImageView); |
| 3585 | method public static void setImageTintList(android.widget.ImageView, android.content.res.ColorStateList?); |
| 3586 | method public static void setImageTintMode(android.widget.ImageView, android.graphics.PorterDuff.Mode?); |
| 3587 | } |
| 3588 | |
| 3589 | public final class ListPopupWindowCompat { |
| 3590 | method @Deprecated public static android.view.View.OnTouchListener! createDragToOpenListener(Object!, android.view.View!); |
| 3591 | method public static android.view.View.OnTouchListener? createDragToOpenListener(android.widget.ListPopupWindow, android.view.View); |
| 3592 | } |
| 3593 | |
| 3594 | public class ListViewAutoScrollHelper extends androidx.core.widget.AutoScrollHelper { |
| 3595 | ctor public ListViewAutoScrollHelper(android.widget.ListView); |
| 3596 | method public boolean canTargetScrollHorizontally(int); |
| 3597 | method public boolean canTargetScrollVertically(int); |
| 3598 | method public void scrollTargetBy(int, int); |
| 3599 | } |
| 3600 | |
| 3601 | public final class ListViewCompat { |
| 3602 | method public static boolean canScrollList(android.widget.ListView, int); |
| 3603 | method public static void scrollListBy(android.widget.ListView, int); |
| 3604 | } |
| 3605 | |
| 3606 | public class NestedScrollView extends android.widget.FrameLayout implements androidx.core.view.NestedScrollingChild3 androidx.core.view.NestedScrollingParent3 androidx.core.view.ScrollingView { |
| 3607 | ctor public NestedScrollView(android.content.Context); |
| 3608 | ctor public NestedScrollView(android.content.Context, android.util.AttributeSet?); |
| 3609 | ctor public NestedScrollView(android.content.Context, android.util.AttributeSet?, int); |
| 3610 | method public boolean arrowScroll(int); |
| 3611 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeHorizontalScrollExtent(); |
| 3612 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeHorizontalScrollOffset(); |
| 3613 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeHorizontalScrollRange(); |
| 3614 | method protected int computeScrollDeltaToGetChildRectOnScreen(android.graphics.Rect!); |
| 3615 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeVerticalScrollExtent(); |
| 3616 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeVerticalScrollOffset(); |
| 3617 | method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int computeVerticalScrollRange(); |
Alan Viverette | a7b6faa | 2021-11-12 15:35:24 -0500 | [diff] [blame] | 3618 | method public boolean dispatchNestedPreScroll(int, int, int[]?, int[]?, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3619 | method public void dispatchNestedScroll(int, int, int, int, int[]?, int, int[]); |
Alan Viverette | a7b6faa | 2021-11-12 15:35:24 -0500 | [diff] [blame] | 3620 | method public boolean dispatchNestedScroll(int, int, int, int, int[]?, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3621 | method public boolean executeKeyEvent(android.view.KeyEvent); |
| 3622 | method public void fling(int); |
| 3623 | method public boolean fullScroll(int); |
| 3624 | method public int getMaxScrollAmount(); |
| 3625 | method public boolean hasNestedScrollingParent(int); |
| 3626 | method public boolean isFillViewport(); |
| 3627 | method public boolean isSmoothScrollingEnabled(); |
| 3628 | method public void onAttachedToWindow(); |
| 3629 | method public void onNestedPreScroll(android.view.View, int, int, int[], int); |
| 3630 | method public void onNestedScroll(android.view.View, int, int, int, int, int, int[]); |
| 3631 | method public void onNestedScroll(android.view.View, int, int, int, int, int); |
| 3632 | method public void onNestedScrollAccepted(android.view.View, android.view.View, int, int); |
| 3633 | method public boolean onStartNestedScroll(android.view.View, android.view.View, int, int); |
| 3634 | method public void onStopNestedScroll(android.view.View, int); |
| 3635 | method public boolean pageScroll(int); |
| 3636 | method public void setFillViewport(boolean); |
| 3637 | method public void setOnScrollChangeListener(androidx.core.widget.NestedScrollView.OnScrollChangeListener?); |
| 3638 | method public void setSmoothScrollingEnabled(boolean); |
| 3639 | method public final void smoothScrollBy(int, int); |
thecrazyskull | 3338b9e | 2020-02-06 22:23:28 +0100 | [diff] [blame] | 3640 | method public final void smoothScrollBy(int, int, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3641 | method public final void smoothScrollTo(int, int); |
thecrazyskull | 3338b9e | 2020-02-06 22:23:28 +0100 | [diff] [blame] | 3642 | method public final void smoothScrollTo(int, int, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3643 | method public boolean startNestedScroll(int, int); |
| 3644 | method public void stopNestedScroll(int); |
| 3645 | } |
| 3646 | |
| 3647 | public static interface NestedScrollView.OnScrollChangeListener { |
Alan Viverette | a7b6faa | 2021-11-12 15:35:24 -0500 | [diff] [blame] | 3648 | method public void onScrollChange(androidx.core.widget.NestedScrollView, int, int, int, int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3649 | } |
| 3650 | |
| 3651 | public final class PopupMenuCompat { |
| 3652 | method public static android.view.View.OnTouchListener? getDragToOpenListener(Object); |
| 3653 | } |
| 3654 | |
| 3655 | public final class PopupWindowCompat { |
| 3656 | method public static boolean getOverlapAnchor(android.widget.PopupWindow); |
| 3657 | method public static int getWindowLayoutType(android.widget.PopupWindow); |
| 3658 | method public static void setOverlapAnchor(android.widget.PopupWindow, boolean); |
| 3659 | method public static void setWindowLayoutType(android.widget.PopupWindow, int); |
| 3660 | method public static void showAsDropDown(android.widget.PopupWindow, android.view.View, int, int, int); |
| 3661 | } |
| 3662 | |
| 3663 | @Deprecated public final class ScrollerCompat { |
| 3664 | method @Deprecated public void abortAnimation(); |
| 3665 | method @Deprecated public boolean computeScrollOffset(); |
| 3666 | method @Deprecated public static androidx.core.widget.ScrollerCompat! create(android.content.Context!); |
| 3667 | method @Deprecated public static androidx.core.widget.ScrollerCompat! create(android.content.Context!, android.view.animation.Interpolator!); |
| 3668 | method @Deprecated public void fling(int, int, int, int, int, int, int, int); |
| 3669 | method @Deprecated public void fling(int, int, int, int, int, int, int, int, int, int); |
| 3670 | method @Deprecated public float getCurrVelocity(); |
| 3671 | method @Deprecated public int getCurrX(); |
| 3672 | method @Deprecated public int getCurrY(); |
| 3673 | method @Deprecated public int getFinalX(); |
| 3674 | method @Deprecated public int getFinalY(); |
| 3675 | method @Deprecated public boolean isFinished(); |
| 3676 | method @Deprecated public boolean isOverScrolled(); |
| 3677 | method @Deprecated public void notifyHorizontalEdgeReached(int, int, int); |
| 3678 | method @Deprecated public void notifyVerticalEdgeReached(int, int, int); |
| 3679 | method @Deprecated public boolean springBack(int, int, int, int, int, int); |
| 3680 | method @Deprecated public void startScroll(int, int, int, int); |
| 3681 | method @Deprecated public void startScroll(int, int, int, int, int); |
| 3682 | } |
| 3683 | |
| 3684 | public final class TextViewCompat { |
| 3685 | method public static int getAutoSizeMaxTextSize(android.widget.TextView); |
| 3686 | method public static int getAutoSizeMinTextSize(android.widget.TextView); |
| 3687 | method public static int getAutoSizeStepGranularity(android.widget.TextView); |
| 3688 | method public static int[] getAutoSizeTextAvailableSizes(android.widget.TextView); |
| 3689 | method public static int getAutoSizeTextType(android.widget.TextView); |
| 3690 | method public static android.content.res.ColorStateList? getCompoundDrawableTintList(android.widget.TextView); |
| 3691 | method public static android.graphics.PorterDuff.Mode? getCompoundDrawableTintMode(android.widget.TextView); |
| 3692 | method public static android.graphics.drawable.Drawable![] getCompoundDrawablesRelative(android.widget.TextView); |
| 3693 | method public static int getFirstBaselineToTopHeight(android.widget.TextView); |
| 3694 | method public static int getLastBaselineToBottomHeight(android.widget.TextView); |
| 3695 | method public static int getMaxLines(android.widget.TextView); |
| 3696 | method public static int getMinLines(android.widget.TextView); |
| 3697 | method public static androidx.core.text.PrecomputedTextCompat.Params getTextMetricsParams(android.widget.TextView); |
| 3698 | method public static void setAutoSizeTextTypeUniformWithConfiguration(android.widget.TextView, int, int, int, int) throws java.lang.IllegalArgumentException; |
| 3699 | method public static void setAutoSizeTextTypeUniformWithPresetSizes(android.widget.TextView, int[], int) throws java.lang.IllegalArgumentException; |
| 3700 | method public static void setAutoSizeTextTypeWithDefaults(android.widget.TextView, int); |
| 3701 | method public static void setCompoundDrawableTintList(android.widget.TextView, android.content.res.ColorStateList?); |
| 3702 | method public static void setCompoundDrawableTintMode(android.widget.TextView, android.graphics.PorterDuff.Mode?); |
| 3703 | method public static void setCompoundDrawablesRelative(android.widget.TextView, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?); |
| 3704 | method public static void setCompoundDrawablesRelativeWithIntrinsicBounds(android.widget.TextView, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?, android.graphics.drawable.Drawable?); |
| 3705 | method public static void setCompoundDrawablesRelativeWithIntrinsicBounds(android.widget.TextView, @DrawableRes int, @DrawableRes int, @DrawableRes int, @DrawableRes int); |
| 3706 | method public static void setCustomSelectionActionModeCallback(android.widget.TextView, android.view.ActionMode.Callback); |
Aurimas Liutikas | 30297cd | 2019-11-20 11:09:48 -0800 | [diff] [blame] | 3707 | method public static void setFirstBaselineToTopHeight(android.widget.TextView, @IntRange(from=0) @Px int); |
| 3708 | method public static void setLastBaselineToBottomHeight(android.widget.TextView, @IntRange(from=0) @Px int); |
| 3709 | method public static void setLineHeight(android.widget.TextView, @IntRange(from=0) @Px int); |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3710 | method public static void setPrecomputedText(android.widget.TextView, androidx.core.text.PrecomputedTextCompat); |
| 3711 | method public static void setTextAppearance(android.widget.TextView, @StyleRes int); |
| 3712 | method public static void setTextMetricsParams(android.widget.TextView, androidx.core.text.PrecomputedTextCompat.Params); |
| 3713 | field public static final int AUTO_SIZE_TEXT_TYPE_NONE = 0; // 0x0 |
| 3714 | field public static final int AUTO_SIZE_TEXT_TYPE_UNIFORM = 1; // 0x1 |
| 3715 | } |
| 3716 | |
Alan Viverette | cd1aae0 | 2019-08-28 15:28:57 -0400 | [diff] [blame] | 3717 | public interface TintableCompoundButton { |
| 3718 | method public android.content.res.ColorStateList? getSupportButtonTintList(); |
| 3719 | method public android.graphics.PorterDuff.Mode? getSupportButtonTintMode(); |
| 3720 | method public void setSupportButtonTintList(android.content.res.ColorStateList?); |
| 3721 | method public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?); |
| 3722 | } |
| 3723 | |
| 3724 | public interface TintableCompoundDrawablesView { |
| 3725 | method public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList(); |
| 3726 | method public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode(); |
| 3727 | method public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?); |
| 3728 | method public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?); |
| 3729 | } |
| 3730 | |
| 3731 | } |
| 3732 | |