/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestMenuItem.java | 14 private boolean enabled = true; field in class:TestMenuItem 159 public MenuItem setEnabled(boolean enabled) { 160 this.enabled = enabled; 166 return enabled; 195 if (enabled && menuItemClickListener != null) { 197 } else if (enabled && intent != null) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlBar.java | 114 public void setEnabled(boolean enabled) { 115 super.setEnabled(enabled); 117 mSecondLevelIcon.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); 120 enableZoom(enabled); 122 mSecondLevelIcon.setEnabled(enabled); 125 public void enableZoom(boolean enabled) { 126 if (mZoomControl != null) mZoomControl.setEnabled(enabled);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
PeopleOptionsItemView.java | 90 final boolean enabled = mData.getEnabled(); 91 if (enabled != isEnabled()) { 92 mTitle.setEnabled(enabled); 93 mSubtitle.setEnabled(enabled); 94 mSwitch.setEnabled(enabled); 95 setAlpha(enabled ? 1.0f : 0.5f); 96 setEnabled(enabled);
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
TimeShiftManagerTest.java | 76 private void enableAllActions(boolean enabled) { 77 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PLAY, enabled); 78 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_PAUSE, enabled); 79 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_REWIND, enabled); 80 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_FAST_FORWARD, enabled); 81 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_PREVIOUS, enabled); 82 mTimeShiftManager.enableAction(TIME_SHIFT_ACTION_ID_JUMP_TO_NEXT, enabled);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
AccountPreferences.java | 42 "inbox-notifications-enabled"; 44 /** Boolean value indicating whether notifications are enabled */ 45 public static final String NOTIFICATIONS_ENABLED = "notifications-enabled"; 105 public void setDefaultInboxNotificationsEnabled(final boolean enabled) { 106 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply(); 117 public void setNotificationsEnabled(final boolean enabled) { 118 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply();
|
/system/connectivity/shill/ |
scope_logger.h | 85 // Returns true if logging is enabled for |scope| and |verbose_level|, i.e. 89 // Returns true if logging is enabled for |scope| at any verbosity level. 96 // scopes that are enabled for logging. 103 // sign is enabled for logging, whereas a scope prefixed by a minus sign 110 // indicates that all scopes are first disabled before enabled by 136 void SetScopeEnabled(Scope scope, bool enabled); 138 // Boolean values to indicate whether logging is enabled for each scope.
|
/external/llvm/lib/Target/ |
TargetRecip.cpp | 40 // The uninitialized state is needed for the enabled settings and refinement 101 KV.second.Enabled = Enable; 143 if (RecipMap[Val.str() + 'd'].Enabled != Uninitialized) { 150 if (Iter->second.Enabled != Uninitialized) 154 Iter->second.Enabled = !IsDisabled; 160 RecipMap[Val.str() + 'd'].Enabled = !IsDisabled; 181 assert(Iter->second.Enabled != Uninitialized && 183 return Iter->second.Enabled; 200 if (RP.Enabled == Uninitialized) 201 RP.Enabled = Enable [all...] |
/prebuilts/tools/common/m2/repository/org/slf4j/slf4j-parent/1.5.10/ |
slf4j-parent-1.5.10.pom | 217 <enabled>false</enabled> 220 <enabled>true</enabled> 229 <enabled>true</enabled> 241 <enabled>false</enabled> 244 <enabled>true</enabled> [all...] |
/prebuilts/tools/common/m2/repository/org/slf4j/slf4j-parent/1.6.2/ |
slf4j-parent-1.6.2.pom | 218 <enabled>false</enabled>
221 <enabled>true</enabled>
230 <enabled>true</enabled>
242 <enabled>false</enabled>
245 <enabled>true</enabled>
[all...] |
/external/libvpx/libvpx/build/make/ |
configure.sh | 59 if enabled $opt; then 109 the default value for foo is enabled. 196 enabled(){ function 211 enabled $var || log_echo " enabling $var" 218 # not been explicitly (force) enabled, and disables the setting controlled by 219 # the parameter when the setting is not enabled. 223 if ! enabled $var; then 268 enabled gcov && rm -f ${TMP_C%.c}.gcno ${TMP_CC%.cc}.gcno 275 enabled external_build && return 384 if enabled gcc && ! disabled "$feature" && ! check_cflags "-m$opt"; the [all...] |
/external/webrtc/webrtc/modules/audio_device/test/ |
audio_device_test_api.cc | 1202 bool enabled; local 1260 bool enabled; local 1309 bool enabled; local 1385 bool enabled; local 1454 bool enabled; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
networkconfig.ui | 140 <property name="enabled" > 163 <property name="enabled" > 177 <property name="enabled" > 194 <property name="enabled" > 214 <property name="enabled" > 221 <property name="enabled" > 230 <property name="enabled" > 240 <property name="enabled" > 250 <property name="enabled" > 260 <property name="enabled" > [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-lm32.c | 93 { "mmultiply-enabled", no_argument, NULL, OPTION_MULTIPLY_ENABLED }, 95 { "mdivide-enabled", no_argument, NULL, OPTION_DIVIDE_ENABLED }, 97 { "mbarrel-shift-enabled", no_argument, NULL, OPTION_BARREL_SHIFT_ENABLED }, 99 { "msign-extend-enabled", no_argument, NULL, OPTION_SIGN_EXTEND_ENABLED }, 101 { "muser-enabled", no_argument, NULL, OPTION_USER_ENABLED }, 103 { "micache-enabled", no_argument, NULL, OPTION_ICACHE_ENABLED }, 105 { "mdcache-enabled", no_argument, NULL, OPTION_DCACHE_ENABLED }, 107 { "mbreak-enabled", no_argument, NULL, OPTION_BREAK_ENABLED }, 109 { "mall-enabled", no_argument, NULL, OPTION_ALL_ENABLED }, 120 " -mmultiply-enabled enable multiply instructions\n [all...] |
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
AbstractCoverageTask.java | 32 private boolean enabled; field in class:AbstractCoverageTask 41 enabled = true; 45 * @return Whether or not the current task is enabled 48 return enabled; 52 * Sets whether or not the current task is enabled 54 * @param enabled 57 public void setEnabled(final boolean enabled) { 58 this.enabled = enabled; 196 * <code>true</code> if JMX should be enabled [all...] |
/frameworks/base/core/java/android/content/pm/ |
ComponentInfo.java | 58 public boolean enabled = true; field in class:ComponentInfo 87 enabled = orig.enabled; 117 * Return whether this component and its enclosing application are enabled. 120 return enabled && applicationInfo.enabled; 166 pw.println(prefix + "enabled=" + enabled + " exported=" + exported 199 dest.writeInt(enabled ? 1 : 0); 212 enabled = (source.readInt() != 0) [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
FilmstripBottomPanel.java | 105 public void setEditEnabled(boolean enabled) { 106 mEditButton.setEnabled(enabled); 116 public void setViewEnabled(boolean enabled) { 117 mViewButton.setEnabled(enabled); 121 public void setTinyPlanetEnabled(boolean enabled) { 122 mTinyPlanetEnabled = enabled; 131 public void setDeleteEnabled(boolean enabled) { 132 mDeleteButton.setEnabled(enabled); 141 public void setShareEnabled(boolean enabled) { 142 mShareButton.setEnabled(enabled); [all...] |
/external/mesa3d/src/mesa/x86/ |
common_x86.c | 124 int ret, enabled; local 126 len = sizeof(enabled); 127 ret = sysctlbyname("hw.instruction_sse", &enabled, &len, NULL, 0); 128 if (ret || !enabled) 133 int ret, enabled; 134 size_t len = sizeof(enabled); 135 ret = sysctlbyname("machdep.sse", &enabled, &len, (void *)NULL, 0); 136 if (ret || !enabled) 142 int ret, enabled; 143 size_t len = sizeof(enabled); [all...] |
/external/selinux/policycoreutils/gui/ |
statusPage.py | 133 enabled = self.enabledOptionMenu.get_active() 141 self.write_selinux_config(modearray[enabled], type) 145 enabled = combo.get_active() 148 if self.initEnabled != DISABLED and enabled == DISABLED: 150 combo.set_active(self.enabled) 153 if self.initEnabled == DISABLED and enabled < 2: 154 if self.verify(_("Changing to SELinux enabled will cause a relabel of the entire file system on the next boot. Relabeling takes a long time depending on the size of the file system. Do you wish to continue?")) == gtk.RESPONSE_NO: 155 combo.set_active(self.enabled) 159 self.write_selinux_config(modearray[enabled], type) 160 self.enabled = enable [all...] |
/external/webrtc/talk/app/webrtc/ |
rtpsender.cc | 71 cached_track_enabled_(track->enabled()), 92 if (cached_track_enabled_ != track_->enabled()) { 93 cached_track_enabled_ = track_->enabled(); 126 cached_track_enabled_ = track_->enabled(); 187 if (track_->enabled() && track_->GetSource() && 199 provider_->SetAudioSend(ssrc_, track_->enabled(), options, renderer); 209 cached_track_enabled_(track->enabled()) { 225 if (cached_track_enabled_ != track_->enabled()) { 226 cached_track_enabled_ = track_->enabled(); 254 cached_track_enabled_ = track_->enabled(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeLog.java | 34 private static final boolean ENABLED = true; 61 if (!ENABLED) return; 69 if (!ENABLED) return; 75 if (!ENABLED) return; 81 if (!ENABLED) return; 111 if (!ENABLED) return; 119 if (!ENABLED) return; 125 if (!ENABLED) return; 131 if (!ENABLED) return; 136 if (!ENABLED) return [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
ModePicker.java | 137 private void enableModeSelection(boolean enabled) { 139 mSelectionEnabled = enabled; 141 mModeSelectionFrame.startAnimation(enabled ? mFadeIn : mFadeOut); 142 if (enabled) { 202 public void setEnabled(boolean enabled) { 203 super.setEnabled(enabled); 206 if (mCurrentModeFrame != null) mCurrentModeFrame.setEnabled(enabled); 207 mModeSelectionFrame.setEnabled(enabled); 211 mModeSelectionIcon[i].setEnabled(enabled); 212 if (mCurrentModeFrame != null) mCurrentModeIcon[i].setEnabled(enabled); [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/ |
decorators.py | 127 def Enabled(*args): 130 The test will be enabled if ANY of the args match the browser type, OS name 132 @Enabled('canary') # Enabled only for canary browsers 133 @Enabled('win') # Enabled only on Windows. 134 @Enabled('win', 'linux') # Enabled only on Windows or Linux. 135 @Enabled('mavericks') # Enabled only on Mac Mavericks (10.9) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_logging.h | 48 // tree. A branch is enabled by default but can be *disabled* to reduce output. 61 #define BWE_TEST_LOGGING_GLOBAL_ENABLE(enabled) 68 // enabled all the way to the root of the call tree to take place. 70 #define BWE_TEST_LOGGING_ENABLE(enabled) 135 #define BWE_TEST_LOGGING_GLOBAL_ENABLE(enabled) \ 137 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalEnable(enabled); \ 141 #define __BWE_TEST_LOGGING_CONTEXT_DECLARE(ctx, line, name, time, enabled) \ 143 __BWE_TEST_LOGGING_CONTEXT_NAME(ctx, line)(name, time, enabled) 147 #define BWE_TEST_LOGGING_ENABLE(enabled) \ 149 static_cast<bool>(enabled)) 299 bool enabled; member in struct:webrtc::testing::bwe::Logging::State [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
FalsingManager.java | 111 if (FalsingLog.ENABLED && FalsingLog.VERBOSE) 113 .append("enabled=").append(isEnabled() ? 1 : 0) 137 if (FalsingLog.ENABLED) { 172 if (FalsingLog.ENABLED) { 178 .append(" enabled=").append(isEnabled() ? 1 : 0) 208 if (FalsingLog.ENABLED) { 223 if (FalsingLog.ENABLED) { 235 if (FalsingLog.ENABLED) { 247 if (FalsingLog.ENABLED) { 258 if (FalsingLog.ENABLED) { [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
configure.sh | 65 if enabled $opt; then 113 the default value for foo is enabled. 209 enabled(){ function 229 if ! enabled $var; then 277 enabled gcov && rm -f ${TMP_C%.c}.gcno ${TMP_CC%.cc}.gcno 284 enabled external_build && return 388 if enabled gcc && ! disabled "$feature" && ! check_cflags "-m$opt"; then 409 if enabled ${t}; then 410 if enabled universal || enabled child; the [all...] |