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

/frameworks/base/core/java/android/widget/
H A DCheckable.java41 void toggle(); method in interface:Checkable
H A DRadioButton.java65 * If the radio button is already checked, this method will not toggle the radio button.
68 public void toggle() { method in class:RadioButton
69 // we override to prevent toggle when the radio is already
72 super.toggle();
H A DCheckedTextView.java74 public void toggle() { method in class:CheckedTextView
H A DCompoundButton.java85 public void toggle() { method in class:CompoundButton
97 /* When clicked, toggle the state */
98 toggle();
H A DSlidingDrawer.java712 public void toggle() { method in class:SlidingDrawer
729 * @see #toggle()
742 * @see #toggle()
757 * @see #toggle()
774 * @see #toggle()
796 * @see #toggle()
941 toggle();
/frameworks/base/tests/CoreTests/android/core/
H A DMonitorTest.java384 static int toggle = -1; field in class:MonitorTest.CompareAndExchange
389 toggle = -1;
442 if (CompareAndExchange.toggle == i1) {
444 CompareAndExchange.toggle = test = i2;
447 CompareAndExchange.toggle = test = i1;
449 if ((check = CompareAndExchange.toggle) != test) {
452 // " != toggle " + check);
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp560 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack
564 unsigned long toggle = mToggle ^ 1; local
565 void *userData = (void *)((unsigned long)this | toggle);
586 // From now on, AudioTrack callbacks recevieved with previous toggle value will be ignored.
587 mToggle = toggle;
642 unsigned long toggle = (unsigned long)user & 1; local
645 if (channel->mToggle != toggle) {
646 LOGV("callback with wrong toggle");
/frameworks/base/services/surfaceflinger/
H A DSurfaceFlinger.cpp927 static int toggle = 0; local
928 toggle = 1 - toggle;
929 if (toggle) {

Completed in 113 milliseconds