/cts/tests/tests/text/src/android/text/style/cts/ |
ImageSpanTest.java | 43 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 52 new ImageSpan(mContext, Uri.parse("content://user/a/b")); 53 new ImageSpan(mContext, Uri.parse("content://user/a/b"), 55 new ImageSpan(mContext, Uri.parse("content://user/a/b"), 58 new ImageSpan(mContext, R.drawable.pass); 59 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BOTTOM); 60 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BASELINE); 73 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 83 imageSpan = new ImageSpan(mContext, Uri.parse(source)); 88 Drawable drawable = mContext.getResources().getDrawable(R.drawable.pass) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/ |
SettingsSecureBasedIdentificationGenerator.java | 22 private final Context mContext; 27 mContext = context.getApplicationContext(); 44 return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.ANDROID_ID);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
ProviderTestBase.java | 22 private IsolatedContext mContext; 38 mContext = new IsolatedContext(resolver, activity); 43 return mContext.getContentResolver();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
CurrentUserTracker.java | 28 private Context mContext; 35 mContext = context; 54 mContext.unregisterReceiver(this);
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Service.java | 34 private final Context mContext; 39 mContext = context; 45 return mContext;
|
/frameworks/compile/libbcc/include/bcc/ |
Source.h | 32 BCCContext &mContext; 63 { return mContext; } 65 { return mContext; }
|
/packages/apps/Camera/src/com/android/camera/ |
CameraPreference.java | 32 private final Context mContext; 42 mContext = context; 55 mSharedPreferences = ComboPreferences.get(mContext);
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraPreference.java | 34 private final Context mContext; 44 mContext = context; 57 mSharedPreferences = ComboPreferences.get(mContext);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
PanoramaMetadataJob.java | 28 Context mContext; 32 mContext = context; 38 return LightCycleHelper.getPanoramaMetadata(mContext, mUri);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
ResourceTexture.java | 29 protected final Context mContext; 34 mContext = context; 44 mContext.getResources(), mResId, options);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraPreference.java | 34 private final Context mContext; 43 mContext = context; 56 mSharedPreferences = ComboPreferences.get(mContext);
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 32 private final Context mContext; 38 mContext = context; 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
NativeNfcSecureElement.java | 32 private final Context mContext; 38 mContext = context; 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
ClearUserDictionaryDialogPreferenceEN.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
ClearLearnDictionaryDialogPreferenceJAJP.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_learning_dictionary_done,
|
ClearUserDictionaryDialogPreferenceJAJP.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoundManager.java | 27 private Context mContext; 34 mContext = context; 40 mAudioManager = (AudioManager) mContext
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CountryMonitor.java | 35 private Context mContext; 38 mContext = context; 49 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoTestCase.java | 39 mReceiverTest = new P2pBroadcastReceiverTest(mContext); 54 mReason = mContext.getString(R.string.p2p_add_local_service_error); 64 mReason = mContext.getString(R.string.p2p_add_local_service_error); 74 mReason = mContext.getString(R.string.p2p_add_local_service_error); 83 mReason = mContext.getString(R.string.p2p_ceate_group_error); 92 mReason = mContext.getString(R.string.p2p_ceate_group_error);
|
ServReqClearRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); 81 mReason = mContext.getString(R.string.p2p_clear_service_requests_error); 90 mReason = mContext.getString(R.string.p2p_no_service_requests_error);
|
/cts/tests/tests/app/src/android/app/cts/ |
ProgressDialogTest.java | 48 private Context mContext; 64 mContext = mActivity; 65 mProgressDialog = new ProgressDialog(mContext); 71 new ProgressDialog(mContext); 75 new ProgressDialog(mContext, com.android.cts.stub.R.style.Theme_AlertDialog); 79 MockProgressDialog pd = new MockProgressDialog(mContext); 94 mProgressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE); 99 mProgressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); 107 mProgressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); 121 mProgressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false) [all...] |
ActivityGroupTest.java | 31 mTabIntent = new Intent(mContext, LaunchpadTabActivity.class); 32 mTabIntent.putExtra("tab", new ComponentName(mContext, LaunchpadActivity.class));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
FormattedDateBuilder.java | 35 private Context mContext; 38 mContext = context; 44 return DateUtils.getRelativeTimeSpanString(mContext, when); 48 final Resources resources = mContext.getResources(); 63 DateUtils.formatDateRange(mContext, dateFormatter, when, when, 71 DateUtils.formatDateRange(mContext, dateFormatter, when, when,
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroupTest.java | 63 private Context mContext; 75 mContext = getInstrumentation().getTargetContext(); 79 new MockViewGroup(mContext); 80 new MockViewGroup(mContext, null); 81 new MockViewGroup(mContext, null, 0); 85 MockViewGroup vg = new MockViewGroup(mContext); 89 TextView textView = new TextView(mContext); 105 MockViewGroup vg = new MockViewGroup(mContext); 106 TextView textView = new TextView(mContext); 117 MockViewGroup vg = new MockViewGroup(mContext); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 43 private final Context mContext; 47 this.mContext = context; 55 return mContext.getString(R.string.no_storage); 59 TestResultsReport report = new TestResultsReport(mContext, mAdapter); 63 return mContext.getString(R.string.test_results_error); 78 return mContext.getString(R.string.no_storage); 89 return mContext.getString(R.string.report_saved, reportFile.getPath()); 105 new AlertDialog.Builder(mContext)
|