OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switchBar
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Settings/src/com/android/settings/development/
DevelopmentSwitchBarController.java
20
import com.android.settings.widget.
SwitchBar
;
28
private final
SwitchBar
mSwitchBar;
32
public DevelopmentSwitchBarController(DevelopmentSettings settings,
SwitchBar
switchBar
,
34
mSwitchBar =
switchBar
;
/packages/apps/Settings/src/com/android/settings/widget/
SwitchBarController.java
23
* The switch controller that is used to update the switch widget in the
SwitchBar
layout.
26
SwitchBar
.OnSwitchChangeListener {
28
private final
SwitchBar
mSwitchBar;
30
public SwitchBarController(
SwitchBar
switchBar
) {
31
mSwitchBar =
switchBar
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
PowerNotificationControlsFragment.java
50
final View
switchBar
= view.findViewById(R.id.switch_bar);
51
final Switch switchWidget = (Switch)
switchBar
.findViewById(android.R.id.switch_widget);
52
final TextView switchText = (TextView)
switchBar
.findViewById(R.id.switch_text);
/packages/apps/Settings/src/com/android/settings/deletionhelper/
AutomaticStorageManagerSwitchBarController.java
28
import com.android.settings.widget.
SwitchBar
;
31
/** Handles the logic for flipping the storage management toggle on a {@link
SwitchBar
}. */
33
implements
SwitchBar
.OnSwitchChangeListener {
38
private
SwitchBar
mSwitchBar;
45
SwitchBar
switchBar
,
50
mSwitchBar = Preconditions.checkNotNull(
switchBar
);
/packages/apps/Settings/src/com/android/settings/wifi/tether/
WifiTetherSettings.java
38
import com.android.settings.widget.
SwitchBar
;
97
final
SwitchBar
switchBar
= activity.getSwitchBar();
99
new SwitchBarController(
switchBar
));
101
switchBar
.show();
WifiTetherSwitchBarController.java
45
WifiTetherSwitchBarController(Context context, SwitchWidgetController
switchBar
) {
47
mSwitchBar =
switchBar
;
/packages/apps/Settings/src/com/android/settings/
WifiCallingSettings.java
44
import com.android.settings.widget.
SwitchBar
;
51
implements
SwitchBar
.OnSwitchChangeListener,
69
private
SwitchBar
mSwitchBar;
92
final
SwitchBar
switchBar
= activity.getSwitchBar();
93
boolean isWfcEnabled =
switchBar
.getSwitch().isChecked()
96
switchBar
.setEnabled((state == TelephonyManager.CALL_STATE_IDLE)
Completed in 258 milliseconds