Loading api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -2938,7 +2938,7 @@ package android.app { method public final void setSecondaryProgress(int); method public void setTitle(java.lang.CharSequence); method public void setTitle(int); method public void setTitleColor(int); method public deprecated void setTitleColor(int); method public void setVisible(boolean); method public final void setVolumeControlStream(int); method public boolean shouldUpRecreateTask(android.content.Intent); Loading Loading @@ -29320,7 +29320,7 @@ package android.view { method public void setLogo(int); method public void setSoftInputMode(int); method public abstract void setTitle(java.lang.CharSequence); method public abstract void setTitleColor(int); method public abstract deprecated void setTitleColor(int); method public void setType(int); method public void setUiOptions(int); method public void setUiOptions(int, int); core/java/android/app/Activity.java +11 −0 Original line number Diff line number Diff line Loading @@ -4598,6 +4598,17 @@ public class Activity extends ContextThemeWrapper setTitle(getText(titleId)); } /** * Change the color of the title associated with this activity. * <p> * This method is deprecated starting in API Level 11 and replaced by action * bar styles. For information on styling the Action Bar, read the <a * href="{@docRoot} guide/topics/ui/actionbar.html">Action Bar</a> developer * guide. * * @deprecated Use action bar styles instead. */ @Deprecated public void setTitleColor(int textColor) { mTitleColor = textColor; onTitleChanged(mTitle, textColor); Loading core/java/android/view/Window.java +1 −0 Original line number Diff line number Diff line Loading @@ -996,6 +996,7 @@ public abstract class Window { public abstract void setTitle(CharSequence title); @Deprecated public abstract void setTitleColor(int textColor); public abstract void openPanel(int featureId, KeyEvent event); Loading policy/src/com/android/internal/policy/impl/PhoneWindow.java +1 −0 Original line number Diff line number Diff line Loading @@ -397,6 +397,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { } @Override @Deprecated public void setTitleColor(int textColor) { if (mTitleView != null) { mTitleView.setTextColor(textColor); Loading Loading
api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -2938,7 +2938,7 @@ package android.app { method public final void setSecondaryProgress(int); method public void setTitle(java.lang.CharSequence); method public void setTitle(int); method public void setTitleColor(int); method public deprecated void setTitleColor(int); method public void setVisible(boolean); method public final void setVolumeControlStream(int); method public boolean shouldUpRecreateTask(android.content.Intent); Loading Loading @@ -29320,7 +29320,7 @@ package android.view { method public void setLogo(int); method public void setSoftInputMode(int); method public abstract void setTitle(java.lang.CharSequence); method public abstract void setTitleColor(int); method public abstract deprecated void setTitleColor(int); method public void setType(int); method public void setUiOptions(int); method public void setUiOptions(int, int);
core/java/android/app/Activity.java +11 −0 Original line number Diff line number Diff line Loading @@ -4598,6 +4598,17 @@ public class Activity extends ContextThemeWrapper setTitle(getText(titleId)); } /** * Change the color of the title associated with this activity. * <p> * This method is deprecated starting in API Level 11 and replaced by action * bar styles. For information on styling the Action Bar, read the <a * href="{@docRoot} guide/topics/ui/actionbar.html">Action Bar</a> developer * guide. * * @deprecated Use action bar styles instead. */ @Deprecated public void setTitleColor(int textColor) { mTitleColor = textColor; onTitleChanged(mTitle, textColor); Loading
core/java/android/view/Window.java +1 −0 Original line number Diff line number Diff line Loading @@ -996,6 +996,7 @@ public abstract class Window { public abstract void setTitle(CharSequence title); @Deprecated public abstract void setTitleColor(int textColor); public abstract void openPanel(int featureId, KeyEvent event); Loading
policy/src/com/android/internal/policy/impl/PhoneWindow.java +1 −0 Original line number Diff line number Diff line Loading @@ -397,6 +397,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { } @Override @Deprecated public void setTitleColor(int textColor) { if (mTitleView != null) { mTitleView.setTextColor(textColor); Loading