Home
last modified time | relevance | path

Searched refs:SparseRectFArray (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
DSparseRectFArray.java35 public final class SparseRectFArray implements Parcelable { class
58 public SparseRectFArray(final Parcel source) { in SparseRectFArray() method in SparseRectFArray
102 if (!(obj instanceof SparseRectFArray)) { in equals()
105 final SparseRectFArray that = (SparseRectFArray) obj; in equals()
231 public SparseRectFArray build() { in build()
232 return new SparseRectFArray(this); in build()
245 private SparseRectFArray(final SparseRectFArrayBuilder builder) { in SparseRectFArray() method in SparseRectFArray
295 public static final @android.annotation.NonNull Parcelable.Creator<SparseRectFArray> CREATOR =
296 new Parcelable.Creator<SparseRectFArray>() {
298 public SparseRectFArray createFromParcel(Parcel source) {
[all …]
DCursorAnchorInfo.java28 import android.view.inputmethod.SparseRectFArray.SparseRectFArrayBuilder;
105 private final SparseRectFArray mCharacterBoundsArray;
143 mCharacterBoundsArray = source.readParcelable(SparseRectFArray.class.getClassLoader()); in CursorAnchorInfo()
417 final SparseRectFArray characterBoundsArray = in create()
439 @Nullable SparseRectFArray characterBoundsArray, @NonNull float[] matrixValues) { in CursorAnchorInfo()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DSparseRectFArrayTest.java26 import android.view.inputmethod.SparseRectFArray.SparseRectFArrayBuilder;
94 final SparseRectFArray array = builder.build(); in testBuilder()
108 final SparseRectFArray array2 = builder.build(); in testBuilder()
123 final SparseRectFArray array3 = cloneViaParcel(array); in testBuilder()
259 private static void assertEqualRects(SparseRectFArray a, SparseRectFArray b) { in assertEqualRects()
266 private static void assertNotEqualRects(SparseRectFArray a, SparseRectFArray b) { in assertNotEqualRects()
270 private static SparseRectFArray cloneViaParcel(final SparseRectFArray src) { in cloneViaParcel()
276 return new SparseRectFArray(parcel); in cloneViaParcel()