Home
last modified time | relevance | path

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

/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.java74 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
75 super.onTransition(oldMode, newMode, animate); in onTransition()
76 applyMode(newMode, animate); in onTransition()
DNavigationBarTransitions.java148 protected void onTransition(int oldMode, int newMode, boolean animate) { in onTransition() argument
149 super.onTransition(oldMode, newMode, animate); in onTransition()
151 mView.onBarTransition(newMode); in onTransition()
DNavigationBarFragment.java549 final int newMode = barMode(newVis); in computeBarMode() local
550 if (oldMode == newMode) { in computeBarMode()
553 return newMode; in computeBarMode()
DNavigationBarView.java349 void onBarTransition(int newMode) { in onBarTransition() argument
350 if (newMode == MODE_OPAQUE) { in onBarTransition()
DStatusBar.java2167 final int newMode = barMode(newVis); in computeBarMode() local
2168 if (oldMode == newMode) { in computeBarMode()
2171 return newMode; in computeBarMode()
/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/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/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/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java387 final int newMode; in setPortRoles() local
392 newMode = MODE_DFP; in setPortRoles()
395 newMode = MODE_UFP; in setPortRoles()
404 newMode = currentMode; in setPortRoles()
412 + ", newMode=" + UsbPort.modeToString(newMode) in setPortRoles()
419 sim.currentMode = newMode; in setPortRoles()
424 if (currentMode != newMode) { in setPortRoles()
434 + ", newMode=" + UsbPort.modeToString(newMode)); in setPortRoles()
437 newRole.role = newMode; in setPortRoles()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java247 private void changeMode(int newMode) { in changeMode() argument
248 mModeStateMachine.sendMessage(newMode); in changeMode()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java69 final int newMode = enabled in updateLocationEnabled() local
73 intent.putExtra(NEW_MODE_KEY, newMode); in updateLocationEnabled()
/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/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2114 final int newMode; in runSetAppLink() local
2117 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED; in runSetAppLink()
2121 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS; in runSetAppLink()
2125 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK; in runSetAppLink()
2129 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK; in runSetAppLink()
2133 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER; in runSetAppLink()
2152 if (!mInterface.updateIntentVerificationStatus(pkg, newMode, userId)) { in runSetAppLink()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java779 private boolean setUidModeIfMode(int opCode, int uid, int requiredModeBefore, int newMode, in setUidModeIfMode() argument
785 mAppOpsManager.setUidMode(opCode, uid, newMode); in setUidModeIfMode()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java4149 public boolean setSoftKeyboardModeLocked(int newMode, @Nullable ComponentName requester) { in setSoftKeyboardModeLocked() argument
4150 if ((newMode != SHOW_MODE_AUTO) && (newMode != SHOW_MODE_HIDDEN) in setSoftKeyboardModeLocked()
4151 && (newMode != SHOW_MODE_IGNORE_HARD_KEYBOARD)) in setSoftKeyboardModeLocked()
4156 if (mSoftKeyboardShowMode == newMode) return true; in setSoftKeyboardModeLocked()
4158 if (newMode == SHOW_MODE_IGNORE_HARD_KEYBOARD) { in setSoftKeyboardModeLocked()
4177 saveSoftKeyboardValueToSettings(newMode); in setSoftKeyboardModeLocked()
4178 mSoftKeyboardShowMode = newMode; in setSoftKeyboardModeLocked()
/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/media/java/android/media/
DMediaCodec.java2621 int newMode) {
2627 mode = newMode;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2034 private boolean wouldToggleZenMode(int newMode) { in wouldToggleZenMode() argument
2036 && newMode != AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2039 && newMode == AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2232 void updateAbsVolumeMultiModeDevices(int oldMode, int newMode) { in updateAbsVolumeMultiModeDevices() argument
2233 if (oldMode == newMode) { in updateAbsVolumeMultiModeDevices()
2236 switch (newMode) { in updateAbsVolumeMultiModeDevices()
2251 int streamType = getHearingAidStreamType(newMode); in updateAbsVolumeMultiModeDevices()
2262 newMode, streamType, index)); in updateAbsVolumeMultiModeDevices()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...