public class CenterWindowRect
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
int |
bottom
Bottom coordinate of the rectangle.
|
static android.os.Parcelable.Creator<CenterWindowRect> |
CREATOR |
int |
left
Left coordinate of the rectangle.
|
int |
right
Right coordinate of the rectangle.
|
int |
top
Top coordinate of the rectangle.
|
Constructor and Description |
---|
CenterWindowRect()
Constructor of CenterWindowRect.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's marchalled representation.
|
void |
readFromParcel(android.os.Parcel in)
Set the rectangle's coordinates from the data stored in the specified parcel.
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
Write this rectangle to the specified parcel.
|
public int left
public int top
public int right
public int bottom
public static final android.os.Parcelable.Creator<CenterWindowRect> CREATOR
public void readFromParcel(android.os.Parcel in)
in
- The parcel to read the rectangle's coordinate fromwriteToParcel()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
dest
- The parcel to write the rectangle's coordinate intoflags
- Additional flags about how the object should be written. Unused.readFromParcel()