Searched refs:context (Results 26 - 50 of 3259) sorted by path

1234567891011>>

/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DUsage.h32 const CMappingContext &context,
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpoint.cpp106 static void *aaudio_endpoint_thread_proc(void *context) { argument
107 AAudioServiceEndpoint *endpoint = (AAudioServiceEndpoint *) context;
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DTypefaceCreatePerfTest.java68 final Context context = InstrumentationRegistry.getContext();
69 final AssetManager am = context.getAssets();
79 final Context context = InstrumentationRegistry.getContext();
80 final AssetManager am = context.getAssets();
84 outFile = File.createTempFile("example", "ttf", context.getCacheDir());
/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DViewPerfTest.java40 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();
41 LayoutInflater inflater = LayoutInflater.from(context);
42 FrameLayout root = new FrameLayout(context);
51 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext();
52 LayoutInflater inflater = LayoutInflater.from(context);
53 FrameLayout root = new FrameLayout(context);
H A DViewShowHidePerfTest.java61 abstract View create(Context context, int depth); argument
73 private void createNestedLinearLayoutTree(Context context, LinearLayout parent,
85 LinearLayout child = new LinearLayout(context);
92 createNestedLinearLayoutTree(context, child, remainingDepth - 1);
97 public View create(Context context, int depth) {
98 LinearLayout root = new LinearLayout(context);
99 createNestedLinearLayoutTree(context, root, depth - 1);
105 public View create(Context context, int depth) {
106 LinearLayout root = new LinearLayout(context);
110 ImageView imageView = new ImageView(context);
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewFontFamilyLayoutPerfTest.java63 final Context context = InstrumentationRegistry.getTargetContext();
66 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTest.java85 final Context context = InstrumentationRegistry.getContext();
86 mUm = UserManager.get(context);
87 mAm = context.getSystemService(ActivityManager.class);
206 public void onReceive(Context context, Intent intent) {
273 public void onReceive(Context context, Intent intent) {
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DBitmapUtils.java30 public static void saveBitmapIntoPNG(Context context, Bitmap bitmap, int resId) { argument
34 String originalFilePath = context.getResources().getString(resId);
39 File externalFilesDir = context.getExternalFilesDir(null);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp301 EGLContext context; local
308 context = eglCreateContext(display, config, NULL, NULL);
312 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
316 mContext = context;
H A Daudioplay.cpp80 void bqPlayerCallback(SLAndroidSimpleBufferQueueItf bq, void *context) { argument
82 (void)context;
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java34 public InstrumentationUiAutomatorBridge(Context context, UiAutomation uiAutomation) { argument
36 mContext = context;
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java1617 public IAccessibilityServiceClientWrapper(Context context, Looper looper, argument
1620 mCaller = new HandlerCaller(context, looper, this, true /*asyncHandler*/);
H A DAccessibilityServiceInfo.java199 * semantics in the context of the screen content. For example, a three by three
202 * In this context the actual layout mangers used to achieve the grid configuration
447 * @param context Context for accessing resources.
453 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) argument
462 PackageManager packageManager = context.getPackageManager();
547 throw new XmlPullParserException( "Unable to create context for: "
1014 * @deprecated The version that takes a context works better.
1022 * @param context A valid context
1025 public List<CapabilityInfo> getCapabilityInfos(Context context) { argument
1044 getCapabilityInfoSparseArray(Context context) argument
1077 fingerprintAvailable(Context context) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java151 public AbstractAccountAuthenticator(Context context) { argument
152 mContext = context;
H A DAccountManager.java145 * the current foreground {@link Activity} context.
404 public AccountManager(Context context, IAccountManager service) { argument
405 mContext = context;
413 public AccountManager(Context context, IAccountManager service, Handler handler) { argument
414 mContext = context;
445 * @param context The {@link Context} to use when necessary
448 public static AccountManager get(Context context) { argument
449 if (context == null) throw new IllegalArgumentException("context is null");
450 return (AccountManager) context
[all...]
H A DChooseAccountActivity.java161 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) { argument
162 super(context, textViewResourceId, infos);
164 mLayoutInflater = (LayoutInflater) context.getSystemService(
H A DChooseAccountTypeActivity.java175 public AccountArrayAdapter(Context context, int textViewResourceId, argument
177 super(context, textViewResourceId, infos);
179 mLayoutInflater = (LayoutInflater) context.getSystemService(
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java84 * @param context Application context used to access resources
89 public static Animator loadAnimator(Context context, @AnimatorRes int id) argument
91 return loadAnimator(context.getResources(), context.getTheme(), id);
157 public static StateListAnimator loadStateListAnimator(Context context, int id) argument
159 final Resources resources = context.getResources();
162 final Theme theme = context.getTheme();
170 animator = createStateListAnimatorFromXml(context, parser, Xml.asAttributeSet(parser));
205 private static StateListAnimator createStateListAnimatorFromXml(Context context, argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java678 * context of an activity BroadcastReceiver or Service to ensure that the system
1744 * {@link Intent#ACTION_ASSIST} Intent with all of the context of the current
1766 * context of the activity, and fill in its ClipData with additional content of
1828 * VoiceInteractionService.showSession} and requesting all of the possible context.
3471 * For context menus ({@link Window#FEATURE_CONTEXT_MENU}), the
3729 * Called when a context menu for the {@code view} is about to be shown.
3731 * time the context menu is about to be shown and should be populated for
3738 * It is not safe to hold onto the context menu after this method returns.
3745 * Registers a context menu to be shown for the given view (multiple views
3746 * can show the context men
6168 onCreateView(String name, Context context, AttributeSet attrs) argument
6182 onCreateView(View parent, String name, Context context, AttributeSet attrs) argument
6902 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config, String referrer, IVoiceInteractor voiceInteractor, Window window, ActivityConfigCallback activityConfigCallback) argument
[all...]
H A DActivityManager.java539 /** @hide requestType for assist context: only basic information. */
542 /** @hide requestType for assist context: generate full AssistStructure. */
545 /** @hide requestType for assist context: generate full AssistStructure for autofill. */
591 /*package*/ ActivityManager(Context context, Handler handler) { argument
592 mContext = context;
1157 static public boolean supportsMultiWindow(Context context) { argument
1160 boolean isWatch = context.getPackageManager().hasSystemFeature(
1171 static public boolean supportsSplitScreenMultiWindow(Context context) { argument
1172 return supportsMultiWindow(context)
2017 * the context tha
3840 getLauncherLargeIconSizeInner(Context context) argument
4448 startActivity(Context context, Intent intent, Bundle options) argument
[all...]
H A DActivityOptions.java281 * @param context Who is defining this. This is the application that the
290 public static ActivityOptions makeCustomAnimation(Context context, argument
292 return makeCustomAnimation(context, enterResId, exitResId, null, null);
299 * @param context Who is defining this. This is the application that the
314 public static ActivityOptions makeCustomAnimation(Context context, argument
317 opts.mPackageName = context.getPackageName();
329 * @param context Who is defining this. This is the application that the
337 public static ActivityOptions makeCustomInPlaceAnimation(Context context, int animId) { argument
343 opts.mPackageName = context.getPackageName();
526 public static ActivityOptions makeMultiThumbFutureAspectScaleAnimation(Context context, argument
[all...]
H A DActivityThread.java653 ContextImpl context; field in class:ActivityThread.ContextCleanupInfo
1720 cci.context.performFinalCleanup(cci.who, cci.what);
1874 Context context = getSystemContext();
1875 if(context == null) {
1876 Log.e(TAG, "cannot get a valid context");
1879 PackageManager pm = context.getPackageManager();
2674 final void scheduleContextCleanup(ContextImpl context, String who, argument
2677 cci.context = context;
3220 ContextImpl context;
5375 setupGraphicsSupport(Context context, File cacheDir) argument
5437 updateLocaleListFromAppContext(Context context, LocaleList newLocaleList) argument
5838 installContentProviders( Context context, List<ProviderInfo> providers) argument
6230 installProvider(Context context, ContentProviderHolder holder, ProviderInfo info, boolean noisy, boolean noReleaseNeeded, boolean stable) argument
[all...]
H A DActivityTransitionCoordinator.java678 Context context = getWindow().getContext();
691 snapshot = mListener.onCreateSnapshotView(context, parcelable);
H A DActivityView.java131 public ActivityView(Context context) { argument
132 this(context, null);
135 public ActivityView(Context context, AttributeSet attrs) { argument
136 this(context, attrs, 0);
139 public ActivityView(Context context, AttributeSet attrs, int defStyle) { argument
140 super(context, attrs, defStyle);
142 while (context instanceof ContextWrapper) {
143 if (context instanceof Activity) {
144 mActivity = (Activity)context;
147 context
[all...]
H A DAlertDialog.java136 * {@code context}'s theme.
138 * @param context the parent context
141 protected AlertDialog(Context context) { argument
142 this(context, 0);
151 * AlertDialog dialog = new AlertDialog(context);
158 * {@code context}'s theme.
160 * @param context the parent context
163 protected AlertDialog(Context context, boolea argument
196 AlertDialog(Context context, @StyleRes int themeResId) argument
200 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) argument
208 resolveDialogTheme(Context context, @StyleRes int themeResId) argument
453 Builder(Context context) argument
483 Builder(Context context, int themeResId) argument
[all...]

Completed in 5449 milliseconds

1234567891011>>