Home
last modified time | relevance | path

Searched refs:mTargetResources (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DMenuHelper.java38 ByResource.id(mTargetResources, R.id.item_list) in MenuHelper()
40 ByResource.text(mTargetResources, R.string.menu_title_channels)); in MenuHelper()
59 BySelector byListView = ByResource.id(mTargetResources, R.id.list_view); in assertNavigateToMenuItem()
63 + mTargetResources.getString(rowTitleResId) in assertNavigateToMenuItem()
88 By.hasDescendant(ByResource.text(mTargetResources, rowTitleResId)), in assertNavigateToRow()
120 By.hasDescendant(ByResource.text(mTargetResources, itemTextResId)), in assertNavigateToRowItem()
DSidePanelHelper.java38 .hasDescendant(ByResource.text(mTargetResources, titleResId)); in bySidePanelTitled()
42 return By.hasDescendant(ByResource.text(mTargetResources, textResId)); in byViewText()
50 String title = mTargetResources.getString(resId); in assertNavigateToItem()
59 BySelector sidePanelSelector = ByResource.id(mTargetResources, R.id.side_panel_list); in assertNavigateToItem()
DBaseUiDeviceHelper.java24 protected final Resources mTargetResources; field in BaseUiDeviceHelper
28 this.mTargetResources = targetResources; in BaseUiDeviceHelper()
DDialogHelper.java35 byPinDialog = ByResource.id(mTargetResources, R.id.enter_pin); in DialogHelper()
43 + mTargetResources.getInteger(R.integer.pin_dialog_anim_duration)); in assertWaitForPinDialogOpen()
DLiveChannelsUiDeviceHelper.java63 BySelector welcome = ByResource.id(mTargetResources, com.android.tv.R.id.intro); in assertAppStarted()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java56 private Resources mTargetResources; field in LiveChannelsTestController
96 mTargetResources = mInstrumentation.getTargetContext().getResources(); in before()
97 menuHelper = new MenuHelper(mDevice, mTargetResources); in before()
98 sidePanelHelper = new SidePanelHelper(mDevice, mTargetResources); in before()
99 liveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources, context); in before()
161 return mTargetResources; in getTargetResources()
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DLiveChannelsTestCase.java26 protected Resources mTargetResources; field in LiveChannelsTestCase
33 mTargetResources = getInstrumentation().getTargetContext().getResources(); in setUp()
36 mDevice, mTargetResources, getInstrumentation().getContext()); in setUp()
DProgramGuideJankTest.java51 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()
129 ByResource.id(mTargetResources, R.id.program_guide_side_panel_grid_view))) { in showAndFocusProgramGuide()
DMenuJankTest.java45 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()