Lines Matching refs:mContext

237     Context mContext;
609 ContentResolver resolver = mContext.getContentResolver();
788 ViewConfiguration.get(mContext).getDeviceGlobalActionKeyTimeout());
827 ViewConfiguration.get(mContext).getDeviceGlobalActionKeyTimeout());
829 return ViewConfiguration.get(mContext).getDeviceGlobalActionKeyTimeout();
838 mShortPressOnPowerBehavior = mContext.getResources().getInteger(
868 mLongPressOnPowerBehavior = mContext.getResources().getInteger(
913 mGlobalActions = new GlobalActions(mContext, mWindowManagerFuncs);
926 mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0) != 0;
930 return Settings.Secure.getIntForUser(mContext.getContentResolver(),
968 mContext = context;
975 mWakeGestureListener = new MyWakeGestureListener(mContext, mHandler);
976 mOrientationListener = new MyOrientationListener(mContext, mHandler);
1003 mSupportAutoRotation = mContext.getResources().getBoolean(
1013 mCarDockEnablesAccelerometer = mContext.getResources().getBoolean(
1015 mDeskDockEnablesAccelerometer = mContext.getResources().getBoolean(
1017 mLidKeyboardAccessibility = mContext.getResources().getInteger(
1019 mLidNavigationAccessibility = mContext.getResources().getInteger(
1021 mLidControlsSleep = mContext.getResources().getBoolean(
1023 mTranslucentDecorEnabled = mContext.getResources().getBoolean(
1080 mImmersiveModeConfirmation = new ImmersiveModeConfirmation(mContext);
1084 mLongPressVibePattern = getLongIntArray(mContext.getResources(),
1086 mVirtualKeyVibePattern = getLongIntArray(mContext.getResources(),
1088 mKeyboardTapVibePattern = getLongIntArray(mContext.getResources(),
1090 mClockTickVibePattern = getLongIntArray(mContext.getResources(),
1092 mCalendarDateVibePattern = getLongIntArray(mContext.getResources(),
1094 mSafeModeDisabledVibePattern = getLongIntArray(mContext.getResources(),
1096 mSafeModeEnabledVibePattern = getLongIntArray(mContext.getResources(),
1099 mScreenshotChordEnabled = mContext.getResources().getBoolean(
1102 mGlobalKeyManager = new GlobalKeyManager(mContext);
1119 mLongPressOnHomeBehavior = mContext.getResources().getInteger(
1126 mDoubleTapOnHomeBehavior = mContext.getResources().getInteger(
1138 if (mContext == null || display.getDisplayId() != Display.DEFAULT_DISPLAY) {
1143 final Resources res = mContext.getResources();
1250 ContentResolver resolver = mContext.getContentResolver();
1311 PolicyControl.reloadFromSetting(mContext);
1334 mPointerLocationView = new PointerLocationView(mContext);
1352 mContext.getSystemService(Context.WINDOW_SERVICE);
1362 WindowManager wm = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE);
1370 int rotation = mContext.getResources().getInteger(resID);
1425 if (mContext.checkCallingOrSelfPermission(permission)
1477 return mContext.checkCallingOrSelfPermission(
1770 Context context = mContext;
1884 WindowManager wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
1908 mContext.enforceCallingOrSelfPermission(
1921 mContext.enforceCallingOrSelfPermission(
1934 mContext.enforceCallingOrSelfPermission(
1939 mContext.enforceCallingOrSelfPermission(
1944 mContext.enforceCallingOrSelfPermission(
2077 return AnimationUtils.loadAnimation(mContext, R.anim.lock_screen_behind_enter_fade_in);
2079 Animation a = AnimationUtils.loadAnimation(mContext,
2088 Animation a = AnimationUtils.loadAnimation(mContext,
2104 return AnimationUtils.loadAnimation(mContext, R.anim.lock_screen_wallpaper_exit);
2125 return (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
2285 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT,
2291 service.setClassName(mContext, "com.android.server.LoadAverageService");
2292 ContentResolver res = mContext.getContentResolver();
2296 mContext.startService(service);
2298 mContext.stopService(service);
2357 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF);
2371 mContext.getContentResolver(),
2376 Settings.System.putIntForUser(mContext.getContentResolver(),
2385 int brightness = Settings.System.getIntForUser(mContext.getContentResolver(),
2394 Settings.System.putIntForUser(mContext.getContentResolver(),
2397 mContext.startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG),
2425 mContext.startActivityAsUser(shortcutIntent, UserHandle.CURRENT);
2451 mContext.startActivityAsUser(shortcutIntent, UserHandle.CURRENT);
2469 mContext.startActivityAsUser(intent, UserHandle.CURRENT);
2511 if (mGlobalKeyManager.handleGlobalKey(mContext, keyCode, event)) {
2618 mContext.startActivityAsUser(intent, UserHandle.CURRENT);
2630 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
2631 .getAssistIntent(mContext, true, UserHandle.USER_CURRENT);
2640 mContext.startActivityAsUser(intent, UserHandle.CURRENT);
2649 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE);
4097 mContext.startActivityAsUser(intent, UserHandle.CURRENT_OR_SELF);
4109 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
4154 mContext.unbindService(mScreenshotConnection);
4186 mContext.unbindService(mScreenshotConnection);
4208 if (mContext.bindServiceAsUser(
4342 MediaSessionLegacyHelper.getHelper(mContext)
4352 MediaSessionLegacyHelper.getHelper(mContext)
4466 if (MediaSessionLegacyHelper.getHelper(mContext).isGlobalPriorityActive()) {
4626 MediaSessionLegacyHelper.getHelper(mContext).sendMediaButtonEvent(event, true);
4634 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF);
4989 sendCloseSystemWindows(mContext, null);
4993 sendCloseSystemWindows(mContext, reason);
5080 mAllowAllRotations = mContext.getResources().getBoolean(
5199 return Settings.System.getIntForUser(mContext.getContentResolver(),
5208 ContentResolver res = mContext.getContentResolver();
5251 mKeyguardDelegate = new KeyguardServiceDelegate(mContext, null);
5272 mKeyguardDelegate.bindService(mContext);
5291 if (mContext.getPackageManager().hasSystemFeature(
5294 } else if (mContext.getPackageManager().hasSystemFeature(
5301 mBootMsgDialog = new ProgressDialog(mContext, theme) {
5397 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DEVICE_POWER, null);
5513 ResolveInfo info = mContext.getPackageManager().resolveActivityAsUser(
5537 mContext.startActivityAsUser(dock, UserHandle.CURRENT);
5543 mContext.startActivityAsUser(mHomeIntent, UserHandle.CURRENT);
5573 dock.resolveTypeIfNeeded(mContext.getContentResolver()),
5584 mHomeIntent.resolveTypeIfNeeded(mContext.getContentResolver()),
5612 AudioManager audioManager = (AudioManager) mContext.getSystemService(
5617 Ringtone ringTone = RingtoneManager.getRingtone(mContext,
5624 return Settings.Global.getInt(mContext.getContentResolver(),
5633 final boolean hapticsDisabled = Settings.System.getIntForUser(mContext.getContentResolver(),
5671 owningPackage = mContext.getOpPackageName();