OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:compoundButton
(Results
1 - 15
of
15
) sorted by null
/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
...]
/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) {
/frameworks/base/core/java/com/android/internal/view/menu/
ListMenuItemView.java
28
import android.widget.
CompoundButton
;
136
final
CompoundButton
compoundButton
;
137
final
CompoundButton
otherCompoundButton;
143
compoundButton
= mRadioButton;
149
compoundButton
= mCheckBox;
154
compoundButton
.setChecked(mItemData.isChecked());
157
if (
compoundButton
.getVisibility() != newVisibility) {
158
compoundButton
.setVisibility(newVisibility);
172
CompoundButton
compoundButton
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ListMenuItemView.java
28
import android.widget.
CompoundButton
;
136
final
CompoundButton
compoundButton
;
137
final
CompoundButton
otherCompoundButton;
143
compoundButton
= mRadioButton;
149
compoundButton
= mCheckBox;
154
compoundButton
.setChecked(mItemData.isChecked());
157
if (
compoundButton
.getVisibility() != newVisibility) {
158
compoundButton
.setVisibility(newVisibility);
176
CompoundButton
compoundButton
[
all
...]
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
CheckableListAdapter.java
26
import android.widget.
CompoundButton
;
69
row.setOnCheckedChangeListener(new
CompoundButton
.OnCheckedChangeListener() {
71
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean b) {
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java
34
import android.widget.
CompoundButton
;
46
CompoundButton
.OnCheckedChangeListener {
107
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
108
switch (
compoundButton
.getId()) {
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java
34
import android.widget.
CompoundButton
;
46
CompoundButton
.OnCheckedChangeListener {
107
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
108
switch (
compoundButton
.getId()) {
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
AppRestrictionEnforcerFragment.java
34
import android.widget.
CompoundButton
;
46
CompoundButton
.OnCheckedChangeListener {
107
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
108
switch (
compoundButton
.getId()) {
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
BasicManagedProfileFragment.java
36
import android.widget.
CompoundButton
;
52
CompoundButton
.OnCheckedChangeListener {
182
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
183
switch (
compoundButton
.getId()) {
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
BasicManagedProfileFragment.java
36
import android.widget.
CompoundButton
;
52
CompoundButton
.OnCheckedChangeListener {
182
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
183
switch (
compoundButton
.getId()) {
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
BasicManagedProfileFragment.java
36
import android.widget.
CompoundButton
;
52
CompoundButton
.OnCheckedChangeListener {
182
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
183
switch (
compoundButton
.getId()) {
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/notifications/
MainActivity.java
34
import android.widget.
CompoundButton
;
311
implements
CompoundButton
.OnCheckedChangeListener {
319
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
/development/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
MainActivity.java
34
import android.widget.
CompoundButton
;
311
implements
CompoundButton
.OnCheckedChangeListener {
319
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java
62
import android.widget.
CompoundButton
;
722
final
CompoundButton
.OnCheckedChangeListener onOffListener =
723
new
CompoundButton
.OnCheckedChangeListener() {
725
public void onCheckedChanged(
CompoundButton
compoundButton
,
[
all
...]
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 354 milliseconds