Searched defs:mContext (Results 126 - 150 of 583) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DPopupMenu.java41 private final Context mContext; field in class:PopupMenu
108 mContext = context;
177 return new MenuInflater(mContext);
253 new MenuPopupHelper(mContext, subMenu, mAnchor).show();
H A DShareActionProvider.java122 private final Context mContext; field in class:ShareActionProvider
140 mContext = context;
164 ActivityChooserView activityChooserView = new ActivityChooserView(mContext);
166 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
172 mContext.getTheme().resolveAttribute(R.attr.actionModeShareDrawable, outTypedValue, true);
173 Drawable drawable = mContext.getDrawable(outTypedValue.resourceId);
202 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName);
203 PackageManager packageManager = mContext.getPackageManager();
220 mContext.getString(R.string.activity_chooser_view_see_all));
286 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext,
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAccountViewAdapter.java30 private Context mContext; field in class:AccountViewAdapter
40 mContext = context;
68 view = new AccountItemView(mContext);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java42 Context mContext; field in class:SimpleCursorAdapterTest
58 mContext = getContext();
90 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
101 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo);
112 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
131 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo);
150 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2,
176 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null);
186 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null);
209 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayou
[all...]
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp82 : dirtyMask(0), mInfo(info), mContext(context) {}
86 bool remove = animator->animate(mContext);
104 AnimationContext& mContext; member in class:android::uirenderer::AnimateFunctor
158 EndActiveAnimatorsFunctor(AnimationContext& context) : mContext(context) {}
161 animator->forceEndNow(mContext);
166 AnimationContext& mContext; member in class:android::uirenderer::EndActiveAnimatorsFunctor
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java44 private Context mContext; field in class:MediaScannerConnection
103 mContext = context;
119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
135 mContext.unbindService(this);
H A DRingtone.java52 private final Context mContext; field in class:Ringtone
76 mContext = context;
77 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
216 mLocalPlayer.setDataSource(mContext, mUri);
317 RingtoneManager.getActualDefaultRingtoneUri(mContext, ringtoneType) != null) {
320 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(
/frameworks/base/media/java/android/media/projection/
H A DMediaProjection.java51 private final Context mContext; field in class:MediaProjection
57 mContext = context;
104 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE);
137 DisplayManager dm = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE);
H A DMediaProjectionManager.java60 private Context mContext; field in class:MediaProjectionManager
66 mContext = context;
103 return new MediaProjection(mContext, IMediaProjection.Stub.asInterface(projection));
/frameworks/base/media/java/android/media/session/
H A DMediaSessionManager.java59 private Context mContext; field in class:MediaSessionManager
75 mContext = context;
89 return mService.createSession(mContext.getPackageName(), cbStub, tag, userId);
132 MediaController controller = new MediaController(mContext, ISessionController.Stub
349 controllers.add(new MediaController(mContext, tokens.get(i)));
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DCameraBrowser.java52 private final Context mContext; field in class:CameraBrowser.CameraAdapter
56 mContext = c;
H A DMtpClient.java53 private final Context mContext; field in class:MtpClient
154 mContext = context;
156 mPermissionIntent = PendingIntent.getBroadcast(mContext, 0, new Intent(ACTION_USB_PERMISSION), 0);
193 mContext.unregisterReceiver(mUsbReceiver);
H A DObjectBrowser.java55 private final Context mContext; field in class:ObjectBrowser.ObjectAdapter
59 mContext = c;
H A DObjectViewer.java59 private final Context mContext; field in class:ObjectViewer.ScannerClient
63 mContext = context;
82 mContext.startActivity(intent);
84 Toast.makeText(mContext, R.string.start_activity_failed_message,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java68 Context mContext; field in class:CameraTest
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardDisplayManager.java36 private Context mContext; field in class:KeyguardDisplayManager
40 mContext = context;
41 mMediaRouter = (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE);
108 mPresentation = new KeyguardPresentation(mContext, presentationDisplay);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java60 private final Context mContext; field in class:NotificationController
64 mContext = context;
66 mContext.getSystemService(Context.NOTIFICATION_SERVICE);
118 Notification.Builder builder = new Notification.Builder(mContext)
122 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
128 .setColor(mContext.getResources().getColor(
134 Notification.Builder builder = new Notification.Builder(mContext)
138 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
140 .addAction(R.drawable.ic_restart, mContext.getString(R.string.restart),
146 .setColor(mContext
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java40 private Context mContext; field in class:SettingsHelper
45 mContext = context;
121 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri);
129 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri);
134 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri);
148 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0;
152 mContext.getContentResolver(), name));
168 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
179 mContext.getContentResolver(), GPS, enabled);
203 Configuration conf = mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java45 private final Context mContext; field in class:QSDualTileLabel
55 mContext = context;
58 mHorizontalPaddingPx = mContext.getResources()
63 final LinearLayout firstLineLayout = new LinearLayout(mContext);
69 mFirstLineCaret = new ImageView(mContext);
109 final TextView tv = new TextView(mContext);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DScreenPinningRequest.java49 private final Context mContext; field in class:ScreenPinningRequest
57 mContext = context;
59 mContext.getSystemService(Context.ACCESSIBILITY_SERVICE);
61 mContext.getSystemService(Context.WINDOW_SERVICE);
74 mRequestWindow = new RequestWindowView(mContext, allowCancel);
145 boolean isLandscape = isLandscapePhone(mContext);
148 int bgColor = mContext.getResources().getColor(
182 mContext.registerReceiver(mReceiver, filter);
186 Configuration config = mContext.getResources().getConfiguration();
233 if (mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java58 Context mContext; field in class:RecentsTaskLoadPlan
69 mContext = context;
96 Resources res = mContext.getResources();
166 Resources res = mContext.getResources();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java50 private final Context mContext; field in class:KeyguardIndicationController
62 mContext = context;
101 showTransientIndication(mContext.getResources().getString(transientIndication));
142 return mContext.getResources().getString(R.string.keyguard_charged);
150 mContext, chargingTimeRemaining);
151 return mContext.getResources().getString(
159 return mContext.getResources().getString(R.string.keyguard_plugged_in);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSecureCameraLaunchManager.java82 private Context mContext; field in class:SecureCameraLaunchManager
120 mContext = context;
179 mContext.sendBroadcast(intent);
227 PackageManager packageManager = mContext.getPackageManager();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHotspotControllerImpl.java49 private final Context mContext; field in class:HotspotControllerImpl
54 mContext = context;
55 mWifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
57 mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
90 String[] provisionApp = mContext.getResources().getStringArray(
101 final ContentResolver cr = mContext.getContentResolver();
105 String tetherEnable = mContext.getResources().getString(
113 mContext.startServiceAsUser(intent, UserHandle.CURRENT);
146 mContext.registerReceiver(this, filter);
150 mContext
[all...]
H A DLocationControllerImpl.java50 private Context mContext; field in class:LocationControllerImpl
61 mContext = context;
117 final ContentResolver cr = mContext.getContentResolver();
132 ContentResolver resolver = mContext.getContentResolver();
144 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
185 mContext.getString(R.string.accessibility_location_active));

Completed in 3097 milliseconds

1234567891011>>