/frameworks/base/core/java/android/widget/ |
H A D | PopupMenu.java | 41 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 D | ShareActionProvider.java | 122 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 D | AccountViewAdapter.java | 30 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 D | SimpleCursorAdapterTest.java | 42 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 D | AnimatorManager.cpp | 82 : 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 D | MediaScannerConnection.java | 44 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 D | Ringtone.java | 52 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 D | MediaProjection.java | 51 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 D | MediaProjectionManager.java | 60 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 D | MediaSessionManager.java | 59 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 D | CameraBrowser.java | 52 private final Context mContext; field in class:CameraBrowser.CameraAdapter 56 mContext = c;
|
H A D | MtpClient.java | 53 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 D | ObjectBrowser.java | 55 private final Context mContext; field in class:ObjectBrowser.ObjectAdapter 59 mContext = c;
|
H A D | ObjectViewer.java | 59 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 D | CameraTest.java | 68 Context mContext; field in class:CameraTest
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardDisplayManager.java | 36 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 D | NotificationController.java | 60 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 D | SettingsHelper.java | 40 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 D | QSDualTileLabel.java | 45 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 D | ScreenPinningRequest.java | 49 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 D | RecentsTaskLoadPlan.java | 58 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 D | KeyguardIndicationController.java | 50 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 D | SecureCameraLaunchManager.java | 82 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 D | HotspotControllerImpl.java | 49 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 D | LocationControllerImpl.java | 50 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));
|