Searched refs:mContext (Results 151 - 175 of 810) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DBaseMenuWrapper.java31 final Context mContext; field in class:BaseMenuWrapper
38 mContext = context;
55 wrappedItem = MenuWrapperFactory.wrapSupportMenuItem(mContext, supportMenuItem);
76 wrappedMenu = MenuWrapperFactory.wrapSupportSubMenu(mContext, supportSubMenu);
H A DListMenuPresenter.java43 Context mContext; field in class:ListMenuPresenter
68 mContext = context;
69 mInflater = LayoutInflater.from(mContext);
85 mContext = new ContextThemeWrapper(context, mThemeRes);
86 mInflater = LayoutInflater.from(mContext);
87 } else if (mContext != null) {
88 mContext = context;
90 mInflater = LayoutInflater.from(mContext);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java153 private final Context mContext; field in class:ServiceMonitor
165 mContext = context;
172 ContentResolver cr = mContext.getContentResolver();
181 mContext.registerReceiver(mBroadcastReceiver, filter);
187 String cn = Settings.Secure.getStringForUser(mContext.getContentResolver(),
200 PackageManager pm = mContext.getPackageManager();
217 boolean stopped = mContext.stopService(new Intent().setComponent(mServiceName));
219 mContext.unbindService(mServiceConnection);
240 mBound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeUI.java64 mEnabled = mContext.getResources().getBoolean(R.bool.enable_volume_ui);
66 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
67 mMediaSessionManager = (MediaSessionManager) mContext
74 mContext.getContentResolver().registerContentObserver(SETTING_URI, false, mObserver);
94 if (Settings.Global.getInt(mContext.getContentResolver(), SETTING, DEFAULT) != 0) {
106 mDismissDelay = mContext.getResources().getInteger(R.integer.volume_panel_dismiss_delay);
107 mPanel = new VolumePanel(mContext, new ZenModeControllerImpl(mContext, mHandler));
205 MediaController controller = new MediaController(mContext, binder);
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp63 , mContext(0) {
69 mContext = (CanvasContext*) postAndWait(task);
70 mDrawFrameTask.setContext(&mRenderThread, mContext);
83 if (mContext) {
85 args->context = mContext;
86 mContext = 0;
113 args->context = mContext;
131 args->context = mContext;
141 args->context = mContext;
153 args->context = mContext;
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java75 private Context mContext; field in class:ConnectivityManagerTestBase
125 mContext = getInstrumentation().getContext();
128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
130 mWifiManager =(WifiManager)mContext.getSystemService(Context.WIFI_SERVICE);
140 mContext.registerReceiver(mConnectivityReceiver,
151 mContext.registerReceiver(mWifiReceiver, mIntentFilter);
267 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
275 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
278 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE);
462 mContext
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java55 private Context mContext; field in class:BandwidthTest
71 mContext = mRunner.getTargetContext();
72 mConnectionUtil = new ConnectionUtil(mContext);
76 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
117 TrafficStats.startDataProfiling(mContext);
120 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
173 TrafficStats.startDataProfiling(mContext);
175 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
226 TrafficStats.startDataProfiling(mContext);
233 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuPresenter.java39 Context mContext; field in class:ListMenuPresenter
64 mContext = context;
65 mInflater = LayoutInflater.from(mContext);
81 mContext = new ContextThemeWrapper(context, mThemeRes);
82 mInflater = LayoutInflater.from(mContext);
83 } else if (mContext != null) {
84 mContext = context;
86 mInflater = LayoutInflater.from(mContext);
H A DActionMenuItem.java46 private Context mContext; field in class:ActionMenuItem
61 mContext = context;
166 mIconDrawable = mContext.getDrawable(iconRes);
197 mTitle = mContext.getResources().getString(title);
217 mContext.startActivity(mIntent);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLifecycleTest.java32 mTabIntent = new Intent(mContext, LaunchpadTabActivity.class);
33 mTabIntent.putExtra("tab", new ComponentName(mContext,
/frameworks/base/libs/hwui/
H A DAnimationContext.h47 AnimationContext& context() { return mContext; }
69 AnimationContext& mContext; member in class:android::uirenderer::AnimationHandle
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserInfoController.java49 private final Context mContext; field in class:UserInfoController
59 mContext = context;
63 mContext.registerReceiver(mReceiver, filter);
68 mContext.registerReceiverAsUser(mProfileReceiver, UserHandle.ALL, profileFilter,
123 currentUserContext = mContext.createPackageContextAsUser("android", 0,
136 final Resources res = mContext.getResources();
145 final UserManager um = UserManager.get(mContext);
153 avatar = new BitmapDrawable(mContext.getResources(),
H A DZenModeControllerImpl.java53 private final Context mContext; field in class:ZenModeControllerImpl
66 mContext = context;
67 mModeSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE) {
73 mConfigSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE_CONFIG_ETAG) {
158 mContext.unregisterReceiver(mReceiver);
162 mContext.registerReceiverAsUser(mReceiver, new UserHandle(mUserId), filter, null, null);
169 return NotificationManager.from(mContext).getEffectsSuppressor();
249 mResolver = mContext.getContentResolver();
H A DPreviewInflater.java42 private Context mContext; field in class:PreviewInflater
46 mContext = context;
59 KeyguardPreviewContainer container = new KeyguardPreviewContainer(mContext, null);
67 Context appContext = mContext.createPackageContext(
81 PackageManager packageManager = mContext.getPackageManager();
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DEnableAccessibilityController.java61 String text = mContext.getString(R.string.continue_to_enable_accessibility);
65 String text = mContext.getString(R.string.enable_accessibility_canceled);
71 mTts.speak(mContext.getString(R.string.accessibility_enabled),
85 private final Context mContext; field in class:EnableAccessibilityController
102 mContext = context;
104 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
217 mContext);
252 ContentResolver resolver = mContext.getContentResolver();
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java49 private Activity mContext; field in class:PlayerController
59 mContext = context;
61 mServiceIntent = new Intent(mContext, PlayerService.class);
151 mContext.unbindService(mServiceConnection);
155 mContext.bindService(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
167 mContext.setMediaController(null);
186 mController = new MediaController(mContext, token);
187 mContext.setMediaController(mController);
/frameworks/compile/slang/
H A Dslang_rs_backend.h45 RSContext *mContext; member in class:slang::RSBackend
73 return mContext->getTargetAPI();
H A Dslang_rs_backend.cpp60 mContext(Context),
70 mRefCount(mContext->getASTContext()),
96 mContext->ReportError(FD->getLocation(),
114 mContext->ReportError(
137 mContext->addPragma("rs_fp_relaxed", "");
140 int version = mContext->getVersion();
152 if (mContext->getReflectJavaPackageName().empty()) {
193 for (RSContext::const_export_var_iterator I = mContext->export_vars_begin(),
194 E = mContext->export_vars_end();
276 I = mContext
[all...]
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2DeviceTester.java53 public Context mContext; field in class:Camera2DeviceTester
60 (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE);
/frameworks/wilhelm/src/itf/
H A DIOutputMix.c55 thiz->mContext = pContext;
97 thiz->mContext = NULL;
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java49 protected Context mContext = null; field in class:DownloadManagerBaseTest
72 private Context mContext = null; field in class:DownloadManagerBaseTest.WiFiChangedReceiver
82 mContext = context;
104 ConnectivityManager connManager = (ConnectivityManager)mContext.getSystemService(
234 mContext = getInstrumentation().getContext();
235 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE);
241 mContext.unregisterReceiver(mListener);
270 mContext.registerReceiver(listener, new IntentFilter(
285 WifiManager manager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE);
292 WiFiChangedReceiver receiver = new WiFiChangedReceiver(mContext);
[all...]
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java97 private final Context mContext; field in class:GpsNetInitiatedHandler
181 mContext = context;
210 mContext.registerReceiver(mBroadcastReciever, intentFilter);
357 NotificationManager notificationManager = (NotificationManager) mContext
363 String title = getNotifTitle(notif, mContext);
364 String message = getNotifMessage(notif, mContext);
384 mNiNotification.tickerText = getNotifTicker(notif, mContext);
388 PendingIntent pi = PendingIntent.getBroadcast(mContext, 0, intent, 0);
389 mNiNotification.color = mContext.getResources().getColor(
391 mNiNotification.setLatestEventInfo(mContext, titl
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteOpenHelper.java53 private final Context mContext; field in class:SQLiteOpenHelper
101 mContext = context;
219 final String path = mContext.getDatabasePath(mName).getPath();
223 db = mContext.openOrCreateDatabase(mName, mEnableWriteAheadLogging ?
233 final String path = mContext.getDatabasePath(mName).getPath();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DRotationLockTile.java75 final boolean portrait = mContext.getResources().getConfiguration().orientation
81 state.label = mContext.getString(label);
84 state.label = mContext.getString(R.string.quick_settings_rotation_unlocked_label);
108 final boolean portrait = mContext.getResources().getConfiguration().orientation
114 return mContext.getString(stringID);
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java52 private final Context mContext = this; field in class:CountdownConditionProvider
71 mContext.registerReceiver(mReceiver, new IntentFilter(ACTION));
80 mContext.unregisterReceiver(mReceiver);
95 mContext.getSystemService(Context.ALARM_SERVICE);
98 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE,

Completed in 7330 milliseconds

1234567891011>>