Searched refs:mSensorToggle (Results 1 – 3 of 3) sorted by relevance
55 private PreferenceCompat mSensorToggle; field in SensorState64 if (mSensorToggle != null) {65 mSensorToggle.setChecked(!enabled);97 mSensorToggle = mPreferenceCompatManager.getOrCreatePrefCompat(KEY_SENSOR_TOGGLE); in addSensorToggleWithInfo()98 mSensorToggle.setTitle(ResourcesUtil.getString(mContext, mToggle.toggleTitle)); in addSensorToggleWithInfo()99 mSensorToggle.setType(PreferenceCompat.TYPE_SWITCH); in addSensorToggleWithInfo()100 mSensorToggle.setSummary(ResourcesUtil.getString(mContext, "sensor_toggle_description")); in addSensorToggleWithInfo()103 mSensorToggle.setChecked( in addSensorToggleWithInfo()116 mUIUpdateCallback.notifyUpdate(getStateIdentifier(), mSensorToggle); in addSensorToggleWithInfo() local
67 protected SwitchWithSoundPreference mSensorToggle; field in SensorFragment162 mSensorToggle = new SwitchWithSoundPreference(themedContext); in addSensorToggleWithInfo()163 screen.addPreference(mSensorToggle); in addSensorToggleWithInfo()164 mSensorToggle.setKey(SENSOR_TOGGLE_KEY); in addSensorToggleWithInfo()165 mSensorToggle.setTitle(mToggle.toggleTitle); in addSensorToggleWithInfo()166 mSensorToggle.setSummary(R.string.sensor_toggle_description); in addSensorToggleWithInfo()167 mSensorToggle.setFragment(SensorToggleInfoFragment.class.getName()); in addSensorToggleWithInfo()168 mSensorToggle.getExtras().putObject(SensorToggleInfoFragment.TOGGLE_EXTRA, mToggle); in addSensorToggleWithInfo()192 mSensorToggle.setChecked(!softwarePrivacyEnabled && !physicalPrivacyEnabled); in updateSensorPrivacyState()193 mSensorToggle.setEnabled(!physicalPrivacyEnabled); in updateSensorPrivacyState()[all …]
101 remoteCategory.setVisible(!mSensorToggle.isChecked()); in updateHardwareToggle()