Searched refs:mLayoutPreference (Results 1 – 4 of 4) sorted by relevance
86 private LayoutPreference mLayoutPreference; field in AdvancedBluetoothDetailsHeaderControllerTest96 mLayoutPreference = new LayoutPreference(mContext, in setUp()98 mController.mLayoutPreference = mLayoutPreference; in setUp()128 assertThat(mLayoutPreference.findViewById(R.id.layout_left).getVisibility()).isEqualTo( in refresh_connectedWatch_behaveAsExpected()130 assertThat(mLayoutPreference.findViewById(R.id.layout_right).getVisibility()).isEqualTo( in refresh_connectedWatch_behaveAsExpected()132 assertThat(mLayoutPreference.findViewById(R.id.layout_middle).getVisibility()).isEqualTo( in refresh_connectedWatch_behaveAsExpected()153 assertThat(mLayoutPreference.findViewById(R.id.layout_left).getVisibility()).isEqualTo( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()155 assertThat(mLayoutPreference.findViewById(R.id.layout_right).getVisibility()).isEqualTo( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()157 assertThat(mLayoutPreference.findViewById(R.id.layout_middle).getVisibility()).isEqualTo( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()159 assertThat(mLayoutPreference.findViewById(R.id.layout_middle) in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()[all …]
91 LayoutPreference mLayoutPreference; field in AdvancedBluetoothDetailsHeaderController130 mLayoutPreference = screen.findPreference(getPreferenceKey()); in displayPreference()131 mLayoutPreference.setVisible(isAvailable()); in displayPreference()175 if (mLayoutPreference != null && mCachedDevice != null) { in refresh()176 final TextView title = mLayoutPreference.findViewById(R.id.entity_header_title); in refresh()178 final TextView summary = mLayoutPreference.findViewById(R.id.entity_header_summary); in refresh()190 mLayoutPreference.findViewById(R.id.layout_left).setVisibility(View.GONE); in refresh()191 mLayoutPreference.findViewById(R.id.layout_right).setVisibility(View.GONE); in refresh()193 updateSubLayout(mLayoutPreference.findViewById(R.id.layout_middle), in refresh()204 updateSubLayout(mLayoutPreference.findViewById(R.id.layout_left), in refresh()[all …]
63 private LayoutPreference mLayoutPreference; field in ToggleAutoclickCustomSeekbarControllerTest90 doReturn(mLayoutPreference).when(mScreen).findPreference(mPrefKey); in setUp()91 doReturn(mSeekBar).when(mLayoutPreference).findViewById(R.id.autoclick_delay); in setUp()92 doReturn(mDelayLabel).when(mLayoutPreference).findViewById(R.id.current_label); in setUp()93 doReturn(mShorter).when(mLayoutPreference).findViewById(R.id.shorter); in setUp()94 doReturn(mLonger).when(mLayoutPreference).findViewById(R.id.longer); in setUp()
58 private PreferenceCategory mLayoutPreference; field in RecentLocationAccessPreferenceControllerTest81 when(mScreen.findPreference(key)).thenReturn(mLayoutPreference); in setUp()82 when(mLayoutPreference.getKey()).thenReturn(key); in setUp()83 when(mLayoutPreference.getContext()).thenReturn(mContext); in setUp()103 mController.updateState(mLayoutPreference); in updateState_whenAppListIsEmpty_shouldDisplayTitleTextAndDetailsText()