Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Phone/src/com/android/phone/
DCellBroadcastSms.java450 private void enableDisableAllCbConfigButtons(boolean enable) { in enableDisableAllCbConfigButtons() argument
451 mButtonEmergencyBroadcast.setEnabled(enable); in enableDisableAllCbConfigButtons()
452 mListLanguage.setEnabled(enable); in enableDisableAllCbConfigButtons()
453 mButtonAdministrative.setEnabled(enable); in enableDisableAllCbConfigButtons()
454 mButtonMaintenance.setEnabled(enable); in enableDisableAllCbConfigButtons()
455 mButtonLocalWeather.setEnabled(enable); in enableDisableAllCbConfigButtons()
456 mButtonAtr.setEnabled(enable); in enableDisableAllCbConfigButtons()
457 mButtonLafs.setEnabled(enable); in enableDisableAllCbConfigButtons()
458 mButtonRestaurants.setEnabled(enable); in enableDisableAllCbConfigButtons()
459 mButtonLodgings.setEnabled(enable); in enableDisableAllCbConfigButtons()
[all …]
DAccelerometerListener.java72 public void enable(boolean enable) { in enable() argument
73 if (DEBUG) Log.d(TAG, "enable(" + enable + ")"); in enable()
75 if (enable) { in enable()
DCdmaVoicePrivacyCheckBoxPreference.java86 final int enable = ((int[]) ar.result)[0]; in handleGetVPResponse() local
87 setChecked(enable != 0); in handleGetVPResponse()
90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable); in handleGetVPResponse() local
DNotificationMgr.java203 public void enableNotificationAlerts(boolean enable) { in enableNotificationAlerts() argument
204 if (mIsNotificationEnabled != enable) { in enableNotificationAlerts()
205 mIsNotificationEnabled = enable; in enableNotificationAlerts()
217 public void enableExpandedView(boolean enable) { in enableExpandedView() argument
218 if (mIsExpandedViewEnabled != enable) { in enableExpandedView()
219 mIsExpandedViewEnabled = enable; in enableExpandedView()
232 public void enableSystemBarNavigation(boolean enable) { in enableSystemBarNavigation() argument
233 if (mIsSystemBarNavigationEnabled != enable) { in enableSystemBarNavigation()
234 mIsSystemBarNavigationEnabled = enable; in enableSystemBarNavigation()
/packages/apps/Settings/src/com/android/settings/
DPrivacySettings.java192 private void setBackupEnabled(boolean enable) { in setBackupEnabled() argument
195 mBackupManager.setBackupEnabled(enable); in setBackupEnabled()
197 mBackup.setChecked(!enable); in setBackupEnabled()
198 mAutoRestore.setEnabled(!enable); in setBackupEnabled()
202 mBackup.setChecked(enable); in setBackupEnabled()
203 mAutoRestore.setEnabled(enable); in setBackupEnabled()
204 mConfigure.setEnabled(enable); in setBackupEnabled()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java121 private void tryCdmaSetCategory(Context context, int category, boolean enable) { in tryCdmaSetCategory() argument
127 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, enable) in tryCdmaSetCategory()
133 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, enable) in tryCdmaSetCategory()
139 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, enable).apply(); in tryCdmaSetCategory()
144 CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, enable).apply(); in tryCdmaSetCategory()
148 Log.w(TAG, "Ignoring SCPD command to " + (enable ? "enable" : "disable") in tryCdmaSetCategory()
DCellBroadcastConfigService.java53 private static void setChannelRange(SmsManager manager, String ranges, boolean enable) { in setChannelRange() argument
60 if (enable) { in setChannelRange()
69 if (enable) { in setChannelRange()
/packages/inputmethods/PinyinIME/jni/share/
Dpinyinime.cpp174 void im_enable_shm_as_szm(bool enable) { in im_enable_shm_as_szm() argument
176 spl_trie.szm_enable_shm(enable); in im_enable_shm_as_szm()
179 void im_enable_ym_as_szm(bool enable) { in im_enable_ym_as_szm() argument
181 spl_trie.szm_enable_ym(enable); in im_enable_ym_as_szm()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoing.java100 public void onEnableProceedButtons(boolean enable) { in onEnableProceedButtons() argument
101 mNextButtonEnabled = enable; in onEnableProceedButtons()
102 mNextButton.setEnabled(enable); in onEnableProceedButtons()
DAccountSetupIncoming.java100 public void onEnableProceedButtons(boolean enable) { in onEnableProceedButtons() argument
101 mNextButtonEnabled = enable; in onEnableProceedButtons()
102 mNextButton.setEnabled(enable); in onEnableProceedButtons()
DAccountServerBaseFragment.java86 public void onEnableProceedButtons(boolean enable); in onEnableProceedButtons() argument
106 @Override public void onEnableProceedButtons(boolean enable) { } in onEnableProceedButtons() argument
228 public void enableNextButton(boolean enable) { in enableNextButton() argument
232 mProceedButton.setEnabled(enable); in enableNextButton()
237 mCallback.onEnableProceedButtons(enable); in enableNextButton()
DAccountSetupExchange.java195 public void onEnableProceedButtons(boolean enable) { in onEnableProceedButtons() argument
196 mNextButtonEnabled = enable; in onEnableProceedButtons()
197 mNextButton.setEnabled(enable); in onEnableProceedButtons()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragmentCarousel.java161 public void enableSwipe(boolean enable) { in enableSwipe() argument
162 if (mEnableSwipe != enable) { in enableSwipe()
163 mEnableSwipe = enable; in enableSwipe()
165 mUpdatesFragment.setVisibility(enable ? View.VISIBLE : View.GONE); in enableSwipe()
DContactDetailViewPagerAdapter.java65 public void enableSwipe(boolean enable) { in enableSwipe() argument
66 mFragmentViewCount = enable ? MAX_FRAGMENT_VIEW_COUNT : 1; in enableSwipe()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothAdapter.java84 boolean enable() { in enable() method in LocalBluetoothAdapter
85 return mAdapter.enable(); in enable()
200 ? mAdapter.enable() in setBluetoothEnabled()
/packages/inputmethods/PinyinIME/jni/include/
Dpinyinime.h199 void im_enable_shm_as_szm(bool enable);
204 void im_enable_ym_as_szm(bool enable);
Dspellingtrie.h201 void szm_enable_shm(bool enable);
204 void szm_enable_ym(bool enable);
/packages/apps/Email/src/com/android/email/activity/
DAddressTextView.java67 private void markError(boolean enable) { in markError() argument
68 if (enable) { in markError()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApEnabler.java111 public void setSoftapEnabled(boolean enable) { in setSoftapEnabled() argument
117 if (enable && ((wifiState == WifiManager.WIFI_STATE_ENABLING) || in setSoftapEnabled()
123 if (mWifiManager.setWifiApEnabled(null, enable)) { in setSoftapEnabled()
133 if (!enable) { in setSoftapEnabled()
/packages/apps/Settings/tests/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java70 Button enable = (Button) findViewById(R.id.enable); in onCreate() local
71 enable.setOnClickListener(new BtOnClickListener(true /* enable */)); in onCreate()
/packages/apps/Email/src/com/android/email/
DEmail.java118 boolean enable = c != null && c.getCount() > 0; in setServicesEnabledSync()
119 setServicesEnabled(context, enable); in setServicesEnabledSync()
120 return enable; in setServicesEnabledSync()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java140 mIdleRunner.enable(); in addOnGLIdleListener()
287 Profile.enable(20); // take a sample every 20ms in onSurfaceChanged()
391 if (!mIdleListeners.isEmpty()) mIdleRunner.enable(); in onDrawFrameLocked()
469 if (!mRenderRequested) enable(); in run()
473 public void enable() { in enable() method in GLRootView.IdleRunner
/packages/apps/Mms/src/com/android/mms/ui/
DAttachmentEditor.java102 public void setCanSend(boolean enable) { in setCanSend() argument
103 if (mCanSend != enable) { in setCanSend()
104 mCanSend = enable; in setCanSend()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleSetAlarm.java109 boolean enable, boolean skipUi) { in handleCursorResult() argument
112 if (enable) { in handleCursorResult()
/packages/apps/Browser/src/com/android/browser/
DBookmarkItem.java140 void setEnableScrolling(boolean enable) { in setEnableScrolling() argument
141 mEnableScrolling = enable; in setEnableScrolling()

123