public class Screen
extends java.lang.Object
| Constructor and Description |
|---|
Screen() |
| Modifier and Type | Method and Description |
|---|---|
Screen |
deepCopy()
Returns a copy of the object that shares no state with it,
but is initialized to equivalent values.
|
boolean |
equals(java.lang.Object o) |
int |
getChin()
Get the "chin" height in pixels.
|
double |
getDiagonalLength() |
int |
getFoldedHeight() |
int |
getFoldedWidth() |
int |
getFoldedXOffset() |
int |
getFoldedYOffset() |
com.android.resources.TouchScreen |
getMechanism() |
Multitouch |
getMultitouch() |
com.android.resources.Density |
getPixelDensity() |
com.android.resources.ScreenRatio |
getRatio() |
com.android.resources.ScreenRound |
getScreenRound() |
ScreenType |
getScreenType() |
com.android.resources.ScreenSize |
getSize() |
int |
getXDimension() |
double |
getXdpi() |
int |
getYDimension() |
double |
getYdpi() |
int |
hashCode() |
boolean |
isFoldable() |
void |
setChin(int chin)
Sets the "chin" height in pixels.
|
void |
setDiagonalLength(double diagonalLength) |
void |
setFoldedHeight(int height) |
void |
setFoldedWidth(int width) |
void |
setFoldedXOffset(int xOffset) |
void |
setFoldedYOffset(int yOffset) |
void |
setMechanism(com.android.resources.TouchScreen mechanism) |
void |
setMultitouch(Multitouch m) |
void |
setPixelDensity(com.android.resources.Density pDensity) |
void |
setRatio(com.android.resources.ScreenRatio ratio) |
void |
setScreenRound(com.android.resources.ScreenRound screenRound) |
void |
setScreenType(ScreenType screenType) |
void |
setSize(com.android.resources.ScreenSize s) |
void |
setXDimension(int xDimension) |
void |
setXdpi(double xdpi) |
void |
setYDimension(int yDimension) |
void |
setYdpi(double ydpi) |
java.lang.String |
toString() |
public com.android.resources.ScreenSize getSize()
public void setSize(com.android.resources.ScreenSize s)
public double getDiagonalLength()
public void setDiagonalLength(double diagonalLength)
public com.android.resources.Density getPixelDensity()
public void setPixelDensity(com.android.resources.Density pDensity)
public com.android.resources.ScreenRatio getRatio()
public void setRatio(com.android.resources.ScreenRatio ratio)
public int getXDimension()
public void setXDimension(int xDimension)
public int getYDimension()
public void setYDimension(int yDimension)
public double getXdpi()
public void setXdpi(double xdpi)
public double getYdpi()
public void setYdpi(double ydpi)
public Multitouch getMultitouch()
public void setMultitouch(Multitouch m)
public com.android.resources.TouchScreen getMechanism()
public void setMechanism(com.android.resources.TouchScreen mechanism)
public ScreenType getScreenType()
public void setScreenType(ScreenType screenType)
@Nullable public com.android.resources.ScreenRound getScreenRound()
public void setScreenRound(@Nullable
com.android.resources.ScreenRound screenRound)
public boolean isFoldable()
public void setFoldedXOffset(int xOffset)
public int getFoldedXOffset()
public void setFoldedYOffset(int yOffset)
public int getFoldedYOffset()
public void setFoldedWidth(int width)
public int getFoldedWidth()
public void setFoldedHeight(int height)
public int getFoldedHeight()
public int getChin()
public void setChin(int chin)
getChin()public Screen deepCopy()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object