Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 44) sorted by relevance

12

/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
DNativeAudio.java106 boolean enabled = false; in onCreate()
108 enabled = !enabled; in onCreate()
109 if (!enableReverb(enabled)) { in onCreate()
110 enabled = !enabled; in onCreate()
199 boolean enabled = false; in onCreate()
201 enabled = !enabled; in onCreate()
202 enableStereoPositionUriAudioPlayer(enabled); in onCreate()
306 public static native boolean enableReverb(boolean enabled); in enableReverb() argument
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaController.java175 boolean enabled = isEnabled(); in updateButtons()
177 mPauseButton.setEnabled(enabled && (flags&TransportMediator.FLAG_KEY_MEDIA_PAUSE) != 0); in updateButtons()
180 mRewButton.setEnabled(enabled && (flags&TransportMediator.FLAG_KEY_MEDIA_REWIND) != 0); in updateButtons()
183 mFfwdButton.setEnabled(enabled && in updateButtons()
189 mPrevButton.setEnabled(enabled && mShowPrev); in updateButtons()
194 mNextButton.setEnabled(enabled && mShowNext); in updateButtons()
307 public void setEnabled(boolean enabled) { in setEnabled() argument
308 super.setEnabled(enabled); in setEnabled()
/development/samples/Support4Demos/src/com/example/android/supportv4/accessibility/
DAccessibilityManagerSupportActivity.java90 public void onAccessibilityStateChanged(boolean enabled) { in registerAccessibilityStateChangeListener()
92 getString(R.string.accessibility_manager_accessibility_state, enabled), in registerAccessibilityStateChangeListener()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java203 private void setAppEnabled(String packageName, boolean enabled) { in setAppEnabled() argument
219 if (enabled) { in setAppEnabled()
231 BasicDeviceAdminReceiver.getComponentName(activity), packageName, !enabled); in setAppEnabled() local
233 Toast.makeText(activity, enabled ? R.string.enabled : R.string.disabled, in setAppEnabled()
/development/samples/browseable/AppRestrictionSchema/
D_index.jd10 app (press the button to show \"Hello\" message) is enabled or disabled. Use
/development/samples/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java252 private void setKeyActionButtonsEnabled(boolean enabled) { in setKeyActionButtonsEnabled() argument
253 mPlainText.setEnabled(enabled); in setKeyActionButtonsEnabled()
254 mCipherText.setEnabled(enabled); in setKeyActionButtonsEnabled()
255 mSignButton.setEnabled(enabled); in setKeyActionButtonsEnabled()
256 mVerifyButton.setEnabled(enabled); in setKeyActionButtonsEnabled()
257 mDeleteButton.setEnabled(enabled); in setKeyActionButtonsEnabled()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DNumberPickerActivity.java44 ((CheckBox) findViewById(R.id.enabled)).setOnCheckedChangeListener( in onCreate()
DSeekBar1.java50 ((CheckBox) findViewById(R.id.enabled)).setOnCheckedChangeListener( in onCreate()
/development/ndk/platforms/android-3/include/linux/
Drtc.h28 unsigned char enabled; member
/development/ndk/platforms/android-21/arch-x86/include/asm/
Dkvm_para.h92 __u32 enabled; member
Dmtrr.h74 unsigned char enabled; member
/development/ndk/platforms/android-21/arch-x86_64/include/asm/
Dkvm_para.h92 __u32 enabled; member
Dmtrr.h74 unsigned char enabled; member
/development/ndk/platforms/android-21/include/linux/
Drtc.h36 unsigned char enabled; member
Domapfb.h140 __u8 enabled; member
214 __u8 enabled; member
Daudit.h336 __u32 enabled; member
365 __u32 enabled; member
/development/samples/browseable/BasicMediaRouter/
D_index.jd12 Secondary screen simulation can also be enabled from the "Developer Options".\n\n
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
DWizardNewPaymentStepFragment.java134 private void updateOkButton(boolean enabled) { in updateOkButton() argument
135 findButtonActionById(GuidedAction.ACTION_ID_OK).setEnabled(enabled); in updateOkButton()
/development/samples/browseable/DrawableTinting/
D_index.jd12 states of a View (for example disabled/enabled, focused, pressed or selected).
/development/scripts/gdb/
Ddalvik.gdb36 printf "ART debugging mode is enabled.\n"
42 printf "ART debugging mode is already enabled.\n"
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java499 private void enableDeviceCapabilitiesArea(boolean enabled) { in enableDeviceCapabilitiesArea() argument
500 mDisableCameraCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
501 mDisableKeyguardWidgetsCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
502 mDisableKeyguardSecureCameraCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
503 mDisableKeyguardNotificationCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
504 mDisableKeyguardUnredactedCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
505 mDisableKeyguardTrustAgentCheckbox.setEnabled(enabled); in enableDeviceCapabilitiesArea()
506 mTrustAgentComponent.setEnabled(enabled); in enableDeviceCapabilitiesArea()
507 mTrustAgentFeatures.setEnabled(enabled); in enableDeviceCapabilitiesArea()
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
Dboard.h41 unsigned enabled:1; member
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DBluetoothLeService.java292 boolean enabled) { in setCharacteristicNotification() argument
297 mBluetoothGatt.setCharacteristicNotification(characteristic, enabled); in setCharacteristicNotification()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DGuidedStepSupportActivity.java310 void updateOkButton(boolean enabled) { in updateOkButton() argument
311 findButtonActionById(GuidedAction.ACTION_ID_OK).setEnabled(enabled); in updateOkButton()
441 void updateContinue(boolean enabled) {
442 findButtonActionById(GuidedAction.ACTION_ID_CONTINUE).setEnabled(enabled);
480 .enabled(true)
DGuidedStepActivity.java308 void updateOkButton(boolean enabled) { in updateOkButton() argument
309 findButtonActionById(GuidedAction.ACTION_ID_OK).setEnabled(enabled); in updateOkButton()
439 void updateContinue(boolean enabled) {
440 findButtonActionById(GuidedAction.ACTION_ID_CONTINUE).setEnabled(enabled);
478 .enabled(true)

12