Lines Matching defs:Context

57 public abstract class Context {
264 * Context whose lifecycle is separate from the current context, that is
278 * <li> <p>If used from the Context returned here, the receiver is being
286 public abstract Context getApplicationContext();
290 * Context, which will be called at the same times as the ComponentCallbacks
345 * before any views are instantiated in the Context (for example before
360 * Return the Theme object associated with this Context.
365 * Retrieve styled attribute information in this Context's theme. See
377 * Retrieve styled attribute information in this Context's theme. See
389 * Retrieve styled attribute information in this Context's theme. See
401 * Retrieve styled attribute information in this Context's theme. See
487 * Open a private file associated with this Context's application package
504 * Open a private file associated with this Context's application package
529 * Delete the given private file associated with this Context's
605 * {@link android.media.MediaScannerConnection#scanFile(Context, String[], String[],
723 * this Context's application package.
755 * Open a new private SQLiteDatabase associated with this Context's
779 * Open a new private SQLiteDatabase associated with this Context's
807 * Delete an existing private SQLiteDatabase associated with this Context's
834 * this Context's application package.
930 * {@link android.app.Activity} Context, then the Intent must include
999 * See {@link android.content.Context#startActivity(Intent, Bundle)
1000 * Context.startActivity(Intent, Bundle)} for more details.
1027 * See {@link android.content.Context#startActivity(Intent, Bundle)
1028 * Context.startActivity(Intent, Bundle)} for more details.
1076 * See {@link android.content.Context#startActivity(Intent, Bundle)
1077 * Context.startActivity(Intent, Bundle)} for more details. If options
1185 * scheduled in the Context's main thread.
1256 * scheduled in the Context's main thread.
1315 * scheduled in the Context's main thread.
1382 * scheduled in the Context's main thread.
1631 * example, if this Context is an Activity that is stopped, the service will
1772 * the Context in which they are obtained from. In general, do not share the
2617 * restrictions on the Context being requested, allowing it to always
2632 * Return a new Context object for the given application name. This
2633 * Context is the same as what the named application gets when it is
2635 * this method returns a new instance of a Context object; Context objects
2637 * etc) so the Context instance itself is fairly lightweight.
2642 * <p>Throws {@link java.lang.SecurityException} if the Context requested
2650 * @return A Context for the application.
2656 public abstract Context createPackageContext(String packageName,
2666 public abstract Context createPackageContextAsUser(
2671 * Return a new Context object for the current Context but whose resources
2673 * returns a new instance of a Context object; Context objects are not
2675 * same configuration) may be so the Context itself can be fairly lightweight.
2678 * values to modify in the base Configuration of the original Context's
2683 * @return A Context with the given configuration override.
2685 public abstract Context createConfigurationContext(Configuration overrideConfiguration);
2688 * Return a new Context object for the current Context but whose resources
2690 * returns a new instance of a Context object; Context objects are not
2692 * same configuration) may be so the Context itself can be fairly lightweight.
2694 * The returned display Context provides a {@link WindowManager}
2697 * method can be used to retrieve the Display from the returned Context.
2700 * for whose metrics the Context's resources should be tailored and upon which
2703 * @return A Context for the display.
2705 public abstract Context createDisplayContext(Display display);
2719 * Indicates whether this Context is restricted.
2721 * @return True if this Context is restricted, false otherwise.