/frameworks/base/docs/html/guide/topics/ui/controls/ |
togglebutton.jd | 1 page.title=Toggle Buttons 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. 36 <p class="img-caption"><em>Toggle buttons</em></p> 55 ToggleButton toggle = (ToggleButton) findViewById(R.id.togglebutton); 56 toggle.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { 59 // The toggle is enable [all...] |
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/ |
sample.js | 26 toggle = document.querySelector('#toggle'), 33 toggle.addEventListener('click', function () { 39 toggle.innerText = 'Stop'; 47 toggle.innerText = 'Start';
|
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/ |
sample.js | 26 toggle = document.querySelector('#toggle'), 33 toggle.addEventListener('click', function () { 39 toggle.innerText = 'Stop'; 47 toggle.innerText = 'Start';
|
/external/skia/platform_tools/android/apps/sample_app/src/main/res/values/ |
strings.xml | 5 <string name="toggle_rendering">Toggle Rendering</string> 8 <string name="tiling">Toggle Tiling</string> 9 <string name="bbox">Toggle SKP BBox</string>
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/util/ |
ConfigViewHolder.java | 37 public void bind(ConfigToggle toggle) { 38 mConfigToggle = toggle; 39 mCheckBox.setText(toggle.getText()); 40 mCheckBox.setChecked(toggle.isChecked());
|
/development/samples/browseable/AppRestrictionSchema/ |
_index.jd | 11 AppRestrictionEnforcer sample to toggle the restriction.
|
/development/samples/browseable/ImmersiveMode/ |
_index.jd | 10 click the "Toggle immersive mode" button, then try swiping the bar in and out!
|
/external/selinux/policycoreutils/sepolicy/sepolicy/help/ |
booleans_toggled.txt | 4 Toggle the button to turn on or off the boolean. This will not happen immediately. All changes on the application screen are bundled up into a single transaction. You need to select the update button to apply all of your changes to the system.
|
system_relabel.txt | 4 You can toggle this behavior using this screen.
|
booleans.txt | 6 You can use the 'Filter Text Entry' to search for appropriate booleans. The Show Modified Only toggle, will show the booleans that your system has customized.
|
/development/samples/browseable/AppRestrictions/ |
_index.jd | 11 When launched under the primary User account, you can toggle between standard app restriction
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCheckedTextView.java | 14 public void toggle() { method in class:ShadowCheckedTextView
|
/frameworks/base/tests/TransitionTests/res/layout/ |
surface_texture_views.xml | 10 android:text="@string/toggle"
|
/external/skia/tools/skiaserve/urlhandlers/ |
CmdHandler.cpp | 52 int n, toggle; local 54 sscanf(commands[2].c_str(), "%d", &toggle); 55 request->fDebugCanvas->toggleCommand(n, toggle);
|
/external/libopus/src/ |
opus_demo.c | 251 int toggle = 0; local 660 len[toggle] = char_to_int(ch); 661 if (len[toggle]>max_payload_bytes || len[toggle]<0) 663 fprintf(stderr, "Invalid payload length: %d\n",len[toggle]); 667 enc_final_range[toggle] = char_to_int(ch); 668 err = fread(data[toggle], 1, len[toggle], fin); 669 if (err<len[toggle]) 673 len[toggle],err) [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/core-focusable/ |
core-focusable.js | 18 * user is touching it, or the button is a toggle 60 * @attribute toggle 64 toggle: false 95 if (this.toggle) { 117 if (!this.toggle) {
|
/external/skia/src/effects/gradients/ |
SkRadialGradient.cpp | 93 int count, int toggle); 106 int count, int toggle) { 110 cache[toggle + fi], 111 cache[next_dither_toggle(toggle) + fi], 140 *dstC++ = cache[toggle + fi[i]]; 141 toggle = next_dither_toggle(toggle); 151 *dstC++ = cache[toggle + fi[i]]; 152 toggle = next_dither_toggle(toggle); 200 int toggle = init_dither_toggle(x, y); local [all...] |
SkTwoPointConicalGradient.cpp | 136 const SkPMColor* cache, int toggle, int count); 139 const SkPMColor* SK_RESTRICT cache, int toggle, 148 *dstC++ = cache[toggle + 151 toggle = next_dither_toggle(toggle); 156 const SkPMColor* SK_RESTRICT cache, int toggle, 165 *dstC++ = cache[toggle + 168 toggle = next_dither_toggle(toggle); 173 const SkPMColor* SK_RESTRICT cache, int toggle, 237 int toggle = init_dither_toggle(x, y); local [all...] |
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorDrawable01.java | 63 CheckBox toggle = new CheckBox(this); local 64 toggle.setText("Toggle"); 65 toggle.setChecked(true); 66 toggle.setOnCheckedChangeListener(new OnCheckedChangeListener() { 78 container.addView(toggle);
|
/build/tools/droiddoc/templates-sdk/ |
customizations.cs | 3 <div class="dac-visible-mobile-block" data-toggle="section"> 4 <span class="dac-toggle-expand dac-devdoc-toggle"><i class="dac-sprite dac-expand-more-black"></i> Show navigation</span> 5 <span class="dac-toggle-collapse dac-devdoc-toggle" data-toggle-section><i class="dac-sprite dac-expand-less-black"></i> Hide navigation</span> 16 <div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 18 <div class="dac-toggle-content" id="devdoc-nav"> 33 <div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 35 <div class="dac-toggle-content" id="devdoc-nav" [all...] |
/build/tools/droiddoc/templates-sdk-refonly/ |
customizations.cs | 3 <div class="dac-visible-mobile-block" data-toggle="section"> 4 <span class="dac-toggle-expand dac-devdoc-toggle"><i class="dac-sprite dac-expand-more-black"></i> Show navigation</span> 5 <span class="dac-toggle-collapse dac-devdoc-toggle" data-toggle-section><i class="dac-sprite dac-expand-less-black"></i> Hide navigation</span> 16 <div class="col-4 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 18 <div class="dac-toggle-content" id="devdoc-nav"> 33 <div class="col-3 dac-toggle dac-mobile" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> 35 <div class="dac-toggle-content" id="devdoc-nav" [all...] |
/external/doclava/res/assets/templates/components/ |
api_filter.cs | 3 <div id="api-level-toggle">
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
CheckBoxTest.java | 24 checkBox.toggle();
|
/frameworks/base/core/java/android/widget/ |
RadioButton.java | 69 * If the radio button is already checked, this method will not toggle the radio button. 72 public void toggle() { method in class:RadioButton 73 // we override to prevent toggle when the radio is already 76 super.toggle();
|
/frameworks/base/packages/SystemUI/res/layout/ |
status_bar_toggle_slider.xml | 24 android:id="@+id/toggle" 38 android:layout_toEndOf="@id/toggle" 53 android:layout_alignStart="@id/toggle" 54 android:layout_alignEnd="@id/toggle"
|