RemoteViews.RemoteViewOutlineProvider
public
static
final
class
RemoteViews.RemoteViewOutlineProvider
extends ViewOutlineProvider
OutlineProvider for a view with a radius set by
RemoteViews.setViewOutlinePreferredRadius(int, float, int)
.
Summary
Public methods |
void
|
getOutline(View view, Outline outline)
Called to get the provider to populate the Outline.
|
float
|
getRadius()
Returns the corner radius used when providing the view outline.
|
Inherited methods |
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
|
|
Public constructors
RemoteViewOutlineProvider
public RemoteViewOutlineProvider (float radius)
Public methods
getOutline
public void getOutline (View view,
Outline outline)
Called to get the provider to populate the Outline.
This method will be called by a View when its owned Drawables are invalidated, when the
View's size changes, or if View.invalidateOutline()
is called
explicitly.
The input outline is empty and has an alpha of 1.0f
.
Parameters |
view |
View : This value cannot be null . |
outline |
Outline : This value cannot be null . |
getRadius
public float getRadius ()
Returns the corner radius used when providing the view outline.