Home
last modified time | relevance | path

Searched refs:ParcelableWrapper (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java36 import android.view.DisplayCutout.ParcelableWrapper;
276 new ParcelableWrapper(mCutoutWithWaterfall).writeToParcel(p, 0); in parcel_unparcel_regular()
281 assertEquals(mCutoutWithWaterfall, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_regular()
289 new ParcelableWrapper(mCutoutNumbers).writeToParcel(p, 0); in parcel_unparcel_withFrame()
294 assertEquals(mCutoutNumbers, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_withFrame()
401 new ParcelableWrapper(NO_CUTOUT).writeToParcel(p, 0); in parcel_unparcel_nocutout()
406 assertEquals(NO_CUTOUT, ParcelableWrapper.CREATOR.createFromParcel(p).get()); in parcel_unparcel_nocutout()
414 new ParcelableWrapper(mCutoutWithWaterfall).writeToParcel(p, 0); in parcel_unparcel_inplace()
419 ParcelableWrapper wrapper = new ParcelableWrapper(); in parcel_unparcel_inplace()
428 assertEquals(new ParcelableWrapper(mCutoutWithWaterfall).hashCode(), in wrapper_hashcode()
[all …]
/frameworks/base/core/java/android/view/
DDisplayCutout.java777 public static final class ParcelableWrapper implements Parcelable { class in DisplayCutout
781 public ParcelableWrapper() { in ParcelableWrapper() method in DisplayCutout.ParcelableWrapper
785 public ParcelableWrapper(DisplayCutout cutout) { in ParcelableWrapper() method in DisplayCutout.ParcelableWrapper
827 …atic final @android.annotation.NonNull Creator<ParcelableWrapper> CREATOR = new Creator<Parcelable…
829 public ParcelableWrapper createFromParcel(Parcel in) {
830 return new ParcelableWrapper(readCutoutFromParcel(in));
834 public ParcelableWrapper[] newArray(int size) {
835 return new ParcelableWrapper[size];
866 public void set(ParcelableWrapper cutout) { in set()
881 return o instanceof ParcelableWrapper in equals()
[all …]
DDisplayAdjustments.java231 new DisplayCutout.ParcelableWrapper(mRotatedDisplayCutout), flags); in writeToParcel()
236 final DisplayCutout.ParcelableWrapper cutoutWrapper = in FixedRotationAdjustments()
237 in.readTypedObject(DisplayCutout.ParcelableWrapper.CREATOR); in FixedRotationAdjustments()
DDisplayCutout.aidl19 parcelable DisplayCutout.ParcelableWrapper;
DIWindowSession.aidl49 out DisplayCutout.ParcelableWrapper displayCutout, out InputChannel outInputChannel, in addToDisplay()
54 out DisplayCutout.ParcelableWrapper displayCutout, out InputChannel outInputChannel, in addToDisplayAsUser()
113 out DisplayCutout.ParcelableWrapper displayCutout, in relayout()
DWindowManagerImpl.java268 final DisplayCutout.ParcelableWrapper displayCutout = in getWindowInsetsFromServer()
269 new DisplayCutout.ParcelableWrapper(); in getWindowInsetsFromServer()
DIWindow.aidl59 in DisplayCutout.ParcelableWrapper displayCutout); in resized()
DWindowlessWindowManager.java133 DisplayCutout.ParcelableWrapper outDisplayCutout, InputChannel outInputChannel, in addToDisplay()
169 DisplayCutout.ParcelableWrapper outDisplayCutout, InputChannel outInputChannel, in addToDisplayAsUser()
228 DisplayCutout.ParcelableWrapper cutout, MergedConfiguration mergedConfiguration, in relayout()
DDisplayInfo.java397 displayCutout = DisplayCutout.ParcelableWrapper.readCutoutFromParcel(source); in readFromParcel()
443 DisplayCutout.ParcelableWrapper.writeCutoutToParcel(displayCutout, dest, flags); in writeToParcel()
DIWindowManager.aidl748 out DisplayCutout.ParcelableWrapper outDisplayCutout, out InsetsState outInsetsState); in getWindowInsets()
DViewRootImpl.java563 final DisplayCutout.ParcelableWrapper mPendingDisplayCutout =
564 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
7775 DisplayCutout.ParcelableWrapper displayCutout) { in dispatchResized()
9091 DisplayCutout.ParcelableWrapper displayCutout) { in resized()
DView.java28881 final DisplayCutout.ParcelableWrapper mDisplayCutout =
28882 new DisplayCutout.ParcelableWrapper(DisplayCutout.NO_CUTOUT);
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java92 final DisplayCutout.ParcelableWrapper mOutDisplayCutout =
93 new DisplayCutout.ParcelableWrapper();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java140 final DisplayCutout.ParcelableWrapper displayCutout = in computeWindowInsets()
141 new DisplayCutout.ParcelableWrapper(); in computeWindowInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java692 final DisplayCutout.ParcelableWrapper outDisplayCutout = in layoutHint_appWindow()
693 new DisplayCutout.ParcelableWrapper(); in layoutHint_appWindow()
701 assertThat(outDisplayCutout, is(new DisplayCutout.ParcelableWrapper())); in layoutHint_appWindow()
720 final DisplayCutout.ParcelableWrapper outDisplayCutout = in layoutHint_appWindowInTask()
721 new DisplayCutout.ParcelableWrapper(); in layoutHint_appWindowInTask()
729 assertThat(outDisplayCutout, is(new DisplayCutout.ParcelableWrapper())); in layoutHint_appWindowInTask()
754 final DisplayCutout.ParcelableWrapper outDisplayCutout = in layoutHint_appWindowInTask_outsideContentFrame()
755 new DisplayCutout.ParcelableWrapper(); in layoutHint_appWindowInTask_outsideContentFrame()
763 assertThat(outDisplayCutout, is(new DisplayCutout.ParcelableWrapper())); in layoutHint_appWindowInTask_outsideContentFrame()
DTestIWindow.java44 DisplayCutout.ParcelableWrapper displayCutout) throws RemoteException { in resized()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java162 DisplayCutout.ParcelableWrapper outDisplayCutout, InputChannel outInputChannel, in addToDisplay()
174 DisplayCutout.ParcelableWrapper outDisplayCutout, InputChannel outInputChannel, in addToDisplayAsUser()
187 new DisplayCutout.ParcelableWrapper() /* cutout */, null /* outInputChannel */, in addToDisplayWithoutInputChannel()
206 DisplayCutout.ParcelableWrapper cutout, MergedConfiguration mergedConfiguration, in relayout()
DTaskSnapshotSurface.java161 final DisplayCutout.ParcelableWrapper tmpCutout = new DisplayCutout.ParcelableWrapper(); in create()
526 DisplayCutout.ParcelableWrapper displayCutout) { in resized()
DWindowManagerService.java1376 DisplayCutout.ParcelableWrapper outDisplayCutout, InputChannel outInputChannel, in addWindow()
2111 DisplayCutout.ParcelableWrapper outCutout, MergedConfiguration mergedConfiguration, in relayoutWindow()
8254 DisplayCutout.ParcelableWrapper outDisplayCutout, InsetsState outInsetsState) { in getWindowInsets()
DDisplayPolicy.java1313 DisplayCutout.ParcelableWrapper outDisplayCutout) {
DWindowState.java3598 displayId, new DisplayCutout.ParcelableWrapper(displayCutout)); in reportResized()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java58 DisplayCutout.ParcelableWrapper displayCutout) { in resized()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DSystemWindows.java287 DisplayCutout.ParcelableWrapper cutout, MergedConfiguration mergedConfiguration, in relayout()
328 DisplayCutout.ParcelableWrapper displayCutout) {} in resized()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java190 final DisplayCutout.ParcelableWrapper mDisplayCutout =
191 new DisplayCutout.ParcelableWrapper();
329 DisplayCutout.ParcelableWrapper displayCutout) {
/frameworks/base/config/
Dboot-profile.txt1157 Landroid/view/DisplayCutout$ParcelableWrapper;->writeCutoutToParcel(Landroid/view/DisplayCutout;Lan…

12