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