Home
last modified time | relevance | path

Searched refs:newMode (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/service/controls/actions/
DModeAction.java54 public ModeAction(@NonNull String templateId, int newMode, @Nullable String challengeValue) { in ModeAction() argument
56 mNewMode = newMode; in ModeAction()
64 public ModeAction(@NonNull String templateId, int newMode) { in ModeAction() argument
65 this(templateId, newMode, null); in ModeAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java126 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
127 applyModeBackground(oldMode, newMode, animate); in onTransition()
130 protected void applyModeBackground(int oldMode, int newMode, boolean animate) { in applyModeBackground() argument
132 modeToString(oldMode), modeToString(newMode), animate)); in applyModeBackground()
133 mBarBackground.applyModeBackground(oldMode, newMode, animate); in applyModeBackground()
233 public void applyModeBackground(int oldMode, int newMode, boolean animate) { in applyModeBackground() argument
234 if (mMode == newMode) return; in applyModeBackground()
235 mMode = newMode; in applyModeBackground()
DPhoneStatusBarTransitions.java72 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
73 super.onTransition(oldMode, newMode, animate); in onTransition()
74 applyMode(newMode, animate); in onTransition()
DNavigationBarTransitions.java149 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
150 super.onTransition(oldMode, newMode, animate); in onTransition()
152 mView.onBarTransition(newMode); in onTransition()
DNavigationBarView.java394 void onBarTransition(int newMode) { in onBarTransition() argument
395 if (newMode == MODE_OPAQUE) { in onBarTransition()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java395 public void setInteractAcrossProfilesAppOp(String packageName, @Mode int newMode) {
410 setInteractAcrossProfilesAppOpUnchecked(packageName, newMode, /* logMetrics= */ true);
414 String packageName, @Mode int newMode, boolean logMetrics) {
415 if (newMode == AppOpsManager.MODE_ALLOWED
430 setInteractAcrossProfilesAppOpForUser(packageName, newMode, profileId, logMetrics);
449 String packageName, @Mode int newMode, @UserIdInt int userId, boolean logMetrics) {
451 setInteractAcrossProfilesAppOpForUserOrThrow(packageName, newMode, userId, logMetrics);
458 String packageName, @Mode int newMode, @UserIdInt int userId, boolean logMetrics)
462 if (currentModeEquals(newMode, packageName, uid)) {
463 Slog.i(TAG, "Attempt to set mode to existing value of " + newMode + " for "
[all …]
DPackageManagerShellCommand.java2446 final int newMode; in runSetAppLink() local
2449 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED; in runSetAppLink()
2453 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS; in runSetAppLink()
2457 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK; in runSetAppLink()
2461 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK; in runSetAppLink()
2465 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER; in runSetAppLink()
2486 if (!mInterface.updateIntentVerificationStatus(pkg, newMode, translatedUserId)) { in runSetAppLink()
/frameworks/base/core/java/android/widget/
DDialerFilter.java221 public void setMode(int newMode) { in setMode() argument
222 switch (newMode) { in setMode()
255 mMode = newMode; in setMode()
256 onModeChange(oldMode, newMode); in setMode()
398 protected void onModeChange(int oldMode, int newMode) { in onModeChange() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java232 boolean setSoftKeyboardModeLocked(@SoftKeyboardShowMode int newMode, in setSoftKeyboardModeLocked() argument
234 if ((newMode != SHOW_MODE_AUTO) in setSoftKeyboardModeLocked()
235 && (newMode != SHOW_MODE_HIDDEN) in setSoftKeyboardModeLocked()
236 && (newMode != SHOW_MODE_IGNORE_HARD_KEYBOARD)) { in setSoftKeyboardModeLocked()
240 if (mSoftKeyboardShowMode == newMode) { in setSoftKeyboardModeLocked()
244 if (newMode == SHOW_MODE_IGNORE_HARD_KEYBOARD) { in setSoftKeyboardModeLocked()
262 saveSoftKeyboardValueToSettings(newMode); in setSoftKeyboardModeLocked()
263 mSoftKeyboardShowMode = newMode; in setSoftKeyboardModeLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java299 public void setSearchablesMode(int newMode) { in setSearchablesMode() argument
300 switch (newMode) { in setSearchablesMode()
303 mSearchablesMode = newMode; in setSearchablesMode()
/frameworks/base/core/java/android/content/pm/
DICrossProfileApps.aidl39 void setInteractAcrossProfilesAppOp(in String packageName, int newMode); in setInteractAcrossProfilesAppOp() argument
DCrossProfileApps.java402 public void setInteractAcrossProfilesAppOp(@NonNull String packageName, @Mode int newMode) { in setInteractAcrossProfilesAppOp() argument
404 mService.setInteractAcrossProfilesAppOp(packageName, newMode); in setInteractAcrossProfilesAppOp()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java388 final int newMode; in setPortRoles() local
393 newMode = MODE_DFP; in setPortRoles()
396 newMode = MODE_UFP; in setPortRoles()
405 newMode = currentMode; in setPortRoles()
413 + ", newMode=" + UsbPort.modeToString(newMode) in setPortRoles()
420 sim.currentMode = newMode; in setPortRoles()
425 if (currentMode != newMode) { in setPortRoles()
435 + ", newMode=" + UsbPort.modeToString(newMode)); in setPortRoles()
438 newRole.role = newMode; in setPortRoles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java317 int newMode = newConfig.uiMode & Configuration.UI_MODE_TYPE_MASK; in onConfigChanged() local
318 if (newMode != mUiMode) { in onConfigChanged()
319 mUiMode = newMode; in onConfigChanged()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2857 public void onAction(int newMode, Object[] params) { in onAction() argument
2858 getAction(newMode).addParams(params); in onAction()
2859 mMode = newMode; in onAction()
2860 doNext(newMode); in onAction()
2863 public void onAction(int newMode, Object param) { in onAction() argument
2864 onAction(newMode, new Object[] { param }); in onAction()
2867 public void onAction(int newMode) { in onAction() argument
2868 onAction(newMode, null); in onAction()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2856 int newMode = colorModeItem.value; in onItemSelected() local
2858 if (mPrintJob.getAttributes().getColorMode() != newMode in onItemSelected()
2864 mPrintJob.getAttributes().setColorMode(newMode); in onItemSelected()
2867 int newMode = duplexModeItem.value; in onItemSelected() local
2869 if (mPrintJob.getAttributes().getDuplexMode() != newMode in onItemSelected()
2875 mPrintJob.getAttributes().setDuplexMode(newMode); in onItemSelected()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1315 int newMode = xfermode != null ? xfermode.porterDuffMode : Xfermode.DEFAULT; in installXfermode() local
1317 if (newMode != curMode) { in installXfermode()
1318 nSetXfermode(mNativePaint, newMode); in installXfermode()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java878 final int newMode = mAppOpsManager.unsafeCheckOpRaw(AppOpsManager.opToPublicName( in setUidMode() local
880 if (newMode != mode) { in setUidMode()
/frameworks/base/media/java/android/media/
DMediaCodec.java2730 int newMode) {
2736 mode = newMode;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2424 private boolean wouldToggleZenMode(int newMode) { in wouldToggleZenMode() argument
2426 && newMode != AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2429 && newMode == AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2642 void updateAbsVolumeMultiModeDevices(int oldMode, int newMode) { in updateAbsVolumeMultiModeDevices() argument
2643 if (oldMode == newMode) { in updateAbsVolumeMultiModeDevices()
2646 switch (newMode) { in updateAbsVolumeMultiModeDevices()
2661 int streamType = getHearingAidStreamType(newMode); in updateAbsVolumeMultiModeDevices()
2676 newMode, streamType, index)); in updateAbsVolumeMultiModeDevices()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...