/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
StaticTriangleRenderer.java | 69 mContext = context; 182 private Context mContext; 189 InputStream is = mContext.getResources().openRawResource(
|
TriangleRenderer.java | 43 mContext = context; 92 InputStream is = mContext.getResources() 171 private Context mContext;
|
/development/samples/Home/src/com/example/android/home/ |
Wallpaper.java | 118 private Context mContext; 121 mContext = c; 137 ImageView i = new ImageView(mContext);
|
/frameworks/base/core/java/android/accounts/ |
AccountManager.java | 216 private final Context mContext; 234 mContext = context; 236 mMainHandler = new Handler(mContext.getMainLooper()); 243 mContext = context; [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHost.java | 46 Context mContext; 91 mContext = context; 112 mPackageName = mContext.getPackageName(); 147 mPackageName = mContext.getPackageName();
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothA2dp.java | 90 private final Context mContext; 98 mContext = c;
|
BluetoothHeadset.java | 92 private final Context mContext; 158 mContext = context; 182 mContext.unbindService(mConnection);
|
BluetoothPbap.java | 71 private final Context mContext; 115 mContext = context; 138 mContext.unbindService(mConnection);
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 45 private final Context mContext; 65 mContext = context; 73 return mContext; 162 provider = mContext.getContentResolver().acquireContentProviderClient(mAuthority);
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteOpenHelper.java | 47 private final Context mContext; 70 mContext = context; 118 db = mContext.openOrCreateDatabase(mName, 0, mFactory); 196 String path = mContext.getDatabasePath(mName).getPath();
|
/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 47 protected final Context mContext; 109 mContext = context; 121 mContext = newContext; 165 return mContext; 294 mConstructorArgs[0] = mContext; 375 Class clazz = mContext.getClassLoader().loadClass( 424 T item = (mFactory == null) ? null : mFactory.onCreateItem(name, mContext, attrs);
|
/frameworks/base/core/java/android/server/search/ |
Searchables.java | 48 private Context mContext; 66 mContext = context; 111 ai = mContext.getPackageManager(). 191 final PackageManager pm = mContext.getPackageManager(); 215 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai); 252 PackageManager pm = mContext.getPackageManager(); 281 PackageManager pm = mContext.getPackageManager();
|
/frameworks/base/core/java/android/webkit/ |
PluginManager.java | 71 private final Context mContext; 84 mContext = context; 115 PackageManager pm = mContext.getPackageManager(); 260 return mContext.getDir("plugins", 0).getPath(); 266 Context pluginContext = mContext.createPackageContext(packageName,
|
/frameworks/base/core/java/android/widget/ |
CursorAdapter.java | 55 protected Context mContext; 110 mContext = context; 182 v = newView(mContext, mCursor, parent); 186 bindView(v, mContext, mCursor); 196 v = newDropDownView(mContext, mCursor, parent); 200 bindView(v, mContext, mCursor);
|
/frameworks/base/core/java/com/android/internal/os/ |
HandlerCaller.java | 28 public final Context mContext; 70 mContext = context; 77 mContext = context;
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 68 private Context mContext; 71 mContext = context; 72 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); 171 mAudio.setDataSource(mContext, mUri);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
EGLImpl.java | 28 private EGLContextImpl mContext = new EGLContextImpl(-1); 109 if (mContext.mEGLContext != value) 110 mContext = new EGLContextImpl(value); 111 return mContext;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
Ticker.java | 44 private Context mContext; 145 mContext = context; 183 final Drawable icon = StatusBarIconView.getIcon(mContext,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 41 private Context mContext; 68 mContext = context; 137 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 138 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 205 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 206 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 219 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class); 220 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); 261 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class); 264 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewManager.java | 42 private final Context mContext; 64 mContext = context; 100 mKeyguardHost = new KeyguardViewHost(mContext, mCallback); 125 mKeyguardView = mKeyguardViewProperties.createKeyguardView(mContext, mUpdateMonitor, this);
|
/frameworks/base/services/java/com/android/server/ |
HeadsetObserver.java | 53 private final Context mContext; 57 mContext = context; 120 mContext.sendBroadcast(intent);
|
LightsService.java | 155 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.FLASHLIGHT) 157 mContext.checkCallingOrSelfPermission(android.Manifest.permission.HARDWARE_TEST) 177 mContext = context; 209 private final Context mContext;
|
ThrottleService.java | 78 private Context mContext; 127 mContext = context; 131 mIface = mContext.getResources().getString(R.string.config_datause_iface); 132 mAlarmManager = (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 134 mPendingPollIntent = PendingIntent.getBroadcast(mContext, POLL_REQUEST, pollIntent, 0); 136 mPendingResetIntent = PendingIntent.getBroadcast(mContext, RESET_REQUEST, resetIntent, 0); 141 mNotificationManager = (NotificationManager)mContext.getSystemService( 211 mContext.enforceCallingOrSelfPermission( 265 return Settings.Secure.getString(mContext.getContentResolver(), 292 mContext.registerReceiver [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SMSDispatcher.java | 118 protected Context mContext; 225 mContext = phone.getContext(); 226 mResolver = mContext.getContentResolver(); 252 mContext.registerReceiver(mResultReceiver, filter); 405 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 422 mContext.sendOrderedBroadcast(intent, permission, mResultReceiver, 434 mContext.sendBroadcast(intent, "android.permission.RECEIVE_SMS"); 481 sentIntent.send(mContext, Activity.RESULT_OK, sendNext); 531 tracker.mSentIntent.send(mContext, error, fillIn); [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallerInfoTest.java | 39 private Context mContext; 48 mContext = new MockContext(); 67 mInfo = CallerInfo.getCallerInfo(mContext, "911"); 70 mInfo = CallerInfo.getCallerInfo(mContext, "tel:911"); 75 mInfo = CallerInfo.getCallerInfo(mContext, "18001234567"); 106 mInfo = CallerInfo.getCallerInfo(mContext, "911"); 191 CallerInfoAsyncQuery.startQuery(kToken, mContext, mNumber, this, null);
|