summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/Activity.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-08-20 19:31:38 -0700
committerDianne Hackborn <hackbod@google.com>2009-08-20 20:34:42 -0700
commit3be63c09309b21c01b535271625d4c39045690e5 (patch)
tree5bc349f6c916ddb80bf852fa68de11cdfe3cfadf /core/java/android/app/Activity.java
parente13ec26e6cab65831eefbd7b3c7aeee9ea714c91 (diff)
downloadframeworks_base-3be63c09309b21c01b535271625d4c39045690e5.zip
frameworks_base-3be63c09309b21c01b535271625d4c39045690e5.tar.gz
frameworks_base-3be63c09309b21c01b535271625d4c39045690e5.tar.bz2
Infrastructure for supporting wallpaper previews.
Various things that will allow us to show previews of wallpapers. Also some fixes to animations across wallpapers.
Diffstat (limited to 'core/java/android/app/Activity.java')
-rw-r--r--core/java/android/app/Activity.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 10e6299..80d7285 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1930,11 +1930,32 @@ public class Activity extends ContextThemeWrapper
*
* @see #hasWindowFocus()
* @see #onResume
+ * @see View#onWindowFocusChanged(boolean)
*/
public void onWindowFocusChanged(boolean hasFocus) {
}
/**
+ * Called when the main window associated with the activity has been
+ * attached to the window manager.
+ * See {@link View#onAttachedToWindow() View.onAttachedToWindow()}
+ * for more information.
+ * @see View#onAttachedToWindow
+ */
+ public void onAttachedToWindow() {
+ }
+
+ /**
+ * Called when the main window associated with the activity has been
+ * detached from the window manager.
+ * See {@link View#onDetachedFromWindow() View.onDetachedFromWindow()}
+ * for more information.
+ * @see View#onDetachedFromWindow
+ */
+ public void onDetachedFromWindow() {
+ }
+
+ /**
* Returns true if this activity's <em>main</em> window currently has window focus.
* Note that this is not the same as the view itself having focus.
*