OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:compoundButton
(Results
1 - 6
of
6
) 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
...]
/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
...]
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java
36
import android.widget.
CompoundButton
;
52
CompoundButton
.OnCheckedChangeListener, AdapterView.OnItemSelectedListener {
121
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
122
switch (
compoundButton
.getId()) {
129
addApproval(getActivity(), (String)
compoundButton
.getTag());
131
removeApproval(getActivity(), (String)
compoundButton
.getTag());
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java
36
import android.widget.
CompoundButton
;
52
CompoundButton
.OnCheckedChangeListener, AdapterView.OnItemSelectedListener {
121
public void onCheckedChanged(
CompoundButton
compoundButton
, boolean checked) {
122
switch (
compoundButton
.getId()) {
129
addApproval(getActivity(), (String)
compoundButton
.getTag());
131
removeApproval(getActivity(), (String)
compoundButton
.getTag());
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 790 milliseconds