replicant-vendor_replicant/cmsdk/api/1.txt

164 lines
7.3 KiB
Plaintext
Raw Normal View History

package cyanogenmod.app {
public class CMStatusBarManager {
method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context);
method public void publishTile(int, cyanogenmod.app.CustomTile);
method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile);
method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
method public void removeTile(int);
method public void removeTile(java.lang.String, int);
method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle);
}
public class CustomTile implements android.os.Parcelable {
ctor public CustomTile(android.os.Parcel);
ctor public CustomTile();
method public cyanogenmod.app.CustomTile clone();
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR;
field public java.lang.String contentDescription;
field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle;
field public int icon;
field public java.lang.String label;
field public android.app.PendingIntent onClick;
field public android.net.Uri onClickUri;
field public android.content.Intent onSettingsClick;
}
public static class CustomTile.Builder {
ctor public CustomTile.Builder(android.content.Context);
method public cyanogenmod.app.CustomTile build();
method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String);
method public cyanogenmod.app.CustomTile.Builder setContentDescription(int);
method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle);
method public cyanogenmod.app.CustomTile.Builder setIcon(int);
method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String);
method public cyanogenmod.app.CustomTile.Builder setLabel(int);
method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent);
method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri);
method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent);
}
public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem {
ctor public CustomTile.ExpandedGridItem();
method public void setExpandedGridItemDrawable(int);
method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent);
method public void setExpandedGridItemTitle(java.lang.String);
}
public static class CustomTile.ExpandedItem implements android.os.Parcelable {
ctor protected CustomTile.ExpandedItem(android.os.Parcel);
method public int describeContents();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR;
field public int itemDrawableResourceId;
field public java.lang.String itemSummary;
field public java.lang.String itemTitle;
field public android.app.PendingIntent onClickPendingIntent;
}
public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem {
ctor public CustomTile.ExpandedListItem();
method public void setExpandedListItemDrawable(int);
method public void setExpandedListItemOnClickIntent(android.app.PendingIntent);
method public void setExpandedListItemSummary(java.lang.String);
method public void setExpandedListItemTitle(java.lang.String);
}
public static class CustomTile.ExpandedStyle implements android.os.Parcelable {
method public int describeContents();
method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems();
method public int getStyle();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR;
field public static final int GRID_STYLE = 0; // 0x0
field public static final int LIST_STYLE = 1; // 0x1
}
public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
ctor public CustomTile.GridExpandedStyle();
method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>);
}
public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
ctor public CustomTile.ListExpandedStyle();
method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>);
}
public class CustomTileListenerService extends android.app.Service {
ctor public CustomTileListenerService();
method public android.os.IBinder onBind(android.content.Intent);
method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile);
method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile);
method public void onListenerConnected();
method public final void removeCustomTile(java.lang.String, java.lang.String, int);
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService";
}
public class StatusBarPanelCustomTile implements android.os.Parcelable {
ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long);
ctor public StatusBarPanelCustomTile(android.os.Parcel);
method public cyanogenmod.app.StatusBarPanelCustomTile clone();
method public int describeContents();
method public cyanogenmod.app.CustomTile getCustomTile();
method public int getId();
method public java.lang.String getKey();
method public java.lang.String getPackage();
method public long getPostTime();
method public java.lang.String getTag();
method public android.os.UserHandle getUser();
method public int getUserId();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR;
}
}
package cyanogenmod.os {
public class Build {
ctor public Build();
method public static java.lang.String getNameForSDKInt(int);
field public static final java.lang.String UNKNOWN = "unknown";
}
public static class Build.CM_VERSION {
ctor public Build.CM_VERSION();
field public static final int SDK_INT;
}
public static class Build.CM_VERSION_CODES {
ctor public Build.CM_VERSION_CODES();
field public static final int APRICOT = 1; // 0x1
}
}
package cyanogenmod.platform {
public final class Manifest {
ctor public Manifest();
}
public static final class Manifest.permission {
ctor public Manifest.permission();
field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
}
public final class R {
ctor public R();
}
public static final class R.attr {
ctor public R.attr();
}
public static final class R.string {
ctor public R.string();
}
}