/packages/apps/Calculator/src/com/android/calculator2/ |
Persist.java | 33 private Context mContext; 38 this.mContext = context; 44 InputStream is = new BufferedInputStream(mContext.openFileInput(FILE_NAME), 8192); 61 OutputStream os = new BufferedOutputStream(mContext.openFileOutput(FILE_NAME, 0), 8192);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ResourceTexture.java | 27 protected final Context mContext; 32 mContext = Util.checkNotNull(context); 42 mContext.getResources(), mResId, options);
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
PicasaSyncAdapter.java | 35 private final Context mContext; 40 mContext = applicationContext; 74 PicasaService.performSync(mContext, account, extras, syncResult);
|
/packages/apps/Phone/src/com/android/phone/ |
OtaStartupReceiver.java | 40 private Context mContext; 48 OtaUtils.maybeDoOtaCall(mContext, mHandler, MIN_READY); 54 mContext = context; 69 OtaUtils.maybeDoOtaCall(mContext, mHandler, MIN_READY);
|
DataUsageListener.java | 50 private final Context mContext; 62 mContext = context; 71 mContext = context; 80 mThrottleManager = (ThrottleManager) mContext.getSystemService(Context.THROTTLE_SERVICE); 109 mContext.registerReceiver(mReceiver, mFilter); 114 mContext.unregisterReceiver(mReceiver); 175 mCurrentUsagePref.setSummary(mContext.getString( 180 mCurrentUsagePref.setSummary(mContext.getString( 186 mTimeFramePref.setSummary(mContext.getString(R.string.throttle_time_frame_subtext, 191 mThrottleRatePref.setSummary(mContext.getString(R.string.throttle_rate_subtext [all...] |
/packages/apps/Tag/src/com/android/apps/tag/ |
ContentSelectorAdapter.java | 37 private Context mContext; 43 mContext = context; 54 mViews[i] = UriRecord.getAddView(mContext, mInflater, list); 56 mViews[i] = VCardRecord.getAddView(mContext, mInflater, list); 58 mViews[i] = TextRecord.getAddView(mContext, mInflater, list);
|
/sdk/traceview/src/com/android/traceview/ |
ProfileData.java | 24 /** mContext is either the parent or child of mElement */ 25 protected MethodData mContext; 35 mContext = context; 68 totalCalls = mContext.getTotalCalls(); 79 return mContext;
|
/frameworks/base/core/java/com/android/internal/widget/ |
DigitalClock.java | 60 private Context mContext; 64 mContext = clock.getContext(); 84 mContext.unregisterReceiver(this); 118 private Context mContext; 122 mContext = clock.getContext(); 132 mContext.getContentResolver().unregisterContentObserver(this); 173 mContext.registerReceiver(mIntentReceiver, filter); 179 mContext.getContentResolver().registerContentObserver( 193 mContext.unregisterReceiver(mIntentReceiver); 196 mContext.getContentResolver().unregisterContentObserver [all...] |
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 45 private Context mContext; 104 mContext = context; 117 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); 133 mContext.unbindService(this);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneStateIntentReceiver.java | 53 private Context mContext; 74 mContext = c; 177 mContext.registerReceiver(this, mFilter); 181 mContext.unregisterReceiver(this);
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 79 private final Context mContext; 311 mContext = context; 316 (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); 318 (LocationManager)mContext.getSystemService(Context.LOCATION_SERVICE); 319 mContext.registerReceiver(mTwilightUpdateReceiver, 321 mContext.registerReceiver(mDockModeReceiver, 323 mContext.registerReceiver(mBatteryReceiver, 327 mContext.registerReceiver(mUpdateLocationReceiver, filter); 339 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(), 383 Settings.Secure.putInt(mContext.getContentResolver() [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ServiceTest.java | 48 private Context mContext; 141 mContext.startService(new Intent(service).putExtras(bundle)); 144 mContext.startService(new Intent(service).putExtras(bundle)); 149 mContext.stopService(service); 153 mContext.stopService(service); 159 mContext.startService(service); 189 mContext.bindService(service, conn, 0); 190 mContext.startService(service); 194 mContext.bindService(service, conn2, 0); 197 mContext.unbindService(conn2) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeXmlBlockParser.java | 42 private final BridgeContext mContext; 58 mContext = context; 62 if (mContext != null) { 63 mContext.pushParser(this); 81 if (mContext != null && mPopped == false) { 82 mContext.popParser();
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 166 final XmlPullParser parser = mContext.getResources().getXml(R.drawable.colordrawable_test); 180 colorDrawable.inflate(mContext.getResources(), parser, attrs);
|
/cts/tests/tests/os/src/android/os/cts/ |
CountDownTimerTest.java | 32 private Context mContext; 40 mContext = getInstrumentation().getTargetContext(); 41 Intent intent = new Intent(mContext, CountDownTimerTestStub.class);
|
/cts/tests/tests/view/src/android/view/cts/ |
OrientationListenerTest.java | 35 private Context mContext; 40 mContext = getContext(); 58 new MockOrientationListener(mContext); 60 new MockOrientationListener(mContext, SensorManager.SENSOR_DELAY_UI); 86 MockOrientationListener listener = new MockOrientationListener(mContext); 99 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ACCELEROMETER, 102 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ORIENTATION, 114 MockOrientationListener listener = new MockOrientationListener(mContext); 119 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_ACCELEROMETER, 126 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_MAGNETIC_FIELD [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
DateSorterTest.java | 32 private Context mContext; 38 mContext = getContext(); 49 new DateSorter(mContext); 66 DateSorter dateSorter = new DateSorter(mContext); 87 DateSorter dateSorter = new DateSorter(mContext); 108 DateSorter dateSorter = new DateSorter(mContext);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List13.java | 55 mContext = context; 121 private Context mContext;
|
List4.java | 52 mContext = context; 95 sv = new SpeechView(mContext, mTitles[position], 109 private Context mContext;
|
List6.java | 62 mContext = context; 104 sv = new SpeechView(mContext, mTitles[position], mDialogue[position], mExpanded[position]); 123 private Context mContext;
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 52 private final Context mContext; 58 mContext = context; 81 ContactManager.syncContacts(mContext, account.name, users); 84 ContactManager.insertStatuses(mContext, account.name, statuses);
|
/frameworks/base/core/java/android/app/ |
NotificationManager.java | 78 mContext = context; 108 String pkg = mContext.getPackageName(); 137 String pkg = mContext.getPackageName(); 152 String pkg = mContext.getPackageName(); 160 private Context mContext;
|
StatusBarManager.java | 62 private Context mContext; 67 mContext = context; 78 mService.disable(what, mToken, mContext.getPackageName()); 111 mService.setIcon(slot, mContext.getPackageName(), iconId, iconLevel);
|
/frameworks/base/core/java/android/app/backup/ |
FileBackupHelper.java | 42 Context mContext; 56 mContext = context; 77 File base = mContext.getFilesDir();
|
SharedPreferencesBackupHelper.java | 74 private Context mContext; 88 mContext = context; 97 Context context = mContext; 120 Context context = mContext;
|