| Modifier and Type | Field and Description |
|---|---|
| private RectBounds[] | |
| public static final int | |
| public static final int | |
| private int | |
| private int[][] | heap
Shared for all compressing algorithms |
| private int | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| private RectBounds | |
| private void | |
| public DirtyRegionContainer | |
| public DirtyRegionContainer | |
| public DirtyRegionContainer | |
| public DirtyRegionContainer | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public RectBounds | Returns: dirty region at given indexthe index of requested dirty region index)Gets the dirty region at given index. |
| public void | |
| public int | |
| private boolean | Returns: true if there is empty region in the array; false otherwiseIf there are empty regions in the dirty regions array. |
| private void | |
| private void | |
| private void | |
| public int | |
| public void | |
| private void | |
| public void | |
| private int | |
| public void | |
| public void | |
| private void | |
| public int | |
| private int[] | |
| private int[] | |
| public String | |
| private int |
| dirtyRegions | back to summary |
|---|---|
| private RectBounds[] dirtyRegions | |
| DTR_CONTAINS_CLIP | back to summary |
|---|---|
| public static final int DTR_CONTAINS_CLIP | |
| DTR_OK | back to summary |
|---|---|
| public static final int DTR_OK | |
| emptyIndex | back to summary |
|---|---|
| private int emptyIndex | |
| heap | back to summary |
|---|---|
| private int[][] heap Shared for all compressing algorithms | |
| heapSize | back to summary |
|---|---|
| private int heapSize | |
| invalidMask | back to summary |
|---|---|
| private long invalidMask | |
| DirtyRegionContainer | back to summary |
|---|---|
| public DirtyRegionContainer(int count) | |
| addDirtyRegion | back to summary |
|---|---|
| public void addDirtyRegion(final RectBounds region) Adds new dirty region to the array.
| |
| checkAndClearRegion | back to summary |
|---|---|
| public boolean checkAndClearRegion(int index) | |
| compress | back to summary |
|---|---|
| private RectBounds compress(final RectBounds region) | |
| compress_heap | back to summary |
|---|---|
| private void compress_heap() Heap-based compressing algorithm | |
| copy | back to summary |
|---|---|
| public DirtyRegionContainer copy() | |
| deriveWithNewContainer | back to summary |
|---|---|
| public DirtyRegionContainer deriveWithNewContainer(DirtyRegionContainer other) | |
| deriveWithNewRegion | back to summary |
|---|---|
| public DirtyRegionContainer deriveWithNewRegion(RectBounds region) | |
| deriveWithNewRegions | back to summary |
|---|---|
| public DirtyRegionContainer deriveWithNewRegions(RectBounds[] regions) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDirtyRegion | back to summary |
|---|---|
| public RectBounds getDirtyRegion(int index) Gets the dirty region at given index.
| |
| grow | back to summary |
|---|---|
| public void grow(int horizontal, int vertical) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasSpace | back to summary |
|---|---|
| private boolean hasSpace() If there are empty regions in the dirty regions array.
| |
| heapCompress | back to summary |
|---|---|
| private void heapCompress() | |
| heapify | back to summary |
|---|---|
| private void heapify() | |
| initDirtyRegions | back to summary |
|---|---|
| private void initDirtyRegions(int count) | |
| maxSpace | back to summary |
|---|---|
| public int maxSpace() | |
| merge | back to summary |
|---|---|
| public void merge(DirtyRegionContainer other) | |
| regioncopy | back to summary |
|---|---|
| private void regioncopy(RectBounds[] src, int from, RectBounds[] dest, int to, int length) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| resolveMap | back to summary |
|---|---|
| private int resolveMap(int[] map, int idx) | |
| roundOut | back to summary |
|---|---|
| public void roundOut() | |
| setDirtyRegion | back to summary |
|---|---|
| public void setDirtyRegion(int index, RectBounds region) | |
| siftDown | back to summary |
|---|---|
| private void siftDown(int i) | |
| size | back to summary |
|---|---|
| public int size() | |
| takeMin | back to summary |
|---|---|
| private int[] takeMin() | |
| takeMinWithMap | back to summary |
|---|---|
| private int[] takeMinWithMap(int[] map) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| unifiedRegionArea | back to summary |
|---|---|
| private int unifiedRegionArea(int i0, int i1) | |