/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/apps/UnifiedEmail/src/com/android/mail/ui/ |
AsyncRefreshTask.java | 25 private final Context mContext; 30 mContext = context; 37 mContext.getContentResolver().query(mRefreshUri, null, null, null, null);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoundManager.java | 27 private Context mContext; 34 mContext = context; 40 mAudioManager = (AudioManager) mContext
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
InsetDrawableTest.java | 41 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 50 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 53 Resources r = mContext.getResources(); 80 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 87 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 102 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 117 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 133 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 144 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); 186 Drawable d = mContext.getResources().getDrawable(R.drawable.pass) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 47 private Context mContext; 69 mContext = getContext(); 70 mLayoutInflater = (LayoutInflater) mContext 76 mLayoutInflater = LayoutInflater.from(mContext); 79 mLayoutInflater = new MockLayoutInflater(mContext); 83 mContext); 92 mLayoutInflater=new MockLayoutInflater(mContext); 93 assertSame(mContext, mLayoutInflater.getContext()); 100 ComponentName mComponentName = new ComponentName(mContext, 103 ai = mContext.getPackageManager().getActivityInfo(mComponentName [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorAdapterTest.java | 63 private Context mContext; 96 mContext = getInstrumentation().getTargetContext(); 99 mSimpleCursorAdapter = new SimpleCursorAdapter(mContext, R.layout.cursoradapter_item0, 104 new SimpleCursorAdapter(mContext, R.layout.cursoradapter_item0, 110 TextView listItem = (TextView) mSimpleCursorAdapter.newView(mContext, null, null); 140 mSimpleCursorAdapter = new SimpleCursorAdapter(mContext, R.layout.cursoradapter_host, 142 LinearLayout illegalView = (LinearLayout)mSimpleCursorAdapter.newView(mContext, null, null); 168 TextView view = new TextView(mContext); 179 ImageView view = new ImageView(mContext); 183 BitmapDrawable d = (BitmapDrawable) mContext.getResources().getDrawable [all...] |
TableLayoutTest.java | 43 private Context mContext; 52 mContext = getInstrumentation().getContext(); 57 new TableLayout(mContext); 59 new TableLayout(mContext, null); 74 TableLayout tableLayout = new TableLayout(mContext); 79 tableLayout.addView(new TextView(mContext)); 87 tableLayout.addView(new TextView(mContext)); 94 TableLayout tableLayout = new TableLayout(mContext); 95 tableLayout.addView(new TextView(mContext)); 96 tableLayout.addView(new ListView(mContext)); [all...] |
LinearLayoutTest.java | 40 private Context mContext; 51 mContext = getInstrumentation().getTargetContext(); 55 new LinearLayout(mContext); 57 new LinearLayout(mContext, null); 59 XmlPullParser parser = mContext.getResources().getXml(R.layout.linearlayout_layout); 61 new LinearLayout(mContext, attrs); 71 LinearLayout linearLayout = new LinearLayout(mContext); 93 LinearLayout linearLayout = new LinearLayout(mContext); 95 ListView lv1 = new ListView(mContext); 99 ListView lv2 = new ListView(mContext); [all...] |
CompoundButtonTest.java | 49 mResources = mContext.getResources(); 53 XmlPullParser parser = mContext.getResources().getXml(R.layout.togglebutton_layout); 56 new MockCompoundButton(mContext, mAttrSet, 0); 57 new MockCompoundButton(mContext, mAttrSet); 58 new MockCompoundButton(mContext); 83 CompoundButton compoundButton = new MockCompoundButton(mContext); 108 CompoundButton compoundButton = new MockCompoundButton(mContext); 125 CompoundButton compoundButton = new MockCompoundButton(mContext); 140 CompoundButton compoundButton = new MockCompoundButton(mContext); 163 MockCompoundButton compoundButton = new MockCompoundButton(mContext); [all...] |
FrameLayout_LayoutParamsTest.java | 38 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); 46 new LayoutParams(mContext, attrs); 49 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); 50 new LayoutParams(new LayoutParams(mContext, attrs)); 51 new LayoutParams(new MarginLayoutParams(mContext, attrs));
|
GalleryTest.java | 60 private Context mContext; 72 mContext = mInstrumentation.getContext(); 77 new Gallery(mContext); 79 new Gallery(mContext, null); 81 new Gallery(mContext, null, 0); 85 new Gallery(mContext, attrs); 86 new Gallery(mContext, attrs, 0); 161 MyGallery gallery = new MyGallery(mContext); 169 mGallery = new Gallery(mContext, attrs); 191 mGallery = new Gallery(mContext); [all...] |
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminReceiverTest.java | 45 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_CHANGED)); 49 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_FAILED)); 53 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_SUCCEEDED)); 57 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_DEVICE_ADMIN_ENABLED)); 61 mReceiver.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_DEVICE_ADMIN_DISABLED));
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
NotificationStressTest.java | 52 private Context mContext; 59 mContext = getInstrumentation().getContext(); 60 mNotificationManager = (NotificationManager) mContext.getSystemService( 85 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
CameraBinderTestUtils.java | 25 private final Context mContext; 29 mContext = context; 52 if (CameraBinderTestUtils.isFeatureAvailable(mContext, 58 if (CameraBinderTestUtils.isFeatureAvailable(mContext, 65 && CameraBinderTestUtils.isFeatureAvailable(mContext,
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
SymbolResolvers.h | 110 ContextTy mContext; 115 : mLookupFunc(pLookupFunc), mContext(pContext) { } 118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL); 124 { return mContext; } 129 { mContext = pContext; }
|
/packages/apps/Settings/src/com/android/settings/ |
NsdEnabler.java | 34 private final Context mContext; 51 mContext = context; 53 mNsdManager = (NsdManager) mContext.getSystemService(Context.NSD_SERVICE); 58 mContext.registerReceiver(mReceiver, mIntentFilter); 63 mContext.unregisterReceiver(mReceiver);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentBackend.java | 41 private final Context mContext; 46 mContext = context; 53 PackageManager pm = mContext.getPackageManager(); 78 String componentString = Settings.Secure.getString(mContext.getContentResolver(), 88 Settings.Secure.putString(mContext.getContentResolver(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettings.java | 90 private Context mContext; 121 mContext = context; 137 mContext.registerReceiver(mReceiver, filter); 142 mContext.registerReceiverAsUser(mProfileReceiver, UserHandle.ALL, profileFilter, 205 currentUserContext = mContext.createPackageContextAsUser("android", 0, 220 final UserManager um = UserManager.get(mContext); 228 avatar = new BitmapDrawable(mContext.getResources(), rawAvatar); 230 avatar = mContext.getResources().getDrawable(R.drawable.ic_qs_default_user); 266 LayoutInflater inflater = LayoutInflater.from(mContext); 298 mContext.startActivityAsUser(intent, new UserHandle(UserHandle.USER_CURRENT)) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 46 mReceiverTest = new P2pBroadcastReceiverTest(mContext); 96 mReason = mContext.getString(R.string.p2p_discover_peers_error); 102 mReason = mContext.getString(R.string.p2p_target_not_found_error); 108 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); 112 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); 130 mReason = mContext.getString(R.string.p2p_connect_error); 139 mReason = mContext.getString(R.string.p2p_connection_error); 148 mReason = mContext.getString(R.string.p2p_connection_error); 157 mReason = mContext.getString(R.string.p2p_remove_group_error); 168 mReason = mContext.getString(R.string.p2p_connection_error) [all...] |