Home
last modified time | relevance | path

Searched refs:fakeTarget (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsSourceProviderTest.java170 final WindowState fakeTarget = createWindow(null, TYPE_APPLICATION, "fakeTarget"); in testGetLeash() local
195 mProvider.updateFakeControlTarget(fakeTarget); in testGetLeash()
196 assertNotNull(mProvider.getControl(fakeTarget)); in testGetLeash()
198 assertNotEquals(mProvider.getControlTarget(), fakeTarget); in testGetLeash() local
199 assertNull(mProvider.getLeash(fakeTarget)); in testGetLeash()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsSourceProvider.java435 void updateFakeControlTarget(@Nullable InsetsControlTarget fakeTarget) { in updateFakeControlTarget() argument
436 if (fakeTarget == mFakeControlTarget) { in updateFakeControlTarget()
439 mFakeControlTarget = fakeTarget; in updateFakeControlTarget()