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
129
) sorted by null
1
2
3
4
5
6
/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() {
/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/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 public boolean matchesSafely(T
compoundButton
) {
17
return
compoundButton
!= null && expected ==
compoundButton
.isChecked();
25
public static <T extends
CompoundButton
> Matcher<T> isChecked(boolean expectedChecked) {
/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) {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
TranslateCheckBox.java
8
import android.widget.
CompoundButton
;
9
import android.widget.
CompoundButton
.OnCheckedChangeListener;
36
public void onCheckedChanged(
CompoundButton
view, boolean isChecked) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
PreviewPageFrame.java
23
import android.widget.
CompoundButton
;
53
event.setClassName(
CompoundButton
.class.getName());
60
info.setClassName(
CompoundButton
.class.getName());
/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/widget/
LocationDialogLayout.java
24
import android.widget.
CompoundButton
;
68
mCheckBox.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
70
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/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/core/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) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpFullscreenView.java
26
import android.widget.
CompoundButton
;
33
CompoundButton
.OnCheckedChangeListener, CheckBroker.OnCheckedChangedListener {
102
public void onCheckedChanged(
CompoundButton
arg0, boolean isChecked) {
/cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java
43
import android.widget.
CompoundButton
;
44
import android.widget.
CompoundButton
.OnCheckedChangeListener;
47
* Test {@link
CompoundButton
}.
89
CompoundButton
compoundButton
= new MockCompoundButton(mContext);
91
compoundButton
.setOnCheckedChangeListener(listener);
92
assertFalse(
compoundButton
.isChecked());
95
compoundButton
.setChecked(true);
96
assertTrue(
compoundButton
.isChecked());
98
assertSame(
compoundButton
, listener.getInputCompoundButton())
[
all
...]
/packages/apps/Settings/src/com/android/settings/
ApnPreference.java
30
import android.widget.
CompoundButton
;
35
CompoundButton
.OnCheckedChangeListener, OnClickListener {
51
private static
CompoundButton
mCurrentChecked = null;
96
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/packages/SystemUI/src/com/android/systemui/settings/
ToggleSlider.java
24
import android.widget.
CompoundButton
;
25
import android.widget.
CompoundButton
.OnCheckedChangeListener;
43
private
CompoundButton
mToggle;
67
mToggle = (
CompoundButton
) findViewById(R.id.toggle);
128
public void onCheckedChanged(
CompoundButton
toggle, boolean checked) {
/frameworks/base/core/java/android/widget/
CompoundButton.java
45
* See {@link android.R.styleable#
CompoundButton
46
*
CompoundButton
Attributes}, {@link android.R.styleable#Button Button
51
public abstract class
CompoundButton
extends Button implements Checkable {
69
public
CompoundButton
(Context context) {
73
public
CompoundButton
(Context context, AttributeSet attrs) {
77
public
CompoundButton
(Context context, AttributeSet attrs, int defStyleAttr) {
81
public
CompoundButton
(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
85
attrs, com.android.internal.R.styleable.
CompoundButton
, defStyleAttr, defStyleRes);
196
void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked);
330
event.setClassName(
CompoundButton
.class.getName())
[
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
;
45
private class Listener implements
CompoundButton
.OnCheckedChangeListener {
47
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
50
//
CompoundButton
will make sure we don't recurse.
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
SampleTrustAgentSettings.java
25
import android.widget.
CompoundButton
;
29
CompoundButton
.OnCheckedChangeListener {
90
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
/packages/apps/Settings/src/com/android/settings/notification/
ZenModeDowntimeDaysSelection.java
24
import android.widget.
CompoundButton
;
26
import android.widget.
CompoundButton
.OnCheckedChangeListener;
68
public void onCheckedChanged(
CompoundButton
buttonView, boolean isChecked) {
Completed in 2365 milliseconds
1
2
3
4
5
6