Searched defs:mContext (Results 276 - 300 of 738) sorted by relevance

<<11121314151617181920>>

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DVCardContactItemData.java43 private final Context mContext; field in class:VCardContactItemData
65 mContext = context;
66 mDetails = mContext.getString(R.string.loading_vcard);
90 return mContext.getResources().getQuantityString(
139 mBinding.bind(new VCardRequestDescriptor(mVCardUri).buildAsyncMediaRequest(mContext, this));
172 mDetails = mContext.getString(R.string.vcard_tap_hint);
182 mDetails = mContext.getString(R.string.failed_loading_vcard);
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DVCardRequest.java63 private final Context mContext; field in class:VCardRequest
72 mContext = context;
180 final ContentResolver resolver = mContext.getContentResolver();
/packages/apps/Messaging/src/com/android/messaging/widget/
H A DBaseWidgetFactory.java56 protected final Context mContext; field in class:BaseWidgetFactory
65 mContext = context;
179 descriptor.buildSyncMediaRequest(mContext);
211 final RemoteViews remoteViews = new RemoteViews(mContext.getPackageName(),
/packages/apps/Nfc/src/com/android/nfc/
H A DP2pEventManager.java35 final Context mContext; field in class:P2pEventManager
50 mContext = context;
53 mNotificationManager = (NotificationManager) mContext.getSystemService(
57 final int uiModeType = mContext.getResources().getConfiguration().uiMode
128 mContext.getString(R.string.beam_handover_not_supported));
137 mSendUi.finishAndToast(SendUi.FINISH_SCALE_UP, mContext.getString(R.string.beam_busy));
H A DRegisteredComponentCache.java48 final Context mContext; field in class:RegisteredComponentCache
57 mContext = context;
75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null);
80 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, sdFilter, null, null);
84 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, userFilter, null, null);
127 mContext.unregisterReceiver(receiver);
150 pm = mContext.createPackageContextAsUser("android", 0,
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamStatusReceiver.java74 private final Context mContext; field in class:BeamStatusReceiver
78 mContext = context;
123 mContext.sendBroadcast(cancelIntent);
H A DBluetoothOppHandover.java49 final Context mContext; field in class:BluetoothOppHandover
61 mContext = context;
99 String mimeType = MimeTypeUtil.getMimeTypeForUri(mContext, mUris.get(0));
107 mContext.grantUriPermission("com.android.bluetooth", uri,
122 mContext.sendBroadcast(intent);
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DRegisteredT3tIdentifiersCache.java75 final Context mContext; field in class:RegisteredT3tIdentifiersCache
84 mContext = context;
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverServer.java48 private final Context mContext; field in class:HandoverServer
59 mContext = context;
231 if (!beamManager.startBeamReceive(mContext, handoverData.handoverData)) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DTabsAdapter.java44 private final Context mContext; field in class:TabsAdapter
61 private final Context mContext; field in class:TabsAdapter.DummyTabFactory
64 mContext = context;
69 View v = new View(mContext);
77 mContext = activity;
86 tabSpec.setContent(new DummyTabFactory(mContext));
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
H A DAppPermissions.java39 private final Context mContext; field in class:AppPermissions
53 mContext = context;
101 mPackageInfo = mContext.getPackageManager().getPackageInfo(
128 AppPermissionGroup group = AppPermissionGroup.create(mContext,
144 AppPermissionGroup group = AppPermissionGroup.create(mContext,
H A DPermissionGroups.java43 private final Context mContext; field in class:PermissionGroups
53 mContext = context;
60 return new PermissionsLoader(mContext);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
H A DGrantPermissionsViewHandlerImpl.java27 private final Context mContext; field in class:GrantPermissionsViewHandlerImpl
42 mContext = context;
53 mRootView = (LinearLayout) LayoutInflater.from(mContext)
91 mCurrentGroupView.setText(mContext.getString(R.string.current_permission_template,
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DPackageInstallerImpl.java49 private final Context mContext; field in class:PackageInstallerImpl
55 mContext = context.getApplicationContext();
56 mPackageInstaller = mContext.getPackageManager().getPackageInstaller();
144 InstallTask task = new InstallTask( mContext, packageName, parcelFileDescriptor,
258 mContext.unregisterReceiver(this);
266 mContext.registerReceiver(broadcastReceiver, intentFilter);
270 PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, packageName.hashCode(),
/packages/apps/Protips/src/com/android/protips/
H A DProtipWidget.java64 private Context mContext; field in class:ProtipWidget
69 mContext = context;
120 Resources res = mContext.getResources();
143 mContext.startActivity(
151 mContext.sendBroadcast(bcast);
159 RemoteViews rv = buildUpdate(mContext);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DAbstractSource.java39 private final Context mContext; field in class:AbstractSource
47 mContext = context;
53 return mContext;
60 new PackageIconLoader(mContext, iconPackage, mUiThread, mIconLoaderExecutor));
103 return QsbApplication.get(mContext).getVoiceSearch()
H A DEventLogLogger.java33 private final Context mContext; field in class:EventLogLogger
42 mContext = context;
44 mPackageName = mContext.getPackageName();
49 return mContext;
H A DPackageIconLoader.java52 private final Context mContext; field in class:PackageIconLoader
72 mContext = context;
81 mPackageContext = mContext.createPackageContext(mPackageName,
/packages/apps/Settings/src/com/android/settings/accounts/
H A DManagedProfileSettings.java51 private Context mContext; field in class:ManagedProfileSettings
68 mContext = getActivity().getApplicationContext();
115 mContext, mManagedUser.getIdentifier());
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppPermissions.java41 private final Context mContext; field in class:AppPermissions
45 mContext = context;
52 return mContext.getPackageManager().getPackageInfo(packageName,
94 permInfo = mContext.getPackageManager().getPermissionInfo(requestedPerm, 0);
H A DProcessStatsSummary.java121 private final Context mContext; field in class:ProcessStatsSummary.SummaryProvider
125 mContext = context;
132 ProcStatsData statsManager = new ProcStatsData(mContext, false);
135 String usedResult = Formatter.formatShortFileSize(mContext,
137 String totalResult = Formatter.formatShortFileSize(mContext,
139 mSummaryLoader.setSummary(this, mContext.getString(R.string.memory_summary,
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothEnabler.java46 private Context mContext; field in class:BluetoothEnabler
62 Index.getInstance(mContext).updateFromClassNameResource(
80 mContext = context;
110 if (mContext != context) {
111 mContext = context;
118 mContext.registerReceiver(mReceiver, mIntentFilter);
128 mContext.unregisterReceiver(mReceiver);
184 !WirelessUtils.isRadioAllowed(mContext, Settings.Global.RADIO_BLUETOOTH)) {
185 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show();
190 MetricsLogger.action(mContext, MetricsEven
[all...]
/packages/apps/Settings/src/com/android/settings/notification/
H A DZenAccessSettings.java59 private Context mContext; field in class:ZenAccessSettings
72 mContext = getActivity();
73 mPkgMan = mContext.getPackageManager();
74 mNoMan = mContext.getSystemService(NotificationManager.class);
75 setPreferenceScreen(getPreferenceManager().createPreferenceScreen(mContext));
H A DZenModeSettingsBase.java46 protected Context mContext; field in class:ZenModeSettingsBase
60 mContext = getActivity();
100 String id = NotificationManager.from(mContext).addAutomaticZenRule(rule);
102 NotificationManager.from(mContext).getAutomaticZenRule(id);
112 NotificationManager.from(mContext).updateAutomaticZenRule(id, rule);
119 NotificationManager.from(mContext).removeAutomaticZenRule(id);
135 NotificationManager.from(mContext).setZenMode(zenMode, conditionId, TAG);
140 = NotificationManager.from(mContext).getAutomaticZenRules();
H A DZenRuleSelectionDialog.java55 private final Context mContext; field in class:ZenRuleSelectionDialog
63 mContext = context;
102 final LinearLayout v = (LinearLayout) LayoutInflater.from(mContext).inflate(
137 rt.title = mContext.getString(R.string.zen_schedule_rule_type_name);
151 rt.title = mContext.getString(R.string.zen_event_rule_type_name);

Completed in 615 milliseconds

<<11121314151617181920>>