Home
last modified time | relevance | path

Searched refs:mToggle (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DSensorFragment.java57 private PrivacyToggle mToggle; field in SensorFragment
73 mToggle = (PrivacyToggle) getArguments().get(TOGGLE_EXTRA); in onCreate()
74 if (mToggle == null) { in onCreate()
88 screen.setTitle(mToggle.screenTitle); in onCreatePreferences()
105 mSensorToggle.setTitle(mToggle.toggleTitle); in addSensorToggleWithInfo()
108 mSensorToggle.getExtras().putObject(SensorToggleInfoFragment.TOGGLE_EXTRA, mToggle); in addSensorToggleWithInfo()
112 !mSensorPrivacyManager.isSensorPrivacyEnabled(mToggle.sensor)); in addSensorToggleWithInfo()
113 mSensorPrivacyManager.addSensorPrivacyListener(mToggle.sensor, in addSensorToggleWithInfo()
120 toggleInfo.setSummary(mToggle.toggleInfoText); in addSensorToggleWithInfo()
137 themedContext, mToggle.appOps); in addRecentAppsGroup()
[all …]
DSensorToggleInfoFragment.java49 private PrivacyToggle mToggle; field in SensorToggleInfoFragment
57 mToggle = (PrivacyToggle) getArguments().get(TOGGLE_EXTRA); in onAttach()
58 if (mToggle == null) { in onAttach()
79 ((TextView) view.findViewById(R.id.info_summary)).setText(mToggle.toggleInfoText); in onCreateView()
83 updateTitle(!mSensorPrivacyManager.isSensorPrivacyEnabled(mToggle.sensor)); in onCreateView()
84 mSensorPrivacyManager.addSensorPrivacyListener(mToggle.sensor, in onCreateView()
92 mTitleView.setText(getString(mToggle.toggleInfoTitle, toggleState)); in updateTitle()
97 mSensorPrivacyManager.removeSensorPrivacyListener(mToggle.sensor, mPrivacyChangedListener); in onDestroyView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java102 private final ActionBarDrawerToggle mToggle; field in DrawerController.RuntimeDrawerController
120 mToggle = toggle; in RuntimeDrawerController()
210 mToggle.syncState(); in update()
215 mToggle.onDrawerSlide(drawerView, slideOffset); in onDrawerSlide()
220 mToggle.onDrawerOpened(drawerView); in onDrawerOpened()
228 mToggle.onDrawerClosed(drawerView); in onDrawerClosed()
233 mToggle.onDrawerStateChanged(newState); in onDrawerStateChanged()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java186 private ContactsActionBarDrawerToggle mToggle; field in PeopleActivity
378 mToggle = new ContactsActionBarDrawerToggle(this, mDrawerLayout, mToolbar, in onCreate()
380 mDrawerLayout.setDrawerListener(mToggle); in onCreate()
382 mToggle.setToolbarNavigationClickListener(new View.OnClickListener() { in onCreate()
1087 mToggle.setDrawerIndicatorEnabled(true); in setDrawerLockMode()
1089 mToggle.setDrawerIndicatorEnabled(false); in setDrawerLockMode()
1101 mToggle.syncState(); in onPostCreate()
1107 mToggle.onConfigurationChanged(newConfig); in onConfigurationChanged()