Sergey Vasilinets | 49066c4 | 2017-07-10 12:00:26 -0700 | [diff] [blame] | 1 | package android.support.v4.app { |
| 2 | |
| 3 | public class AppLaunchChecker { |
| 4 | ctor public AppLaunchChecker(); |
| 5 | method public static boolean hasStartedFromLauncher(android.content.Context); |
| 6 | method public static void onActivityCreate(android.app.Activity); |
| 7 | } |
| 8 | |
| 9 | public class FrameMetricsAggregator { |
| 10 | ctor public FrameMetricsAggregator(); |
| 11 | ctor public FrameMetricsAggregator(int); |
| 12 | method public void add(android.app.Activity); |
| 13 | method public android.util.SparseIntArray[] getMetrics(); |
| 14 | method public android.util.SparseIntArray[] remove(android.app.Activity); |
| 15 | method public android.util.SparseIntArray[] reset(); |
| 16 | method public android.util.SparseIntArray[] stop(); |
| 17 | field public static final int ANIMATION_DURATION = 256; // 0x100 |
| 18 | field public static final int ANIMATION_INDEX = 8; // 0x8 |
| 19 | field public static final int COMMAND_DURATION = 32; // 0x20 |
| 20 | field public static final int COMMAND_INDEX = 5; // 0x5 |
| 21 | field public static final int DELAY_DURATION = 128; // 0x80 |
| 22 | field public static final int DELAY_INDEX = 7; // 0x7 |
| 23 | field public static final int DRAW_DURATION = 8; // 0x8 |
| 24 | field public static final int DRAW_INDEX = 3; // 0x3 |
| 25 | field public static final int EVERY_DURATION = 511; // 0x1ff |
| 26 | field public static final int INPUT_DURATION = 2; // 0x2 |
| 27 | field public static final int INPUT_INDEX = 1; // 0x1 |
| 28 | field public static final int LAYOUT_MEASURE_DURATION = 4; // 0x4 |
| 29 | field public static final int LAYOUT_MEASURE_INDEX = 2; // 0x2 |
| 30 | field public static final int SWAP_DURATION = 64; // 0x40 |
| 31 | field public static final int SWAP_INDEX = 6; // 0x6 |
| 32 | field public static final int SYNC_DURATION = 16; // 0x10 |
| 33 | field public static final int SYNC_INDEX = 4; // 0x4 |
| 34 | field public static final int TOTAL_DURATION = 1; // 0x1 |
| 35 | field public static final int TOTAL_INDEX = 0; // 0x0 |
| 36 | } |
| 37 | |
| 38 | public final class NavUtils { |
| 39 | method public static android.content.Intent getParentActivityIntent(android.app.Activity); |
| 40 | method public static android.content.Intent getParentActivityIntent(android.content.Context, java.lang.Class<?>) throws android.content.pm.PackageManager.NameNotFoundException; |
| 41 | method public static android.content.Intent getParentActivityIntent(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; |
| 42 | method public static java.lang.String getParentActivityName(android.app.Activity); |
| 43 | method public static java.lang.String getParentActivityName(android.content.Context, android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException; |
| 44 | method public static void navigateUpFromSameTask(android.app.Activity); |
| 45 | method public static void navigateUpTo(android.app.Activity, android.content.Intent); |
| 46 | method public static boolean shouldUpRecreateTask(android.app.Activity, android.content.Intent); |
| 47 | field public static final java.lang.String PARENT_ACTIVITY = "android.support.PARENT_ACTIVITY"; |
| 48 | } |
| 49 | |
| 50 | public final class TaskStackBuilder implements java.lang.Iterable { |
| 51 | method public android.support.v4.app.TaskStackBuilder addNextIntent(android.content.Intent); |
| 52 | method public android.support.v4.app.TaskStackBuilder addNextIntentWithParentStack(android.content.Intent); |
| 53 | method public android.support.v4.app.TaskStackBuilder addParentStack(android.app.Activity); |
| 54 | method public android.support.v4.app.TaskStackBuilder addParentStack(java.lang.Class<?>); |
| 55 | method public android.support.v4.app.TaskStackBuilder addParentStack(android.content.ComponentName); |
| 56 | method public static android.support.v4.app.TaskStackBuilder create(android.content.Context); |
| 57 | method public android.content.Intent editIntentAt(int); |
| 58 | method public static deprecated android.support.v4.app.TaskStackBuilder from(android.content.Context); |
| 59 | method public deprecated android.content.Intent getIntent(int); |
| 60 | method public int getIntentCount(); |
| 61 | method public android.content.Intent[] getIntents(); |
| 62 | method public android.app.PendingIntent getPendingIntent(int, int); |
| 63 | method public android.app.PendingIntent getPendingIntent(int, int, android.os.Bundle); |
| 64 | method public deprecated java.util.Iterator<android.content.Intent> iterator(); |
| 65 | method public void startActivities(); |
| 66 | method public void startActivities(android.os.Bundle); |
| 67 | } |
| 68 | |
| 69 | public static abstract interface TaskStackBuilder.SupportParentable { |
| 70 | method public abstract android.content.Intent getSupportParentActivityIntent(); |
| 71 | } |
| 72 | |
| 73 | } |
| 74 | |
| 75 | package android.support.v4.content { |
| 76 | |
| 77 | public abstract class AsyncTaskLoader<D> extends android.support.v4.content.Loader { |
| 78 | ctor public AsyncTaskLoader(android.content.Context); |
| 79 | method public void cancelLoadInBackground(); |
| 80 | method public boolean isLoadInBackgroundCanceled(); |
| 81 | method public abstract D loadInBackground(); |
| 82 | method public void onCanceled(D); |
| 83 | method protected D onLoadInBackground(); |
| 84 | method public void setUpdateThrottle(long); |
| 85 | } |
| 86 | |
| 87 | public class CursorLoader extends android.support.v4.content.AsyncTaskLoader { |
| 88 | ctor public CursorLoader(android.content.Context); |
| 89 | ctor public CursorLoader(android.content.Context, android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String); |
| 90 | method public void deliverResult(android.database.Cursor); |
| 91 | method public java.lang.String[] getProjection(); |
| 92 | method public java.lang.String getSelection(); |
| 93 | method public java.lang.String[] getSelectionArgs(); |
| 94 | method public java.lang.String getSortOrder(); |
| 95 | method public android.net.Uri getUri(); |
| 96 | method public android.database.Cursor loadInBackground(); |
| 97 | method public void onCanceled(android.database.Cursor); |
| 98 | method public void setProjection(java.lang.String[]); |
| 99 | method public void setSelection(java.lang.String); |
| 100 | method public void setSelectionArgs(java.lang.String[]); |
| 101 | method public void setSortOrder(java.lang.String); |
| 102 | method public void setUri(android.net.Uri); |
| 103 | } |
| 104 | |
| 105 | public class FileProvider extends android.content.ContentProvider { |
| 106 | ctor public FileProvider(); |
| 107 | method public int delete(android.net.Uri, java.lang.String, java.lang.String[]); |
| 108 | method public java.lang.String getType(android.net.Uri); |
| 109 | method public static android.net.Uri getUriForFile(android.content.Context, java.lang.String, java.io.File); |
| 110 | method public android.net.Uri insert(android.net.Uri, android.content.ContentValues); |
| 111 | method public boolean onCreate(); |
| 112 | method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String); |
| 113 | method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]); |
| 114 | } |
| 115 | |
| 116 | public class Loader<D> { |
| 117 | ctor public Loader(android.content.Context); |
| 118 | method public void abandon(); |
| 119 | method public boolean cancelLoad(); |
| 120 | method public void commitContentChanged(); |
| 121 | method public java.lang.String dataToString(D); |
| 122 | method public void deliverCancellation(); |
| 123 | method public void deliverResult(D); |
| 124 | method public void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); |
| 125 | method public void forceLoad(); |
| 126 | method public android.content.Context getContext(); |
| 127 | method public int getId(); |
| 128 | method public boolean isAbandoned(); |
| 129 | method public boolean isReset(); |
| 130 | method public boolean isStarted(); |
| 131 | method protected void onAbandon(); |
| 132 | method protected boolean onCancelLoad(); |
| 133 | method public void onContentChanged(); |
| 134 | method protected void onForceLoad(); |
| 135 | method protected void onReset(); |
| 136 | method protected void onStartLoading(); |
| 137 | method protected void onStopLoading(); |
| 138 | method public void registerListener(int, android.support.v4.content.Loader.OnLoadCompleteListener<D>); |
| 139 | method public void registerOnLoadCanceledListener(android.support.v4.content.Loader.OnLoadCanceledListener<D>); |
| 140 | method public void reset(); |
| 141 | method public void rollbackContentChanged(); |
| 142 | method public final void startLoading(); |
| 143 | method public void stopLoading(); |
| 144 | method public boolean takeContentChanged(); |
| 145 | method public void unregisterListener(android.support.v4.content.Loader.OnLoadCompleteListener<D>); |
| 146 | method public void unregisterOnLoadCanceledListener(android.support.v4.content.Loader.OnLoadCanceledListener<D>); |
| 147 | } |
| 148 | |
| 149 | public final class Loader.ForceLoadContentObserver extends android.database.ContentObserver { |
| 150 | ctor public Loader.ForceLoadContentObserver(); |
| 151 | } |
| 152 | |
| 153 | public static abstract interface Loader.OnLoadCanceledListener<D> { |
| 154 | method public abstract void onLoadCanceled(android.support.v4.content.Loader<D>); |
| 155 | } |
| 156 | |
| 157 | public static abstract interface Loader.OnLoadCompleteListener<D> { |
| 158 | method public abstract void onLoadComplete(android.support.v4.content.Loader<D>, D); |
| 159 | } |
| 160 | |
| 161 | public final class LocalBroadcastManager { |
| 162 | method public static android.support.v4.content.LocalBroadcastManager getInstance(android.content.Context); |
| 163 | method public void registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter); |
| 164 | method public boolean sendBroadcast(android.content.Intent); |
| 165 | method public void sendBroadcastSync(android.content.Intent); |
| 166 | method public void unregisterReceiver(android.content.BroadcastReceiver); |
| 167 | } |
| 168 | |
| 169 | public final class MimeTypeFilter { |
| 170 | method public static boolean matches(java.lang.String, java.lang.String); |
| 171 | method public static java.lang.String matches(java.lang.String, java.lang.String[]); |
| 172 | method public static java.lang.String matches(java.lang.String[], java.lang.String); |
| 173 | method public static java.lang.String[] matchesMany(java.lang.String[], java.lang.String); |
| 174 | } |
| 175 | |
| 176 | public final class PermissionChecker { |
| 177 | method public static int checkCallingOrSelfPermission(android.content.Context, java.lang.String); |
| 178 | method public static int checkCallingPermission(android.content.Context, java.lang.String, java.lang.String); |
| 179 | method public static int checkPermission(android.content.Context, java.lang.String, int, int, java.lang.String); |
| 180 | method public static int checkSelfPermission(android.content.Context, java.lang.String); |
| 181 | field public static final int PERMISSION_DENIED = -1; // 0xffffffff |
| 182 | field public static final int PERMISSION_DENIED_APP_OP = -2; // 0xfffffffe |
| 183 | field public static final int PERMISSION_GRANTED = 0; // 0x0 |
| 184 | } |
| 185 | |
| 186 | public abstract deprecated class WakefulBroadcastReceiver extends android.content.BroadcastReceiver { |
| 187 | ctor public WakefulBroadcastReceiver(); |
| 188 | method public static boolean completeWakefulIntent(android.content.Intent); |
| 189 | method public static android.content.ComponentName startWakefulService(android.content.Context, android.content.Intent); |
| 190 | } |
| 191 | |
| 192 | } |
| 193 | |
| 194 | package android.support.v4.graphics { |
| 195 | |
| 196 | public final class ColorUtils { |
| 197 | method public static int HSLToColor(float[]); |
| 198 | method public static int LABToColor(double, double, double); |
| 199 | method public static void LABToXYZ(double, double, double, double[]); |
| 200 | method public static void RGBToHSL(int, int, int, float[]); |
| 201 | method public static void RGBToLAB(int, int, int, double[]); |
| 202 | method public static void RGBToXYZ(int, int, int, double[]); |
| 203 | method public static int XYZToColor(double, double, double); |
| 204 | method public static void XYZToLAB(double, double, double, double[]); |
| 205 | method public static int blendARGB(int, int, float); |
| 206 | method public static void blendHSL(float[], float[], float, float[]); |
| 207 | method public static void blendLAB(double[], double[], double, double[]); |
| 208 | method public static double calculateContrast(int, int); |
| 209 | method public static double calculateLuminance(int); |
| 210 | method public static int calculateMinimumAlpha(int, int, float); |
| 211 | method public static void colorToHSL(int, float[]); |
| 212 | method public static void colorToLAB(int, double[]); |
| 213 | method public static void colorToXYZ(int, double[]); |
| 214 | method public static int compositeColors(int, int); |
| 215 | method public static double distanceEuclidean(double[], double[]); |
| 216 | method public static int setAlphaComponent(int, int); |
| 217 | } |
| 218 | |
| 219 | } |
| 220 | |
| 221 | package android.support.v4.graphics.drawable { |
| 222 | |
| 223 | public abstract class RoundedBitmapDrawable extends android.graphics.drawable.Drawable { |
| 224 | method public void draw(android.graphics.Canvas); |
| 225 | method public final android.graphics.Bitmap getBitmap(); |
| 226 | method public float getCornerRadius(); |
| 227 | method public int getGravity(); |
| 228 | method public int getOpacity(); |
| 229 | method public final android.graphics.Paint getPaint(); |
| 230 | method public boolean hasAntiAlias(); |
| 231 | method public boolean hasMipMap(); |
| 232 | method public boolean isCircular(); |
| 233 | method public void setAlpha(int); |
| 234 | method public void setAntiAlias(boolean); |
| 235 | method public void setCircular(boolean); |
| 236 | method public void setColorFilter(android.graphics.ColorFilter); |
| 237 | method public void setCornerRadius(float); |
| 238 | method public void setDither(boolean); |
| 239 | method public void setGravity(int); |
| 240 | method public void setMipMap(boolean); |
| 241 | method public void setTargetDensity(android.graphics.Canvas); |
| 242 | method public void setTargetDensity(android.util.DisplayMetrics); |
| 243 | method public void setTargetDensity(int); |
| 244 | } |
| 245 | |
| 246 | public final class RoundedBitmapDrawableFactory { |
| 247 | method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, android.graphics.Bitmap); |
| 248 | method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, java.lang.String); |
| 249 | method public static android.support.v4.graphics.drawable.RoundedBitmapDrawable create(android.content.res.Resources, java.io.InputStream); |
| 250 | } |
| 251 | |
| 252 | } |
| 253 | |
| 254 | package android.support.v4.math { |
| 255 | |
| 256 | public class MathUtils { |
| 257 | method public static float clamp(float, float, float); |
| 258 | method public static double clamp(double, double, double); |
| 259 | method public static int clamp(int, int, int); |
| 260 | } |
| 261 | |
| 262 | } |
| 263 | |
| 264 | package android.support.v4.print { |
| 265 | |
| 266 | public final class PrintHelper { |
| 267 | ctor public PrintHelper(android.content.Context); |
| 268 | method public int getColorMode(); |
| 269 | method public int getOrientation(); |
| 270 | method public int getScaleMode(); |
| 271 | method public void printBitmap(java.lang.String, android.graphics.Bitmap); |
| 272 | method public void printBitmap(java.lang.String, android.graphics.Bitmap, android.support.v4.print.PrintHelper.OnPrintFinishCallback); |
| 273 | method public void printBitmap(java.lang.String, android.net.Uri) throws java.io.FileNotFoundException; |
| 274 | method public void printBitmap(java.lang.String, android.net.Uri, android.support.v4.print.PrintHelper.OnPrintFinishCallback) throws java.io.FileNotFoundException; |
| 275 | method public void setColorMode(int); |
| 276 | method public void setOrientation(int); |
| 277 | method public void setScaleMode(int); |
| 278 | method public static boolean systemSupportsPrint(); |
| 279 | field public static final int COLOR_MODE_COLOR = 2; // 0x2 |
| 280 | field public static final int COLOR_MODE_MONOCHROME = 1; // 0x1 |
| 281 | field public static final int ORIENTATION_LANDSCAPE = 1; // 0x1 |
| 282 | field public static final int ORIENTATION_PORTRAIT = 2; // 0x2 |
| 283 | field public static final int SCALE_MODE_FILL = 2; // 0x2 |
| 284 | field public static final int SCALE_MODE_FIT = 1; // 0x1 |
| 285 | } |
| 286 | |
| 287 | public static abstract interface PrintHelper.OnPrintFinishCallback { |
| 288 | method public abstract void onFinish(); |
| 289 | } |
| 290 | |
| 291 | } |
| 292 | |
| 293 | package android.support.v4.provider { |
| 294 | |
| 295 | public abstract class DocumentFile { |
| 296 | method public abstract boolean canRead(); |
| 297 | method public abstract boolean canWrite(); |
| 298 | method public abstract android.support.v4.provider.DocumentFile createDirectory(java.lang.String); |
| 299 | method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.lang.String); |
| 300 | method public abstract boolean delete(); |
| 301 | method public abstract boolean exists(); |
| 302 | method public android.support.v4.provider.DocumentFile findFile(java.lang.String); |
| 303 | method public static android.support.v4.provider.DocumentFile fromFile(java.io.File); |
| 304 | method public static android.support.v4.provider.DocumentFile fromSingleUri(android.content.Context, android.net.Uri); |
| 305 | method public static android.support.v4.provider.DocumentFile fromTreeUri(android.content.Context, android.net.Uri); |
| 306 | method public abstract java.lang.String getName(); |
| 307 | method public android.support.v4.provider.DocumentFile getParentFile(); |
| 308 | method public abstract java.lang.String getType(); |
| 309 | method public abstract android.net.Uri getUri(); |
| 310 | method public abstract boolean isDirectory(); |
| 311 | method public static boolean isDocumentUri(android.content.Context, android.net.Uri); |
| 312 | method public abstract boolean isFile(); |
| 313 | method public abstract boolean isVirtual(); |
| 314 | method public abstract long lastModified(); |
| 315 | method public abstract long length(); |
| 316 | method public abstract android.support.v4.provider.DocumentFile[] listFiles(); |
| 317 | method public abstract boolean renameTo(java.lang.String); |
| 318 | } |
| 319 | |
| 320 | } |
| 321 | |