Home
last modified time | relevance | path

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

12

/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawable01.java63 CheckBox toggle = new CheckBox(this); in onCreate() local
64 toggle.setText("Toggle"); in onCreate()
65 toggle.setChecked(true); in onCreate()
66 toggle.setOnCheckedChangeListener(new OnCheckedChangeListener() { in onCreate()
78 container.addView(toggle); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DProjectionActivity.java38 boolean toggle = false; in ProjectedView()
41 toggle = !toggle; in ProjectedView()
42 setProject(toggle); in ProjectedView()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNavigationDrawerActivity.java39 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( in onCreate() local
42 drawer.setDrawerListener(toggle); in onCreate()
43 toggle.syncState(); in onCreate()
DClippedListActivity.java43 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( in onCreate() local
46 drawer.setDrawerListener(toggle); in onCreate()
47 toggle.syncState(); in onCreate()
/frameworks/base/core/java/android/widget/
DRadioButton.java72 public void toggle() { in toggle() method in RadioButton
76 super.toggle(); in toggle()
DCheckable.java41 void toggle(); in toggle() method
DToggleButton.java156 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle); in updateReferenceToIndicatorDrawable()
DCompoundButton.java134 public void toggle() { in toggle() method in CompoundButton
140 toggle(); in performClick()
DSlidingDrawer.java743 public void toggle() { in toggle() method
977 toggle(); in onClick()
DCheckedTextView.java124 public void toggle() { in toggle() method in CheckedTextView
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt36 …ttingsStore: Tracks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mod…
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp271 static EGLBoolean toggle = GL_FALSE; in setSurfaceMetadata() local
281 if (toggle) { in setSurfaceMetadata()
290 if (toggle) { in setSurfaceMetadata()
300 toggle = !toggle; in setSurfaceMetadata()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp336 static EGLBoolean toggle = GL_FALSE; in setSurfaceMetadata() local
346 if (toggle) { in setSurfaceMetadata()
355 if (toggle) { in setSurfaceMetadata()
365 toggle = !toggle; in setSurfaceMetadata()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DToggleSliderView.java64 mToggle = findViewById(R.id.toggle); in ToggleSliderView()
152 public void onCheckedChanged(CompoundButton toggle, boolean checked) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt131 switch = findViewById(R.id.toggle) in onFinishInflate()
153 switch = findViewById(R.id.toggle) in onFinishInflate()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DCheckableLinearLayout.java82 public void toggle() { in toggle() method in CheckableLinearLayout
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto144 // Control whether the rotation lock toggle in the System UI should be hidden.
146 // the user to accidentally toggle the rotation lock while the display rotation
148 // If 0, then rotation lock toggle is not hidden for accessibility (although it may be
149 // unavailable for other reasons). If 1, then the rotation lock toggle is hidden.
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DSwitchItem.java93 public void toggle(View view) { in toggle() method in SwitchItem
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp790 unsigned long toggle = mToggle ^ 1; in play() local
791 void *userData = (void *)((unsigned long)this | toggle); in play()
820 mToggle = toggle; in play()
890 void SoundChannel::process(int event, void *info, unsigned long toggle) in process() argument
901 if (mToggle != toggle) { in process()
DSoundPool.h146 void process(int event, void *info, unsigned long toggle);
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto42 // SUBTYPE: true if connected to network before toggle, false if not
62 // ACTION: DND Settings > Priority only allows > Reminder toggle
68 // ACTION: DND Settings > Priority only allows > Event toggle
86 // ACTION: DND Settings > Priority only allows > Repeat callers toggle
97 // ACTION: Settings > More > Airplane mode toggle
103 // ACTION: Settings > Data usage > Cellular data toggle
151 // OPEN: Settings -> Data Usage -> Data saver -> On/off toggle
159 // OPEN: Settings -> Data Usage -> Data saver -> Unrestricted data access > APP toggle turned on
161 // Settings -> Apps -> APP -> Data usage -> Unrestricted data usage toggle turned on
168 // OPEN: Settings -> Apps -> APP -> Data usage -> Background data toggle turned off
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerZenModePanel.java136 ((Checkable) mHeaderSwitch.findViewById(android.R.id.toggle)).setChecked(zenOn); in updatePanel()
/frameworks/base/core/java/android/hardware/
DCamera.java3866 public void setAutoExposureLock(boolean toggle) { in setAutoExposureLock() argument
3867 set(KEY_AUTO_EXPOSURE_LOCK, toggle ? TRUE : FALSE); in setAutoExposureLock()
3936 public void setAutoWhiteBalanceLock(boolean toggle) { in setAutoWhiteBalanceLock() argument
3937 set(KEY_AUTO_WHITEBALANCE_LOCK, toggle ? TRUE : FALSE); in setAutoWhiteBalanceLock()
4306 public void setVideoStabilization(boolean toggle) { in setVideoStabilization() argument
4307 set(KEY_VIDEO_STABILIZATION, toggle ? TRUE : FALSE); in setVideoStabilization()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java198 item.toggle(view); in testToggle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java106 mQsDetailHeaderSwitch = (Switch) mQsDetailHeader.findViewById(android.R.id.toggle); in onFinishInflate()

12