/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | togglebutton.jd | 22 <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/support/samples/Support7Demos/src/com/example/android/supportv7/widget/util/ |
D | ConfigViewHolder.java | 37 public void bind(ConfigToggle toggle) { in bind() argument 38 mConfigToggle = toggle; in bind() 39 mCheckBox.setText(toggle.getText()); in bind() 40 mCheckBox.setChecked(toggle.isChecked()); in bind()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawable01.java | 63 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/ |
D | ProjectionActivity.java | 39 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/ |
D | README.txt | 17 …ttingsStore: Tracks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mod…
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 90 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/core/java/android/widget/ |
D | RadioButton.java | 72 public void toggle() { in toggle() method in RadioButton 76 super.toggle(); in toggle()
|
D | Checkable.java | 41 void toggle(); in toggle() method
|
/frameworks/base/docs/html/topic/libraries/support-library/ |
D | revisions.jd | 8 <div class="toggle-content opened"> 12 "toggle-content-img" alt="">Android Support Library, revision 24.2.0</a> 16 <div class="toggle-content-toggleme"> 118 password visibility toggle</a> from the material design specification. 323 <div class="toggle-content closed"> 327 "toggle-content-img" alt="">Android Support Library, revision 24.1.1</a> 331 <div class="toggle-content-toggleme"> 348 <div class="toggle-content closed"> 352 "toggle-content-img" alt="">Android Support Library, revision 24.1.0</a> 356 <div class="toggle-content-toggleme"> [all …]
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/ |
D | RoundedBitmapDrawableActivity.java | 49 ToggleButton toggle = (ToggleButton) findViewById(R.id.toggle_round); in onCreate() local 54 toggle.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in onCreate()
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | BottomSheetWithFab.java | 40 if (v.getId() == R.id.toggle && mBehavior != null) { 59 mToggle = (Button) findViewById(R.id.toggle); in onCreate()
|
D | BottomSheetHideable.java | 48 mToggle = (Button) findViewById(R.id.toggle); in onCreate() 77 if (v.getId() == R.id.toggle && mBehavior != null) {
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.1.jd | 71 <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;">
|
D | android-1.5.jd | 76 …$(".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…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatteryTile.java | 210 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/support/samples/Support4Demos/src/com/example/android/supportv4/view/ |
D | CheckableFrameLayout.java | 45 public void toggle() { in toggle() method in CheckableFrameLayout
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/view/ |
D | CheckableFrameLayout.java | 45 public void toggle() { in toggle() method in CheckableFrameLayout
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSlider.java | 69 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/ |
D | ActionBarDrawerToggle.java | 200 toggle(); in ActionBarDrawerToggle() 277 toggle(); in onOptionsItemSelected() 283 private void toggle() { in toggle() method in ActionBarDrawerToggle
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | BaseLayoutManagerActivity.java | 183 ConfigToggle toggle = mConfigToggles[position]; 184 holder.bind(toggle);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | CheckableImageView.java | 52 public void toggle() { in toggle() method in CheckableImageView
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | ItemTouchHelperActivity.java | 82 ConfigToggle toggle = mConfigToggles[position]; in initToggles() 83 holder.bind(toggle); in initToggles()
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/ |
D | SwitchItem.java | 75 public void toggle(View view) { in toggle() method in SwitchItem
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CheckableImageButton.java | 83 public void toggle() { in toggle() method in CheckableImageButton
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 779 // ACTION: QS Wi-Fi detail panel > Wi-Fi toggle 785 // ACTION: QS Bluetooth detail panel > Bluetooth toggle 791 // ACTION: QS Cellular detail panel > Cellular toggle 850 // ACTION: QS DND detail panel > DND toggle 856 // ACTION: DND Settings > Priority only allows > Reminder toggle 862 // ACTION: DND Settings > Priority only allows > Event toggle 880 // ACTION: DND Settings > Priority only allows > Repeat callers toggle 912 // ACTION: Settings > More > Airplane mode toggle 918 // ACTION: Settings > Data usage > Cellular data toggle 1367 // ACTION: Visual interruptions > No screen interuptions toggle [all …]
|