public interface BackingStoreManager
Modifier and Type | Method and Description |
---|---|
boolean |
additionFailed(Rect cause,
int attemptNumber)
Notification that addition of the given Rect failed because a
maximum size was set in the RectanglePacker and the backing
store could not be expanded, or because compaction (and,
therefore, implicitly expansion) was not supported.
|
Object |
allocateBackingStore(int w,
int h) |
void |
beginMovement(Object oldBackingStore,
Object newBackingStore)
Notification that movement is starting.
|
boolean |
canCompact()
Indication whether this BackingStoreManager supports compaction;
in other words, the allocation of a new backing store and
movement of the contents of the backing store from the old to
the new one.
|
void |
deleteBackingStore(Object backingStore) |
void |
endMovement(Object oldBackingStore,
Object newBackingStore)
Notification that movement is ending.
|
void |
move(Object oldBackingStore,
Rect oldLocation,
Object newBackingStore,
Rect newLocation)
Tells the manager to move the contents of the given rect from
the old location on the old backing store to the new location on
the new backing store.
|
boolean |
preExpand(Rect cause,
int attemptNumber)
Notification that expansion of the backing store is about to be
done due to addition of the given rectangle.
|
Object allocateBackingStore(int w, int h)
void deleteBackingStore(Object backingStore)
boolean canCompact()
boolean preExpand(Rect cause, int attemptNumber)
boolean additionFailed(Rect cause, int attemptNumber)
void beginMovement(Object oldBackingStore, Object newBackingStore)
void move(Object oldBackingStore, Rect oldLocation, Object newBackingStore, Rect newLocation)
Copyright 2010 JogAmp Community.