OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:isToggled
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Phone/src/com/android/phone/
EditPhoneNumberPreference.java
43
/** toggle [(ENABLE / CANCEL) or (DISABLE / CANCEL)], use
isToggled
() to see requested state.*/
312
setToggled(!
isToggled
());
344
public boolean
isToggled
() {
434
if (
isToggled
()) {
458
if (!
isToggled
()) {
488
return ((
isToggled
() ? VALUE_ON : VALUE_OFF) + VALUE_SEPARATOR + getPhoneNumber());
/packages/apps/Settings/src/com/android/settings/
SecuritySettings.java
492
if (
isToggled
(preference)) {
512
lockPatternUtils.setLockPatternEnabled(
isToggled
(preference));
514
lockPatternUtils.setVisiblePatternEnabled(
isToggled
(preference));
516
lockPatternUtils.setPowerButtonInstantlyLocks(
isToggled
(preference));
538
private boolean
isToggled
(Preference pref) {
Completed in 181 milliseconds