Lines Matching defs:Context

69 public abstract class Context {
314 * Context whose lifecycle is separate from the current context, that is
328 * <li> <p>If used from the Context returned here, the receiver is being
336 public abstract Context getApplicationContext();
340 * Context, which will be called at the same times as the ComponentCallbacks
408 * before any views are instantiated in the Context (for example before
423 * Return the Theme object associated with this Context.
429 * Retrieve styled attribute information in this Context's theme. See
441 * Retrieve styled attribute information in this Context's theme. See
453 * Retrieve styled attribute information in this Context's theme. See
465 * Retrieve styled attribute information in this Context's theme. See
561 * Open a private file associated with this Context's application package
578 * Open a private file associated with this Context's application package
606 * Delete the given private file associated with this Context's
713 * {@link android.media.MediaScannerConnection#scanFile(Context, String[], String[],
1008 * this Context's application package.
1040 * Open a new private SQLiteDatabase associated with this Context's
1064 * Open a new private SQLiteDatabase associated with this Context's
1093 * Delete an existing private SQLiteDatabase associated with this Context's
1120 * this Context's application package.
1216 * {@link android.app.Activity} Context, then the Intent must include
1285 * See {@link android.content.Context#startActivity(Intent, Bundle)
1286 * Context.startActivity(Intent, Bundle)} for more details.
1313 * See {@link android.content.Context#startActivity(Intent, Bundle)
1314 * Context.startActivity(Intent, Bundle)} for more details.
1362 * See {@link android.content.Context#startActivity(Intent, Bundle)
1363 * Context.startActivity(Intent, Bundle)} for more details. If options
1479 * scheduled in the Context's main thread.
1559 * scheduled in the Context's main thread.
1643 * scheduled in the Context's main thread.
1731 * scheduled in the Context's main thread.
1992 * example, if this Context is an Activity that is stopped, the service will
2207 * the Context in which they are obtained from. In general, do not share the
2458 * Constant for the internal network management service, not really a Context service.
3313 * restrictions on the Context being requested, allowing it to always
3334 * Return a new Context object for the given application name. This
3335 * Context is the same as what the named application gets when it is
3337 * this method returns a new instance of a Context object; Context objects
3339 * etc) so the Context instance itself is fairly lightweight.
3344 * <p>Throws {@link java.lang.SecurityException} if the Context requested
3352 * @return A {@link Context} for the application.
3358 public abstract Context createPackageContext(String packageName,
3368 public abstract Context createPackageContextAsUser(
3377 public abstract Context createApplicationContext(ApplicationInfo application,
3389 * Return a new Context object for the current Context but whose resources
3391 * returns a new instance of a Context object; Context objects are not
3393 * same configuration) may be so the Context itself can be fairly lightweight.
3396 * values to modify in the base Configuration of the original Context's
3401 * @return A {@link Context} with the given configuration override.
3403 public abstract Context createConfigurationContext(
3407 * Return a new Context object for the current Context but whose resources
3409 * returns a new instance of a Context object; Context objects are not
3411 * same configuration) may be so the Context itself can be fairly lightweight.
3413 * The returned display Context provides a {@link WindowManager}
3416 * method can be used to retrieve the Display from the returned Context.
3419 * for whose metrics the Context's resources should be tailored and upon which
3422 * @return A {@link Context} for the display.
3424 public abstract Context createDisplayContext(@NonNull Display display);
3438 * Indicates whether this Context is restricted.
3440 * @return {@code true} if this Context is restricted, {@code false} otherwise.