Home
last modified time | relevance | path

Searched refs:toggle (Results 1 – 19 of 19) sorted by relevance

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/util/
DConfigViewHolder.java37 public void bind(ConfigToggle toggle) { in bind() argument
38 mConfigToggle = toggle; in bind()
39 mCheckBox.setText(toggle.getText()); in bind()
40 mCheckBox.setChecked(toggle.isChecked()); in bind()
/development/samples/Support4Demos/src/com/example/android/supportv4/graphics/
DRoundedBitmapDrawableActivity.java49 ToggleButton toggle = (ToggleButton) findViewById(R.id.toggle_round); in onCreate() local
54 toggle.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in onCreate()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DFloatingActionButton.java130 public void toggle() { in toggle() method in FloatingActionButton
139 toggle(); in performClick()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DBottomSheetHideable.java48 mToggle = (Button) findViewById(R.id.toggle); in onCreate()
77 if (v.getId() == R.id.toggle && mBehavior != null) {
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList6.java51 ((SpeechListAdapter)getListAdapter()).toggle(position); in onListItemClick()
115 public void toggle(int position) { in toggle() method in List6.SpeechListAdapter
DCheckableFrameLayout.java45 public void toggle() { in toggle() method in CheckableFrameLayout
DTableLayout9.java38 Button button = (Button) findViewById(R.id.toggle); in onCreate()
DTableLayout8.java41 Button button = (Button) findViewById(R.id.toggle); in onCreate()
DGrid3.java126 public void toggle() { in toggle() method in Grid3.CheckableLayout
/development/samples/Support4Demos/src/com/example/android/supportv4/view/
DCheckableFrameLayout.java45 public void toggle() { in toggle() method in CheckableFrameLayout
/development/samples/Support13Demos/src/com/example/android/supportv13/view/
DCheckableFrameLayout.java45 public void toggle() { in toggle() method in CheckableFrameLayout
/development/samples/browseable/AppRestrictionSchema/
D_index.jd11 AppRestrictionEnforcer sample to toggle the restriction.
/development/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/
DCheckableLinearLayout.java54 public void toggle() { in toggle() method in CheckableLinearLayout
/development/samples/browseable/AppRestrictions/
D_index.jd11 … When launched under the primary User account, you can toggle between standard app restriction
/development/ndk/platforms/android-21/samples/native-codec/src/com/example/nativecodec/
DNativeCodec.java146 mRadio2.toggle(); in onCreate()
152 mRadio1.toggle(); in onCreate()
158 mRadio2.toggle(); in onCreate()
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/
DScreenCaptureFragment.java83 mButtonToggle = (Button) view.findViewById(R.id.toggle); in onViewCreated()
110 case R.id.toggle: in onClick()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DBaseLayoutManagerActivity.java183 ConfigToggle toggle = mConfigToggles[position];
184 holder.bind(toggle);
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
DItemTouchHelperActivity.java82 ConfigToggle toggle = mConfigToggles[position]; in initToggles()
83 holder.bind(toggle); in initToggles()
/development/samples/Home/src/com/example/android/home/
DHome.java526 mShowApplicationsCheck.toggle(); in showApplications()
562 mShowApplicationsCheck.toggle(); in hideApplications()