/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 126 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()
|
D | PhoneStatusBarTransitions.java | 72 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()
|
D | NavigationBarTransitions.java | 148 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()
|
D | NavigationBarFragment.java | 555 final int newMode = barMode(newVis); in computeBarMode() local 556 if (oldMode == newMode) { in computeBarMode() 559 return newMode; in computeBarMode()
|
D | NavigationBarView.java | 356 void onBarTransition(int newMode) { in onBarTransition() argument 357 if (newMode == MODE_OPAQUE) { in onBarTransition()
|
D | StatusBar.java | 2254 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/ |
D | DialerFilter.java | 221 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/ |
D | SearchablesTest.java | 299 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/ |
D | UsbPortManager.java | 387 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/ |
D | ExtensionControllerImpl.java | 317 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/ |
D | ActiveModeWarden.java | 249 private void changeMode(int newMode) { in changeMode() argument 250 mModeStateMachine.sendMessage(newMode); in changeMode()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 69 final int newMode = enabled in updateLocationEnabled() local 73 intent.putExtra(NEW_MODE_KEY, newMode); in updateLocationEnabled()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2857 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/ |
D | PermissionPolicyService.java | 779 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/ |
D | PackageManagerShellCommand.java | 2276 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/ |
D | AccessibilityManagerService.java | 4151 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/ |
D | PrintActivity.java | 2856 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/ |
D | CarStatusBar.java | 479 int newMode = navBarMode(newVis); in computeNavBarMode() local 480 if (oldMode == newMode) { in computeNavBarMode() 483 return newMode; in computeNavBarMode()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1315 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/ |
D | MediaCodec.java | 2624 int newMode) { 2630 mode = newMode;
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 2104 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()
|