Searched refs:windowParamsCaptor (Results 1 – 1 of 1) sorted by relevance
123 val windowParamsCaptor = argumentCaptor<WindowManager.LayoutParams>() in displayView_viewAddedWithCorrectTitle() constant124 verify(windowManager).addView(any(), capture(windowParamsCaptor)) in displayView_viewAddedWithCorrectTitle()125 assertThat(windowParamsCaptor.value!!.title).isEqualTo("Fake Window Title") in displayView_viewAddedWithCorrectTitle()208 val windowParamsCaptor = argumentCaptor<WindowManager.LayoutParams>() in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() constant210 verify(windowManager, times(2)).addView(capture(viewCaptor), capture(windowParamsCaptor)) in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded()212 assertThat(windowParamsCaptor.allValues[0].title).isEqualTo("First Fake Window Title") in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded()213 assertThat(windowParamsCaptor.allValues[1].title).isEqualTo("Second Fake Window Title") in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded()322 val windowParamsCaptor = argumentCaptor<WindowManager.LayoutParams>() in multipleViewsWithDifferentIds_moreRecentReplacesOlder() constant324 verify(windowManager, times(2)).addView(capture(viewCaptor), capture(windowParamsCaptor)) in multipleViewsWithDifferentIds_moreRecentReplacesOlder()326 assertThat(windowParamsCaptor.allValues[0].title).isEqualTo("First Fake Window Title") in multipleViewsWithDifferentIds_moreRecentReplacesOlder()[all …]