Home
last modified time | relevance | path

Searched refs:toggle (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/base/docs/html/guide/topics/ui/controls/
Dtogglebutton.jd22 <p>A toggle button allows the user to change a setting between two states.</p>
24 <p>You can add a basic toggle button to your layout with the {@link android.widget.ToggleButton}
25 object. Android 4.0 (API level 14) introduces another kind of toggle button called a switch that
31 {@link android.widget.CompoundButton#toggle CompoundButton.toggle()} methods.
55 ToggleButton toggle = (ToggleButton) findViewById(R.id.togglebutton);
56 toggle.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
59 // The toggle is enabled
61 // The toggle is disabled
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawable01.java63 CheckBox toggle = new CheckBox(this); in onCreate() local
64 toggle.setText("Toggle"); in onCreate()
65 toggle.setChecked(true); in onCreate()
66 toggle.setOnCheckedChangeListener(new OnCheckedChangeListener() { in onCreate()
78 container.addView(toggle); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DProjectionActivity.java39 boolean toggle = false; in ProjectedView()
42 toggle = !toggle; in ProjectedView()
43 setProject(toggle); in ProjectedView()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt17 …ttingsStore: Tracks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mod…
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDrawerController.java90 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( in create() local
97 return new RuntimeDrawerController(layout, drawer, toggle, toolbar); in create()
131 DrawerLayout layout, View drawer, ActionBarDrawerToggle toggle, in RuntimeDrawerController() argument
138 mToggle = toggle; in RuntimeDrawerController()
/frameworks/base/docs/html/topic/libraries/support-library/
Drevisions.jd8 <div class="toggle-content opened">
12 "toggle-content-img" alt="">Android Support Library, revision 24.0.0</a>
16 <div class="toggle-content-toggleme">
120 <div class="toggle-content closed">
124 "toggle-content-img" alt="">Android Support Library, revision 23.4.0</a>
128 <div class="toggle-content-toggleme">
249 <div class="toggle-content closed">
252 "{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-content-img"
257 <div class="toggle-content-toggleme">
465 <div class="toggle-content closed">
[all …]
/frameworks/base/core/java/android/widget/
DRadioButton.java72 public void toggle() { in toggle() method in RadioButton
76 super.toggle(); in toggle()
DCheckable.java41 void toggle(); in toggle() method
DToggleButton.java139 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle); in updateReferenceToIndicatorDrawable()
DCompoundButton.java114 public void toggle() { in toggle() method in CompoundButton
120 toggle(); in performClick()
/frameworks/base/docs/html/about/versions/
Dandroid-2.1.jd71 <div class="toggle-content opened" style="padding-left:1em;">
75 class="toggle-content-img" alt="" />
79 <div class="toggle-content-toggleme" style="padding-left:2em;">
99 <div class="toggle-content closed" style="padding-left:1em;">
103 class="toggle-content-img" alt="" />
107 <div class="toggle-content-toggleme" style="padding-left:2em;">
126 <div class="toggle-content closed" style="padding-left:1em;">
130 class="toggle-content-img" alt="" />
134 <div class="toggle-content-toggleme" style="padding-left:2em;">
Dandroid-1.5.jd76 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/styles/dis…
81 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/styles/dis…
104 #jd-content .toggle-img {
111 …<img src="{@docRoot}assets/images/styles/disclosure_up.png" class="toggle-img" height="9px" width=…
134 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
148 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
157 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
Dandroid-1.6.jd78 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/styles/dis…
83 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/styles/dis…
106 #jd-content .toggle-img {
113 …<img src="{@docRoot}assets/images/styles/disclosure_up.png" class="toggle-img" height="9px" width=…
133 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
176 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
Dandroid-2.0.1.jd78 …$(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/styles/dis…
83 …$(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/styles/dis…
102 #jd-content .toggle-img {
109 …<img src="{@docRoot}assets/images/styles/disclosure_down.png" class="toggle-img" height="9px" widt…
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatteryTile.java210 Checkable checkbox = (Checkable) mCurrentView.findViewById(android.R.id.toggle); in bindView()
228 mCurrentView.findViewById(android.R.id.toggle).setVisibility(View.GONE); in bindView()
235 mCurrentView.findViewById(android.R.id.toggle).setVisibility(View.VISIBLE); in bindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSlider.java69 mToggle = (CompoundButton) findViewById(R.id.toggle); in ToggleSlider()
142 public void onCheckedChanged(CompoundButton toggle, boolean checked) {
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java200 toggle(); in ActionBarDrawerToggle()
278 toggle(); in onOptionsItemSelected()
284 private void toggle() { in toggle() method in ActionBarDrawerToggle
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd8 <div class="toggle-content closed">
12 src="/assets/images/styles/disclosure_down.png" class="toggle-content-img" alt=""
15 <div class="toggle-content-toggleme">
46 <div class="toggle-content closed">
50 src="/assets/images/styles/disclosure_down.png" class="toggle-content-img" alt=""
53 <div class="toggle-content-toggleme">
107 <div class="toggle-content closed">
111 src="/assets/images/styles/disclosure_down.png" class="toggle-content-img" alt=""
114 <div class="toggle-content-toggleme">
372 <div class="toggle-content closed">
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DCheckableImageView.java52 public void toggle() { in toggle() method in CheckableImageView
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
DSwitchItem.java75 public void toggle(View view) { in toggle() method in SwitchItem
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp771 unsigned long toggle = mToggle ^ 1; in play() local
772 void *userData = (void *)((unsigned long)this | toggle); in play()
797 mToggle = toggle; in play()
863 void SoundChannel::process(int event, void *info, unsigned long toggle) in process() argument
874 if (mToggle != toggle) { in process()
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/
Dcontrols.jd12 kotak cek, tombol zoom, tombol toggle, dan masih banyak lagi.</p>
76 <td><a href="controls/togglebutton.html" style="white-space:nowrap">Tombol toggle</a></td>
/frameworks/base/proto/src/
Dmetrics_constants.proto910 // ACTION: QS Wi-Fi detail panel > Wi-Fi toggle
917 // ACTION: QS Bluetooth detail panel > Bluetooth toggle
924 // ACTION: QS Cellular detail panel > Cellular toggle
994 // ACTION: QS DND detail panel > DND toggle
1001 // ACTION: DND Settings > Priority only allows > Reminder toggle
1008 // ACTION: DND Settings > Priority only allows > Event toggle
1029 // ACTION: DND Settings > Priority only allows > Repeat callers toggle
1067 // ACTION: Settings > More > Airplane mode toggle
1074 // ACTION: Settings > Data usage > Cellular data toggle
1607 // ACTION: Visual interruptions > No screen interuptions toggle
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java3591 public void setAutoExposureLock(boolean toggle) { in setAutoExposureLock() argument
3592 set(KEY_AUTO_EXPOSURE_LOCK, toggle ? TRUE : FALSE); in setAutoExposureLock()
3661 public void setAutoWhiteBalanceLock(boolean toggle) { in setAutoWhiteBalanceLock() argument
3662 set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? TRUE : FALSE); in setAutoWhiteBalanceLock()
4031 public void setVideoStabilization(boolean toggle) { in setVideoStabilization() argument
4032 set(KEY_VIDEO_STABILIZATION, toggle ? TRUE : FALSE); in setVideoStabilization()
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
DSwitchItemTest.java129 item.toggle(view); in testToggle()

12345