Searched refs:mContext (Results 501 - 525 of 788) sorted by relevance

<<21222324252627282930>>

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java345 mContext.getString(R.string.collapse_handle));
346 announceForAccessibility(mContext.getString(R.string.print_options_expanded));
359 mContext.getString(R.string.expand_handle));
360 announceForAccessibility(mContext.getString(R.string.print_options_collapsed));
382 InputMethodManager imm = (InputMethodManager) mContext.getSystemService(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCastControllerImpl.java49 private final Context mContext; field in class:CastControllerImpl
62 mContext = context;
140 device.description = mContext.getString(R.string.quick_settings_casting);
151 final CharSequence name = route.getName(mContext);
209 final PackageManager pm = mContext.getPackageManager();
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java133 BackupManager bm = new BackupManager(mContext);
156 final Context mContext; field in class:WallpaperManagerService
441 mContext.getPackageManager().getServiceInfo(
452 mContext.getPackageManager().getServiceInfo(
464 mContext = context;
499 mContext.registerReceiver(new BroadcastReceiver() {
655 users = ((UserManager) mContext.getSystemService(Context.USER_SERVICE)).getUsers();
676 WindowManager wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
901 componentName = WallpaperManager.getDefaultWallpaperComponent(mContext);
936 intent.resolveTypeIfNeeded(mContext
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java72 private final Context mContext; field in class:RemotePrintSpooler
96 mContext = context;
365 mContext.bindServiceAsUser(mIntent, mServiceConnection,
400 mContext.unbindService(mServiceConnection);
436 if (Thread.currentThread() == mContext.getMainLooper().getThread()) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DRttService.java79 ac.connect(mContext, this, msg.replyTo);
106 private Context mContext; field in class:RttService.RttServiceImpl
113 mContext = context;
117 mContext = context;
125 mContext.registerReceiver(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSMSDispatcher.java135 tracker.updateSentMessageStatus(mContext, tpStatus);
142 intent.send(mContext, Activity.RESULT_OK, fillIn);
177 if (SmsApplication.shouldWriteMessageForPackage(callingPkg, mContext)) {
277 mContext.sendOrderedBroadcast(intent, android.Manifest.permission.RECEIVE_SMS,
291 tracker.onFailed(mContext, getNotInServiceError(ss), 0/*errorCode*/);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccRecords.java41 protected Context mContext; field in class:IccRecords
104 + " mContext=" + mContext
151 mContext = c;
165 mContext = null;
614 return mContext.getResources().getBoolean(
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java63 private Context mContext; field in class:TimeZoneData
67 mContext = context;
188 populateDisplayNameOverrides(mContext.getResources());
497 mBackupCountryCodes = mContext.getResources().getStringArray(
499 mBackupCountryNames = mContext.getResources().getStringArray(
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java168 final Context mContext; field in class:InputMethodManagerService
408 ContentResolver resolver = mContext.getContentResolver();
636 mContext = context;
648 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE);
667 mImeSwitchPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
677 mContext.registerReceiver(new ImmsBroadcastReceiver(), broadcastFilter);
705 mMyPackageMonitor.register(mContext, null, UserHandle.ALL, true);
746 mContext.registerReceiver(
807 resetDefaultImeLocked(mContext);
811 resetDefaultImeLocked(mContext);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java145 protected final Context mContext; field in class:InboundSmsHandler
190 mContext = context;
197 boolean smsCapable = mContext.getResources().getBoolean(
202 PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
205 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
583 mContext.sendBroadcast(intent, android.Manifest.permission.RECEIVE_SMS);
747 mContext.getPackageManager(), intent);
802 mContext.sendOrderedBroadcastAsUser(intent, targetUser, permission, appOp,
807 mContext.sendOrderedBroadcastAsUser(intent, user, permission, appOp,
839 ComponentName componentName = SmsApplication.getDefaultSmsApplication(mContext, tru
[all...]
H A DSmsUsageMonitor.java117 private final Context mContext; field in class:SmsUsageMonitor
226 private final Context mContext; field in class:SmsUsageMonitor.SettingsObserver
231 mContext = context;
238 mEnabled.set(Settings.Global.getInt(mContext.getContentResolver(),
257 mContext = context;
268 mSettingsObserverHandler = new SettingsObserverHandler(mContext, mCheckEnabled);
305 parser = mContext.getResources().getXml(id);
/frameworks/base/core/java/android/app/
H A DNotification.java1782 * Notification noti = new Notification.Builder(mContext)
1845 private Context mContext; field in class:Notification.Builder
1939 * apps. Any data populated from mContext should therefore be populated lazily to
1942 mContext = context;
1952 NotificationColorUtil.getInstance(mContext) : null;
2630 return mContext.getPackageManager().getUserBadgeForDensity(
2639 final int size = mContext.getResources().getDimensionPixelSize(
2670 float subTextSize = mContext.getResources().getDimensionPixelSize(
2676 float regularTextSize = mContext.getResources().getDimensionPixelSize(
2712 RemoteViews contentView = new BuilderRemoteViews(mContext
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java313 final Context mContext; field in class:NfcAdapter
533 mContext = context;
543 return mContext;
1581 if (mContext == null) {
1586 return sService.getNfcAdapterExtrasInterface(mContext.getPackageName());
1600 if (mContext == null) {
1603 return mContext.getApplicationInfo().targetSdkVersion;
/frameworks/base/core/java/android/view/
H A DWindow.java170 private final Context mContext; field in class:Window
445 mContext = context;
455 return mContext;
465 mWindowStyle = mContext.obtainStyledAttributes(
538 wm = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
583 wp.packageName = mContext.getPackageName();
1082 setBackgroundDrawable(mContext.getDrawable(resid));
H A DLayoutInflater.java74 protected final Context mContext; field in class:LayoutInflater
196 mContext = context;
208 mContext = newContext;
246 return mContext;
448 mConstructorArgs[0] = mContext;
571 clazz = mContext.getClassLoader().loadClass(
589 clazz = mContext.getClassLoader().loadClass(
704 viewContext = mContext;
840 final TypedArray ta = mContext.obtainStyledAttributes(
920 TypedArray a = mContext
[all...]
/frameworks/base/core/java/android/widget/
H A DMediaController.java75 private Context mContext; field in class:MediaController
106 mContext = context;
119 mContext = context;
130 mWindowManager = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE);
131 mWindow = PolicyManager.makeNewWindow(mContext);
246 LayoutInflater inflate = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
255 Resources res = mContext.getResources();
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java417 private final Context mContext; field in class:PageContentRepository.AsyncRenderer
433 mContext = context;
437 mContext.getSystemService(Context.ACTIVITY_SERVICE);
469 intent.setClass(mContext, PdfManipulationService.class);
470 mContext.bindService(intent, AsyncRenderer.this, Context.BIND_AUTO_CREATE);
548 mContext.unbindService(AsyncRenderer.this);
765 BitmapDrawable content = new BitmapDrawable(mContext.getResources(), bitmap);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java78 private Context mContext; field in class:ExpandHelper
173 mContext = context;
178 mPopDuration = mContext.getResources().getInteger(R.integer.blinds_pop_duration_ms);
179 mPullGestureMinXSpan = mContext.getResources().getDimension(R.dimen.pull_span_min);
181 final ViewConfiguration configuration = ViewConfiguration.get(mContext);
582 mSGD = new ScaleGestureDetector(mContext, mScaleGestureListener);
603 mContext.getSystemService(Context.VIBRATOR_SERVICE);
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java173 private Context mContext; field in class:SipAudioCall
201 mContext = context;
590 if (!SipManager.isVoipSupported(mContext)) {
625 if (!SipManager.isVoipSupported(mContext)) {
837 mContext.getSystemService(Context.WIFI_SERVICE))
883 ((AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE))
890 return ((AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE))
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp85 callbackPContext = mp->mPrefetchStatus.mContext;
129 void* callbackPContext = mp->mStreamInfo.mContext;
165 playContext = mp->mPlay.mContext;
208 callbackPContext = mp->mPrefetchStatus.mContext;
233 callbackPContext = mp->mPrefetchStatus.mContext;
254 void* callbackPContext = mp->mPlay.mContext;
277 callbackPContext = mp->mPrefetchStatus.mContext;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java127 private final Context mContext; field in class:ScreenMagnifier
191 mContext = context;
318 && isScreenMagnificationAutoUpdateEnabled(mContext)) {
855 Settings.Secure.putFloat(mContext.getContentResolver(),
863 return Settings.Secure.getFloat(mContext.getContentResolver(),
1122 private final Context mContext; field in class:ScreenMagnifier.ScreenStateObserver
1139 mContext = context;
1141 mContext.registerReceiver(this, new IntentFilter(Intent.ACTION_SCREEN_OFF));
1145 mContext.unregisterReceiver(this);
1156 && isScreenMagnificationAutoUpdateEnabled(mContext)) {
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java81 private Context mContext; field in class:CatService
130 mContext = context;
363 message = mContext.getText(com.android.internal.R.string.launchBrowserDefault);
377 message = mContext.getText(com.android.internal.R.string.sending);
386 message = mContext.getText(com.android.internal.R.string.SetupCallDefault);
402 noAlphaUsrCnf = mContext.getResources().getBoolean(
454 mContext.sendBroadcast(intent);
467 mContext.sendBroadcast(intent);
737 mContext.sendBroadcast(intent);
870 PackageManager pm = mContext
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java225 private Context mContext; field in class:BluetoothHeadset
239 mContext.unbindService(mConnection);
263 mContext = context;
281 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0);
283 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
313 mContext.unbindService(mConnection);
H A DBluetoothHeadsetClient.java367 private Context mContext; field in class:BluetoothHeadsetClient
382 mContext.unbindService(mConnection);
407 mContext = context;
425 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0);
427 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0,
457 mContext.unbindService(mConnection);
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java63 final Context mContext; field in class:VoiceInteractionSession
424 mContext = context;
469 mThemeAttrs = mContext.obtainStyledAttributes(android.R.styleable.VoiceInteractionSession);
569 intent.resolveType(mContext.getContentResolver()));
616 mInflater = (LayoutInflater)mContext.getSystemService(
618 mWindow = new SoftInputWindow(mContext, "VoiceInteractionSession", mTheme,

Completed in 989 milliseconds

<<21222324252627282930>>