Home
last modified time | relevance | path

Searched defs:enabled (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DThemeOverlayManagerTest.java104 verify(mOverlayManager, times(1)).setEnabled(getOverlayPackageId(), enabled, in testApplyOverlays_shouldSetEnabled() local
129 verify(mOverlayManager, never()).setEnabled(getOverlayPackageId(), enabled, in testApplyOverlays_shouldCheckEnabled_beforeSetEnabled() local
146 verify(mOverlayManager, times(1)).setEnabled(getOverlayPackageId(), enabled, in testDefaultDisabled_applyOverlays_shouldEnabled() local
163 verify(mOverlayManager, times(1)).setEnabled(getOverlayPackageId(), enabled, in testDefaultEnabled_applyOverlays_shouldDisabled() local
210 boolean enabled) { in createOverlayInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/theme/
DThemeOverlayManager.java59 public void applyOverlays(Context context, boolean enabled, Consumer<Boolean> callback) { in applyOverlays()
99 private void setEnabled(boolean enabled, Consumer<Boolean> callback) { in setEnabled()
116 private boolean setEnabledOverlayPackages(List<OverlayInfo> infos, boolean enabled) { in setEnabledOverlayPackages()
121 mOverlayManager.setEnabled(info.getPackageName(), enabled, mUserHandle); in setEnabledOverlayPackages() local
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DItem.java29 public void setEnabled(boolean enabled) { in setEnabled()
86 private void setEnabledInternal(View view, boolean enabled) { in setEnabledInternal()
92 setEnabledInternal(parent.getChildAt(i), enabled); in setEnabledInternal() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DCandidateInfo.java26 public final boolean enabled; field in CandidateInfo
28 public CandidateInfo(boolean enabled) { in CandidateInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/
DUserAspectRatioManagerTest.java290 private void setAspectRatioSettingsBuildTimeFlagEnabled(boolean enabled) { in setAspectRatioSettingsBuildTimeFlagEnabled()
295 private void setAspectRatioSettingsDeviceConfigEnabled(String enabled, boolean makeDefault) { in setAspectRatioSettingsDeviceConfigEnabled()
300 private void setAspectRatioFullscreenBuildTimeFlagEnabled(boolean enabled) { in setAspectRatioFullscreenBuildTimeFlagEnabled()
305 private void setAspectRatioFullscreenDeviceConfigEnabled(String enabled, boolean makeDefault) { in setAspectRatioFullscreenDeviceConfigEnabled()
/packages/apps/Camera2/src/com/android/camera/app/
DFilmstripBottomPanel.java105 public void setEditEnabled(boolean enabled) { in setEditEnabled()
116 public void setViewEnabled(boolean enabled) { in setViewEnabled()
121 public void setTinyPlanetEnabled(boolean enabled) { in setTinyPlanetEnabled()
131 public void setDeleteEnabled(boolean enabled) { in setDeleteEnabled()
141 public void setShareEnabled(boolean enabled) { in setShareEnabled()
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingEnabler.java111 private void onWirelessDebuggingEnabled(boolean enabled) { in onWirelessDebuggingEnabled()
118 protected void writeAdbWifiSetting(boolean enabled) { in writeAdbWifiSetting()
149 void onEnabled(boolean enabled); in onEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarBaseSearchIndexProvider.java67 public List<SearchIndexableResource> getXmlResourcesToIndex(Context context, boolean enabled) { in getXmlResourcesToIndex()
77 public List<SearchIndexableRaw> getRawDataToIndex(Context context, boolean enabled) { in getRawDataToIndex()
82 public List<SearchIndexableRaw> getDynamicRawDataToIndex(Context context, boolean enabled) { in getDynamicRawDataToIndex()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DTwoStateImageView.java41 public void setEnabled(boolean enabled) { in setEnabled()
52 public void enableFilter(boolean enabled) { in enableFilter()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java261 public void setEnabled(boolean enabled) { in setEnabled()
341 public void setSessionAvailable(boolean enabled) { in setSessionAvailable()
362 public void setContentProtectionSupported(boolean enabled) { in setContentProtectionSupported()
384 public void setCoupledSinkSupportAtSource(boolean enabled) { in setCoupledSinkSupportAtSource()
406 public void setCoupledSinkSupportAtSink(boolean enabled) { in setCoupledSinkSupportAtSink()
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java250 private boolean setComponentEnabledLocked(int component, boolean enabled) { in setComponentEnabledLocked()
377 public void setEnabled(boolean enabled) {} in setEnabled()
399 public void setEnabled(boolean enabled) { in setEnabled()
429 public void setEnabled(boolean enabled) { in setEnabled()
454 public void setEnabled(boolean enabled) { in setEnabled()
489 public void setEnabled(boolean enabled) { in setEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java56 public static void setViewEnabled(View view, boolean enabled) { in setViewEnabled()
60 setViewEnabled(((ViewGroup) view).getChildAt(i), enabled); in setViewEnabled() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DInvisibleToggleAccessibilityServicePreferenceFragment.java56 AccessibilityUtils.setAccessibilityServiceState(getContext(), mComponentName, enabled); in onToggleClicked() local
83 AccessibilityUtils.setAccessibilityServiceState(getContext(), mComponentName, enabled); in callOnAlertDialogCheckboxClicked() local
DAccessibilityStatsLogUtils.java46 static void logAccessibilityServiceEnabled(ComponentName componentName, boolean enabled) { in logAccessibilityServiceEnabled()
51 private static int convertToLoggingServiceEnabled(boolean enabled) { in convertToLoggingServiceEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRotationPolicy.java33 protected static void setRotationLock(Context context, final boolean enabled) { in setRotationLock()
38 protected static void setRotationLockForAccessibility(Context context, final boolean enabled) { in setRotationLockForAccessibility()
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java102 int enabled) { in setDoubleTwistPreference()
104 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled); in setDoubleTwistPreference() local
108 Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled, in setDoubleTwistPreference() local
DGlobalActionsPanelPreferenceController.java43 int enabled = Settings.Secure.getInt(mContext.getContentResolver(), AVAILABLE_SETTING, 0); in getAvailabilityStatus() local
70 int enabled = Settings.Secure.getInt(mContext.getContentResolver(), ENABLED_SETTING, 0); in isChecked() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DUniqueKeysCache.java26 public abstract void setEnabled(boolean enabled); in setEnabled()
57 public void setEnabled(final boolean enabled) { in setEnabled()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppPermissionSummaryTest.kt113 val (summary, enabled) = summaryLiveData.getOrAwaitValue()!! in summary_noPermissionsRequested() constant
125 val (summary, enabled) = summaryLiveData.getOrAwaitValue()!! in summary_noPermissionsGranted() constant
140 val (summary, enabled) = summaryLiveData.getOrAwaitValue()!! in onPermissionSummaryResult_hasRuntimePermission_shouldSetPermissionAsSummary() constant
154 val (summary, enabled) = summaryLiveData.getOrAwaitValue()!! in onPermissionSummaryResult_hasAdditionalPermission_shouldSetAdditionalSummary() constant
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSelectionConfig.java296 public @NonNull Builder setSufficiencyCheckEnabledWhenScreenOff(boolean enabled) { in setSufficiencyCheckEnabledWhenScreenOff()
322 public @NonNull Builder setSufficiencyCheckEnabledWhenScreenOn(boolean enabled) { in setSufficiencyCheckEnabledWhenScreenOn()
364 public @NonNull Builder setUserConnectChoiceOverrideEnabled(boolean enabled) { in setUserConnectChoiceOverrideEnabled()
383 public @NonNull Builder setLastSelectionWeightEnabled(boolean enabled) { in setLastSelectionWeightEnabled()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DAwarePairingConfig.java204 public Builder setPairingSetupEnabled(boolean enabled) { in setPairingSetupEnabled()
215 @NonNull public Builder setPairingVerificationEnabled(boolean enabled) { in setPairingVerificationEnabled()
225 @NonNull public Builder setPairingCacheEnabled(boolean enabled) { in setPairingCacheEnabled()
/packages/apps/Settings/src/com/android/settings/dream/
DDreamAdapter.java138 private void setEnabledStateOnViews(@NonNull View v, boolean enabled) { in setEnabledStateOnViews()
144 setEnabledStateOnViews(vg.getChildAt(i), enabled); in setEnabledStateOnViews() local
189 public void setEnabled(boolean enabled) { in setEnabled()
/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java65 public List<SearchIndexableResource> getXmlResourcesToIndex(Context context, boolean enabled) { in getXmlResourcesToIndex()
75 public List<SearchIndexableRaw> getRawDataToIndex(Context context, boolean enabled) { in getRawDataToIndex()
81 public List<SearchIndexableRaw> getDynamicRawDataToIndex(Context context, boolean enabled) { in getDynamicRawDataToIndex()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenuItem.java40 boolean enabled; field in TestMenuItem
68 public MenuItem setEnabled(boolean enabled) { in setEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginEnablerImpl.java46 private void setState(ComponentName component, boolean enabled) { in setState()
47 putBoolean(pluginEnabledKey(component), enabled); in setState() local

12345678910>>...26