OSDN Git Service

Unhide new methods on RemoteViews and Notification.
authorDaniel Sandler <dsandler@android.com>
Thu, 21 Jun 2012 03:43:41 +0000 (23:43 -0400)
committerDaniel Sandler <dsandler@android.com>
Thu, 21 Jun 2012 04:15:01 +0000 (00:15 -0400)
Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d

api/current.txt
core/java/android/app/Notification.java
core/java/android/widget/RemoteViews.java

index 76777b1..a89c27d 100644 (file)
@@ -3759,6 +3759,7 @@ package android.app {
   public static class Notification.BigPictureStyle extends android.app.Notification.Style {
     ctor public Notification.BigPictureStyle();
     ctor public Notification.BigPictureStyle(android.app.Notification.Builder);
+    method public android.app.Notification.BigPictureStyle bigLargeIcon(android.graphics.Bitmap);
     method public android.app.Notification.BigPictureStyle bigPicture(android.graphics.Bitmap);
     method public android.app.Notification build();
     method public android.app.Notification.BigPictureStyle setBigContentTitle(java.lang.CharSequence);
@@ -28156,8 +28157,11 @@ package android.widget {
     method public void setString(int, java.lang.String, java.lang.String);
     method public void setTextColor(int, int);
     method public void setTextViewCompoundDrawables(int, int, int, int, int);
+    method public void setTextViewCompoundDrawablesRelative(int, int, int, int, int);
     method public void setTextViewText(int, java.lang.CharSequence);
+    method public void setTextViewTextSize(int, int, float);
     method public void setUri(int, java.lang.String, android.net.Uri);
+    method public void setViewPadding(int, int, int, int, int);
     method public void setViewVisibility(int, int);
     method public void showNext(int);
     method public void showPrevious(int);
index bb497c0..8220fd9 100644 (file)
@@ -1733,7 +1733,6 @@ public class Notification implements Parcelable
         }
 
         /**
-         * @hide
          * Override the large icon when the big notification is shown.
          */
         public BigPictureStyle bigLargeIcon(Bitmap b) {
index ad4d742..64de1c3 100644 (file)
@@ -1631,7 +1631,6 @@ public class RemoteViews implements Parcelable, Filter {
     }
 
     /**
-     * @hide
      * Equivalent to calling {@link TextView#setTextSize(int, float)}
      * 
      * @param viewId The id of the view whose text size should change
@@ -1663,7 +1662,6 @@ public class RemoteViews implements Parcelable, Filter {
      * @param top The id of a drawable to place above the text, or 0
      * @param end The id of a drawable to place after the text, or 0
      * @param bottom The id of a drawable to place below the text, or 0
-     * @hide
      */
     public void setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) {
         addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
@@ -1899,7 +1897,6 @@ public class RemoteViews implements Parcelable, Filter {
     }
 
     /**
-     * @hide
      * Equivalent to calling {@link View#setPadding(int, int, int, int)}.
      *
      * @param viewId The id of the view to change