/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | PrimarySwitchPreferenceTest.java | 64 final Switch toggle = (Switch) mHolder.findViewById(R.id.switchWidget); in setChecked_shouldUpdateButtonCheckedState() local 68 assertThat(toggle.isChecked()).isTrue(); in setChecked_shouldUpdateButtonCheckedState() 71 assertThat(toggle.isChecked()).isFalse(); in setChecked_shouldUpdateButtonCheckedState() 76 final Switch toggle = (Switch) mHolder.findViewById(R.id.switchWidget); in setSwitchEnabled_shouldUpdateButtonEnabledState() local 80 assertThat(toggle.isEnabled()).isTrue(); in setSwitchEnabled_shouldUpdateButtonEnabledState() 83 assertThat(toggle.isEnabled()).isFalse(); in setSwitchEnabled_shouldUpdateButtonEnabledState() 88 final Switch toggle = (Switch) mHolder.findViewById(R.id.switchWidget); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local 92 assertThat(toggle.isEnabled()).isFalse(); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() 99 final Switch toggle = (Switch) mHolder.findViewById(R.id.switchWidget); in clickWidgetView_shouldToggleButton() local 102 toggle.performClick(); in clickWidgetView_shouldToggleButton() [all …]
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawable01.java | 63 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/ |
D | ProjectionActivity.java | 38 boolean toggle = false; in ProjectedView() 41 toggle = !toggle; in ProjectedView() 42 setProject(toggle); in ProjectedView()
|
/frameworks/proto_logging/stats/enums/app/ |
D | tvsettings_enums.proto | 44 /** Denotes that a toggle is clicked by a user. */ 59 /** Denotes that a toggle is turned on by a user. */ 62 /** Denotes that a toggle is turned off by a user. */ 104 // TvSettings > Network & Internet > Wi-Fi (toggle) 136 // TvSettings > Network & Internet > Scanning always available (toggle) 184 // Google Assistant > SafeSearch filter (toggle) 188 // Google Assistant > Block offensive words (toggle) 196 // Google Assistant > Personal results (toggle) 200 // Apps only mode (toggle) 227 // [Choose synced apps] Calendar (toggle) [all …]
|
D | wearsettings_enums.proto | 31 // Indicates a toggle was toggled on 34 // Indicates a toggle was toggled off
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NavigationDrawerActivity.java | 39 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( in onCreate() local 42 drawer.setDrawerListener(toggle); in onCreate() 43 toggle.syncState(); in onCreate()
|
D | ClippedListActivity.java | 40 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( in initializeActivity() local 43 drawer.setDrawerListener(toggle); in initializeActivity() 44 toggle.syncState(); in initializeActivity()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlActionCoordinatorImplTest.kt | 122 coordinator.toggle(cvh, "", true) in testToggleRunsWhenUnlocked() 132 coordinator.toggle(cvh, "", true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked() 155 coordinator.toggle(cvh, "", true) in testToggleRunsWhenLockedAndAuthNotRequired() 172 coordinator.toggle(cvh, "", true) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled() 186 coordinator.toggle(cvh, "", true) in testToggleDoesNotRunsWhenLockedAndAuthRequired() 198 coordinator.toggle(cvh, "", true) in testNullControl()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | CheckedListItem.java | 59 public void toggle() { in toggle() method in CheckedListItem 60 getCheckedTextView().toggle(); in toggle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorListView.kt | 148 switch = findViewById(R.id.toggle) in onFinishInflate() 150 setOnClickListener { switch.toggle() } in onFinishInflate() 179 switch = findViewById(R.id.toggle) in onFinishInflate() 185 setOnClickListener { switch.toggle() } in onFinishInflate()
|
/frameworks/base/media/jni/soundpool/ |
D | Stream.h | 134 StreamCallback(Stream * stream, bool toggle) : mStream(stream), mToggle(toggle) {} in StreamCallback() argument 165 void onBufferEnd(int toggle, int tries) NO_THREAD_SAFETY_ANALYSIS;
|
D | Stream.cpp | 316 auto toggle = mToggle ^ 1; in play_l() local 329 mCallback = sp<StreamCallback>::make(this, toggle), in play_l() 355 mToggle = toggle; in play_l() 426 void Stream::onBufferEnd(int toggle, int tries) in onBufferEnd() argument 442 getPairStream()->onBufferEnd(toggle, tries + 1); in onBufferEnd() 448 if (mToggle != toggle) { in onBufferEnd()
|
/frameworks/base/core/java/android/widget/ |
D | RadioButton.java | 78 public void toggle() { in toggle() method in RadioButton 82 super.toggle(); in toggle()
|
D | Checkable.java | 41 void toggle(); in toggle() method
|
D | ToggleButton.java | 168 layerDrawable.findDrawableByLayerId(com.android.internal.R.id.toggle); in updateReferenceToIndicatorDrawable()
|
/frameworks/native/opengl/tests/gl2_basic/ |
D | gl2_basic.cpp | 271 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/ |
D | gl_basic.cpp | 336 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/controls/ui/ |
D | ControlActionCoordinator.kt | 43 fun toggle(cvh: ControlViewHolder, templateId: String, isChecked: Boolean) method
|
D | ToggleBehavior.kt | 39 cvh.controlActionCoordinator.toggle(cvh, template.getTemplateId(), template.isChecked()) in initialize()
|
D | ToggleRangeBehavior.kt | 183 cvh.controlActionCoordinator.toggle(cvh, templateId, isChecked) in <lambda>() 357 cvh.controlActionCoordinator.toggle(cvh, templateId, isChecked) in <lambda>()
|
/frameworks/base/core/proto/android/hardware/ |
D | sensorprivacy.proto | 64 // Per toggle type sensor privacy 113 // The toggle type for this state
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | CheckableLinearLayout.java | 82 public void toggle() { in toggle() method in CheckableLinearLayout
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/ |
D | SwitchItem.java | 93 public void toggle(View view) { in toggle() method in SwitchItem
|
/frameworks/base/core/proto/android/providers/settings/ |
D | system.proto | 145 // Control whether the rotation lock toggle in the System UI should be hidden. 147 // the user to accidentally toggle the rotation lock while the display rotation 149 // If 0, then rotation lock toggle is not hidden for accessibility (although it may be 150 // unavailable for other reasons). If 1, then the rotation lock toggle is hidden.
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ControllerActivity.java | 149 private void updateWidgets(WindowInsets insets, int types, ToggleButton toggle, SeekBar seek) { in updateWidgets() argument 153 toggle.setChecked(isVisible); in updateWidgets()
|