Searched defs:toggle (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DCheckable.java41 void toggle(); method in interface:Checkable
H A DRadioButton.java69 * 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();
H A DCheckedTextView.java114 public void toggle() { method in class:CheckedTextView
H A DCompoundButton.java114 public void toggle() { method in class:CompoundButton
120 toggle();
H A DSlidingDrawer.java738 public void toggle() { method in class:SlidingDrawer
755 * @see #toggle()
768 * @see #toggle()
783 * @see #toggle()
800 * @see #toggle()
822 * @see #toggle()
972 toggle();
H A DSwitch.java56 * A Switch is a two-state toggle switch widget that can select between two
58 * or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
1064 public void toggle() { method in class:Switch
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarDrawerToggle.java60 * You can customize the the animated toggle by defining the
159 * will set Toolbar's navigation click listener to toggle the drawer when it is clicked.
200 toggle();
278 toggle();
284 private void toggle() { method in class:ActionBarDrawerToggle
490 * Interface for toggle drawables. Can be public in the future
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp730 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack
734 unsigned long toggle = mToggle ^ 1; local
735 void *userData = (void *)((unsigned long)this | toggle);
759 // From now on, AudioTrack callbacks received with previous toggle value will be ignored.
760 mToggle = toggle;
826 void SoundChannel::process(int event, void *info, unsigned long toggle) argument
837 if (mToggle != toggle) {
838 ALOGV("process wrong toggle %p channel %d", this, mChannelID);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java62 * A Switch is a two-state toggle switch widget that can select between two
64 * or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
778 public void toggle() { method in class:SwitchCompat
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp326 static jboolean android_net_wifi_toggle_interface(JNIEnv* env, jclass cls, int toggle) { argument
327 return(set_iface_flags("wlan0", toggle) == 0);
/frameworks/base/core/java/android/hardware/
H A DCamera.java3579 * @param toggle new state of the auto-exposure lock. True means that
3585 public void setAutoExposureLock(boolean toggle) { argument
3586 set(KEY_AUTO_EXPOSURE_LOCK, toggle ? TRUE : FALSE);
3648 * @param toggle new state of the auto-white balance lock. True means
3655 public void setAutoWhiteBalanceLock(boolean toggle) { argument
3656 set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? TRUE : FALSE);
4020 * @param toggle Set to true to enable video stabilization, and false to
4025 public void setVideoStabilization(boolean toggle) { argument
4026 set(KEY_VIDEO_STABILIZATION, toggle ? TRUE : FALSE);

Completed in 4203 milliseconds