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.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.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.java555 final int newMode = barMode(newVis); in computeBarMode() local
556 if (oldMode == newMode) { in computeBarMode()
559 return newMode; in computeBarMode()
DNavigationBarView.java356 void onBarTransition(int newMode) { in onBarTransition() argument
357 if (newMode == MODE_OPAQUE) { in onBarTransition()
DStatusBar.java2254 final int newMode = barMode(newVis); in computeBarMode() local
2255 if (oldMode == newMode) { in computeBarMode()
2258 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/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/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/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java249 private void changeMode(int newMode) { in changeMode() argument
250 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/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/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2276 final int newMode; in runSetAppLink() local
2279 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED; in runSetAppLink()
2283 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS; in runSetAppLink()
2287 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ASK; in runSetAppLink()
2291 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS_ASK; in runSetAppLink()
2295 newMode = INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER; in runSetAppLink()
2314 if (!mInterface.updateIntentVerificationStatus(pkg, newMode, userId)) { in runSetAppLink()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java4151 public boolean setSoftKeyboardModeLocked(int newMode, @Nullable ComponentName requester) { in setSoftKeyboardModeLocked() argument
4152 if ((newMode != SHOW_MODE_AUTO) && (newMode != SHOW_MODE_HIDDEN) in setSoftKeyboardModeLocked()
4153 && (newMode != SHOW_MODE_IGNORE_HARD_KEYBOARD)) in setSoftKeyboardModeLocked()
4158 if (mSoftKeyboardShowMode == newMode) return true; in setSoftKeyboardModeLocked()
4160 if (newMode == SHOW_MODE_IGNORE_HARD_KEYBOARD) { in setSoftKeyboardModeLocked()
4179 saveSoftKeyboardValueToSettings(newMode); in setSoftKeyboardModeLocked()
4180 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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java479 int newMode = navBarMode(newVis); in computeNavBarMode() local
480 if (oldMode == newMode) { in computeNavBarMode()
483 return newMode; in computeNavBarMode()
/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.java2624 int newMode) {
2630 mode = newMode;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2104 private boolean wouldToggleZenMode(int newMode) { in wouldToggleZenMode() argument
2106 && newMode != AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2109 && newMode == AudioManager.RINGER_MODE_SILENT) { in wouldToggleZenMode()
2311 void updateAbsVolumeMultiModeDevices(int oldMode, int newMode) { in updateAbsVolumeMultiModeDevices() argument
2312 if (oldMode == newMode) { in updateAbsVolumeMultiModeDevices()
2315 switch (newMode) { in updateAbsVolumeMultiModeDevices()
2330 int streamType = getHearingAidStreamType(newMode); in updateAbsVolumeMultiModeDevices()
2345 newMode, streamType, index)); in updateAbsVolumeMultiModeDevices()