OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CompoundButton
(Results
1 - 25
of
107
) sorted by null
1
2
3
4
5
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCompoundButton.java
4
import android.widget.
CompoundButton
;
9
* Shadows the {@code android.widget.
CompoundButton
} class.
14
@Implements(
CompoundButton
.class)
17
private
CompoundButton
.OnCheckedChangeListener onCheckedChangeListener;
45
onCheckedChangeListener.onCheckedChanged((
CompoundButton
) realView, this.checked);
51
public void setOnCheckedChangeListener(
CompoundButton
.OnCheckedChangeListener listener) {
55
public
CompoundButton
.OnCheckedChangeListener getOnCheckedChangeListener() {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
CompoundButtonCheckedMatcher.java
3
import android.widget.
CompoundButton
;
9
public class CompoundButtonCheckedMatcher<T extends
CompoundButton
> extends TypeSafeMatcher<T> {
16
@Override protected boolean matchesSafely(T
compoundButton
) {
17
return
compoundButton
!= null && expected ==
compoundButton
.isChecked();
25
public static <T extends
CompoundButton
> Matcher<T> isChecked(boolean expectedChecked) {
/packages/apps/Browser/src/com/android/browser/
HistoryItem.java
23
import android.widget.
CompoundButton
;
24
import android.widget.
CompoundButton
.OnCheckedChangeListener;
32
private
CompoundButton
mStar; // Star for bookmarking
44
mStar = (
CompoundButton
) findViewById(R.id.star);
78
public void onCheckedChanged(
CompoundButton
buttonView,
/development/samples/ApiDemos/src/com/example/android/apis/view/
Switches.java
21
import android.widget.
CompoundButton
;
30
public class Switches extends Activity implements
CompoundButton
.OnCheckedChangeListener {
44
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
Hover.java
32
import android.widget.
CompoundButton
;
99
mInterceptCheckBox.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
101
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
SystemUIModes.java
37
import android.widget.
CompoundButton
;
198
CompoundButton
.OnCheckedChangeListener checkChangeListener
199
= new
CompoundButton
.OnCheckedChangeListener() {
200
@Override public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
216
new
CompoundButton
.OnCheckedChangeListener() {
218
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
224
new
CompoundButton
.OnCheckedChangeListener() {
226
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
232
new
CompoundButton
.OnCheckedChangeListener() {
234
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked)
[
all
...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
TranslateCheckBox.java
8
import android.widget.
CompoundButton
;
30
checkBox.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
32
public void onCheckedChanged(
CompoundButton
view, boolean isChecked) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpFullscreenView.java
23
import android.widget.
CompoundButton
;
24
import android.widget.
CompoundButton
.OnCheckedChangeListener;
31
CompoundButton
.OnCheckedChangeListener, CheckBroker.OnCheckedChangedListener {
100
public void onCheckedChanged(
CompoundButton
arg0, boolean isChecked) {
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
RelayController.java
9
import android.widget.
CompoundButton
;
10
import android.widget.
CompoundButton
.OnCheckedChangeListener;
44
public void onCheckedChanged(
CompoundButton
arg0, boolean isChecked) {
/packages/apps/Camera/src/com/android/camera/ui/
InLineSettingCheckBox.java
23
import android.widget.
CompoundButton
;
24
import android.widget.
CompoundButton
.OnCheckedChangeListener;
36
public void onCheckedChanged(
CompoundButton
buttonView, boolean desiredState) {
/packages/apps/Camera2/src/com/android/camera/ui/
InLineSettingCheckBox.java
23
import android.widget.
CompoundButton
;
24
import android.widget.
CompoundButton
.OnCheckedChangeListener;
35
public void onCheckedChanged(
CompoundButton
buttonView, boolean desiredState) {
/packages/apps/LegacyCamera/src/com/android/camera/ui/
InLineSettingSwitch.java
27
import android.widget.
CompoundButton
;
28
import android.widget.
CompoundButton
.OnCheckedChangeListener;
36
public void onCheckedChanged(
CompoundButton
buttonView, boolean desiredState) {
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
BooleanEditor.java
21
import android.widget.
CompoundButton
;
22
import android.widget.
CompoundButton
.OnCheckedChangeListener;
42
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/frameworks/base/services/java/com/android/server/am/
CompatModeDialog.java
28
import android.widget.
CompoundButton
;
52
mCompatEnabled.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
54
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
65
mAlwaysShow.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
67
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
RotationAnimation.java
27
import android.widget.
CompoundButton
;
44
new
CompoundButton
.OnCheckedChangeListener() {
46
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
ConfirmDialog.java
29
import android.widget.
CompoundButton
;
36
CompoundButton
.OnCheckedChangeListener, DialogInterface.OnClickListener {
67
((
CompoundButton
) view.findViewById(R.id.check)).setOnCheckedChangeListener(this);
93
public void onCheckedChanged(
CompoundButton
button, boolean checked) {
/packages/apps/Settings/src/com/android/settings/
ApnPreference.java
30
import android.widget.
CompoundButton
;
35
CompoundButton
.OnCheckedChangeListener, OnClickListener {
51
private static
CompoundButton
mCurrentChecked = null;
95
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/development/samples/ApiDemos/src/com/example/android/apis/animation/
LayoutAnimations.java
32
import android.widget.
CompoundButton
;
96
customAnimCB.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
97
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
104
appearingCB.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
105
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
110
disappearingCB.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
111
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
116
changingAppearingCB.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
117
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
122
changingDisappearingCB.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener()
[
all
...]
/frameworks/base/core/java/android/widget/
CompoundButton.java
41
* See {@link android.R.styleable#
CompoundButton
42
*
CompoundButton
Attributes}, {@link android.R.styleable#Button Button
47
public abstract class
CompoundButton
extends Button implements Checkable {
59
public
CompoundButton
(Context context) {
63
public
CompoundButton
(Context context, AttributeSet attrs) {
67
public
CompoundButton
(Context context, AttributeSet attrs, int defStyle) {
72
attrs, com.android.internal.R.styleable.
CompoundButton
, defStyle, 0);
169
void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked);
214
event.setClassName(
CompoundButton
.class.getName());
221
info.setClassName(
CompoundButton
.class.getName())
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
ToggleSlider.java
25
import android.widget.
CompoundButton
;
33
implements
CompoundButton
.OnCheckedChangeListener, SeekBar.OnSeekBarChangeListener {
44
private
CompoundButton
mToggle;
64
mToggle = (
CompoundButton
)findViewById(R.id.toggle);
85
public void onCheckedChanged(
CompoundButton
toggle, boolean checked) {
/cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java
37
import android.widget.
CompoundButton
;
38
import android.widget.
CompoundButton
.OnCheckedChangeListener;
41
* Test {@link
CompoundButton
}.
83
CompoundButton
compoundButton
= new MockCompoundButton(mContext);
85
compoundButton
.setOnCheckedChangeListener(listener);
86
assertFalse(
compoundButton
.isChecked());
89
compoundButton
.setChecked(true);
90
assertTrue(
compoundButton
.isChecked());
92
assertSame(
compoundButton
, listener.getInputCompoundButton())
[
all
...]
/development/samples/ContactManager/src/com/example/android/contactmanager/
ContactManager.java
29
import android.widget.
CompoundButton
;
30
import android.widget.
CompoundButton
.OnCheckedChangeListener;
71
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/frameworks/base/core/java/android/preference/
SwitchPreference.java
24
import android.widget.
CompoundButton
;
44
private class Listener implements
CompoundButton
.OnCheckedChangeListener {
46
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
49
//
CompoundButton
will make sure we don't recurse.
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java
25
import android.widget.
CompoundButton
;
37
public final class BluetoothEnabler implements
CompoundButton
.OnCheckedChangeListener {
108
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/packages/apps/Settings/src/com/android/settings/nfc/
AndroidBeam.java
30
import android.widget.
CompoundButton
;
36
implements
CompoundButton
.OnCheckedChangeListener {
92
public void onCheckedChanged(
CompoundButton
buttonView, boolean desiredState) {
Completed in 556 milliseconds
1
2
3
4
5