Searched refs:mContext (Results 101 - 125 of 810) sorted by relevance

1234567891011>>

/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/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java50 private Context mContext; field in class:AppCompatibility
62 mContext = mRunner.getTargetContext();
63 Assert.assertNotNull("Could not get the Context", mContext);
66 mContext.getSystemService(Context.ACTIVITY_SERVICE);
69 mPackageManager = mContext.getPackageManager();
168 mContext.startActivity(intent);
177 mContext.startActivity(homeIntent);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java51 private final Context mContext; field in class:PasswordEntryKeyboardHelper
84 mContext = context;
118 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC], width, height);
119 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal,
123 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY_SHIFTED],
128 mSymbolsKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS], width, height);
131 mSymbolsKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS_SHIFTED],
138 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC]);
139 mQwertyKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[QWERTY], R.id.mode_normal);
142 mQwertyKeyboardShifted = new PasswordEntryKeyboard(mContext, mLayout
[all...]
H A DAccountViewAdapter.java30 private Context mContext; field in class:AccountViewAdapter
40 mContext = context;
68 view = new AccountItemView(mContext);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DAlternateRecentsComponent.java119 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext);
132 loader.loadTasks(mContext, plan, launchOpts);
154 Context mContext; field in class:AlternateRecentsComponent
185 mContext = context;
201 mContext.registerReceiverAsUser(mProxyBroadcastReceiver, UserHandle.CURRENT, filter,
226 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext);
232 loader.loadTasks(mContext, plan, launchOpts);
245 Intent intent = createLocalBroadcastIntent(mContext,
248 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT);
267 Intent intent = createLocalBroadcastIntent(mContext,
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java88 mStorageManager = (StorageManager) mContext.getSystemService(Context.STORAGE_SERVICE);
132 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class);
133 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
200 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class);
201 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
214 intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class);
215 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
256 intent.setClass(mContext, com.android.systemui.usb.UsbStorageActivity.class);
259 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
280 NotificationManager notificationManager = (NotificationManager) mContext
[all...]
/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/core/java/android/app/
H A DVoiceInteractor.java66 Context mContext; field in class:VoiceInteractor
176 Context mContext; field in class:VoiceInteractor.Request
191 return mContext;
209 mContext = null;
353 mContext = context;
384 mContext = activity;
390 req.mContext = activity;
404 req.mContext = null;
407 mContext = null;
414 mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecents.java68 sAlternateRecents = getRecentsComponent(mContext, false);
102 RecentTasksLoader.getInstance(mContext).cancelPreloadingFirstTask();
116 TaskDescription firstTask = RecentTasksLoader.getInstance(mContext).getFirstTask();
125 if (RecentsActivity.forceOpaqueBackground(mContext)) {
126 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
129 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle(
133 mContext.startActivityAsUser(intent, new UserHandle(
143 Drawable d = RecentTasksLoader.getInstance(mContext).getDefaultThumbnail();
146 final Resources res = mContext.getResources();
272 RecentTasksLoader.getInstance(mContext)
[all...]
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/services/core/java/com/android/server/net/
H A DLockdownVpnTracker.java70 private final Context mContext; field in class:LockdownVpnTracker
93 mContext = Preconditions.checkNotNull(context);
101 mConfigIntent = PendingIntent.getActivity(mContext, 0, configIntent, 0);
105 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0);
227 mContext.registerReceiver(mResetReceiver, resetFilter, CONNECTIVITY_INTERNAL, null);
266 mContext.unregisterReceiver(mResetReceiver);
334 final Notification.Builder builder = new Notification.Builder(mContext)
337 .setContentTitle(mContext.getString(titleRes))
338 .setContentText(mContext.getString(R.string.vpn_lockdown_config))
342 .addAction(R.drawable.ic_menu_refresh, mContext
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilterGraph.java51 private MffContext mContext; field in class:FilterGraph
71 private MffContext mContext; field in class:FilterGraph.Builder
81 mContext = context;
119 VariableSource valueSource = new VariableSource(mContext, name);
128 FrameSlotSource filter = new FrameSlotSource(mContext, name, slotName);
134 FrameSlotTarget filter = new FrameSlotTarget(mContext, name, slotName);
222 VariableSource valueSource = new VariableSource(mContext, valueSourceName);
272 FilterGraph graph = new FilterGraph(mContext, parent);
295 branch = new BranchFilter(mContext, branchName, false);
365 return mContext;
[all...]
H A DRenderTarget.java66 private EGLContext mContext; field in class:RenderTarget
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false);
130 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true);
149 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true);
168 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true);
194 EGLSurface currentSurface = mDisplaySurfaces.get(mContext);
198 mDisplaySurfaces.put(mContext, mSurface);
205 mDisplaySurfaces.put(mContext, null);
214 mEgl.eglMakeCurrent(mDisplay, surface(), surface(), mContext);
238 return mContext;
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java155 private final Context mContext; field in class:NetworkManagementService
215 mContext = context;
296 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
302 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
808 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
819 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
863 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
885 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
893 mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
901 mContext
[all...]
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java38 final Context mContext; field in class:RestoreSession
54 RestoreObserverWrapper obsWrapper = new RestoreObserverWrapper(mContext, observer);
82 mObserver = new RestoreObserverWrapper(mContext, observer);
116 mObserver = new RestoreObserverWrapper(mContext, observer);
146 mObserver = new RestoreObserverWrapper(mContext, observer);
177 mContext = context;
H A DFileBackupHelperBase.java33 Context mContext; field in class:FileBackupHelperBase
38 mContext = context;
96 + mContext.getPackageName() + "\' result=0x"
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
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));
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DStandaloneActionMode.java38 private Context mContext; field in class:StandaloneActionMode
49 mContext = context;
70 setTitle(mContext.getString(resId));
75 setSubtitle(mContext.getString(resId));
133 return new MenuInflater(mContext);
148 new MenuPopupHelper(mContext, subMenu).show();
/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java38 private Context mContext; field in class:ConnectionThread
50 mContext = context;
109 mConnection = mConnectionManager.getConnection(mContext,
/frameworks/base/location/java/android/location/
H A DLocalListenerHelper.java39 private final Context mContext; field in class:LocalListenerHelper
43 mContext = context;
95 return mContext;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMimeTest.java50 private Context mContext; field in class:MediaMimeTest
60 mContext = getActivity();
121 return mContext.getPackageManager().resolveActivity(
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelView.java56 private final Context mContext; field in class:SearchPanelView
79 mContext = context;
89 final Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
90 .getAssistIntent(mContext, true, UserHandle.USER_CURRENT);
94 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
100 mContext.startActivityAsUser(intent, opts.toBundle(),
112 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
119 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
120 .getAssistIntent(mContext, false, UserHandle.USER_CURRENT);
132 PackageManager packageManager = mContext
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DReferenceCountedTrigger.java31 Context mContext; field in class:ReferenceCountedTrigger
53 mContext = context;
98 Console.logError(mContext, "Invalid ref count");
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DShortcutManager.java46 private Context mContext; field in class:ShortcutManager
54 mContext = context;
60 mCursor = mContext.getContentResolver().query(

Completed in 8574 milliseconds

1234567891011>>