Searched refs:context (Results 251 - 275 of 1892) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java62 public static View create(Context context) { argument
63 GridLayout layout = new GridLayout(context);
86 TextView c = new TextView(context);
92 TextView c = new TextView(context);
98 TextView c = new TextView(context);
103 EditText c = new EditText(context);
109 TextView c = new TextView(context);
114 TextView c = new EditText(context);
120 Space c = new Space(context);
124 Button c = new Button(context);
[all...]
H A DBiDiTestGridLayoutCodeRtl.java62 public static View create(Context context) { argument
63 GridLayout layout = new GridLayout(context);
86 TextView c = new TextView(context);
92 TextView c = new TextView(context);
98 TextView c = new TextView(context);
103 EditText c = new EditText(context);
109 TextView c = new TextView(context);
114 TextView c = new EditText(context);
120 Space c = new Space(context);
124 Button c = new Button(context);
[all...]
/frameworks/base/core/java/android/app/
H A DPendingIntent.java227 * Note that the activity will be started outside of the context of an
236 * @param context The Context in which this PendingIntent should start
250 public static PendingIntent getActivity(Context context, int requestCode, argument
252 return getActivity(context, requestCode, intent, flags, null);
258 * Note that the activity will be started outside of the context of an
267 * @param context The Context in which this PendingIntent should start
283 public static PendingIntent getActivity(Context context, int requestCode, argument
285 String packageName = context.getPackageName();
287 context.getContentResolver()) : null;
308 public static PendingIntent getActivityAsUser(Context context, in argument
373 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags) argument
423 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) argument
449 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
493 getBroadcast(Context context, int requestCode, Intent intent, @Flags int flags) argument
504 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument
547 getService(Context context, int requestCode, @NonNull Intent intent, @Flags int flags) argument
628 send(Context context, int code, Intent intent) argument
685 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument
726 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DIconUtils.java204 public static Drawable loadPackageIcon(Context context, String authority, int icon) { argument
207 final PackageManager pm = context.getPackageManager();
213 return context.getDrawable(icon);
220 Context context, String mimeType, String authority, String docId, int mode) {
225 return context.getDrawable(R.drawable.ic_doc_album);
229 return context.getDrawable(R.drawable.ic_grid_folder);
231 return context.getDrawable(R.drawable.ic_doc_folder);
235 return loadMimeIcon(context, mimeType);
238 public static Drawable loadMimeIcon(Context context, String mimeType) { argument
240 return context
219 loadMimeIcon( Context context, String mimeType, String authority, String docId, int mode) argument
269 applyTintColor(Context context, int drawableId, int tintColorId) argument
276 applyTintAttr(Context context, int drawableId, int tintAttrId) argument
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java69 public DummyTabFactory(Context context) { argument
70 mContext = context;
119 public FragmentTabHost(Context context) { argument
122 super(context, null);
123 initFragmentTabHost(context, null);
126 public FragmentTabHost(Context context, AttributeSet attrs) { argument
127 super(context, attrs);
128 initFragmentTabHost(context, attrs);
131 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument
132 TypedArray a = context
140 ensureHierarchy(Context context) argument
179 setup(Context context, FragmentManager manager) argument
187 setup(Context context, FragmentManager manager, int containerId) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentTabHost.java77 public DummyTabFactory(Context context) { argument
78 mContext = context;
127 public FragmentTabHost(Context context) { argument
130 super(context, null);
131 initFragmentTabHost(context, null);
134 public FragmentTabHost(Context context, AttributeSet attrs) { argument
135 super(context, attrs);
136 initFragmentTabHost(context, attrs);
139 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument
140 TypedArray a = context
148 ensureHierarchy(Context context) argument
187 setup(Context context, FragmentManager manager) argument
195 setup(Context context, FragmentManager manager, int containerId) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelper.java50 * @param context The backup agent's Context object
53 public FileBackupHelper(Context context, String... files) { argument
54 super(context);
56 mContext = context;
57 mFilesDir = context.getFilesDir();
/frameworks/base/core/java/android/transition/
H A DPathMotion.java44 public PathMotion(Context context, AttributeSet attrs) {} argument
/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java29 public ImageSwitcher(Context context) argument
31 super(context);
34 public ImageSwitcher(Context context, AttributeSet attrs) { argument
35 super(context, attrs);
H A DTextSwitcher.java39 * @param context the application's environment
41 public TextSwitcher(Context context) { argument
42 super(context);
46 * Creates a new empty TextSwitcher for the given context and with the
49 * @param context the application environment
52 public TextSwitcher(Context context, AttributeSet attrs) { argument
53 super(context, attrs);
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java33 public static ActionBarPolicy get(Context context) { argument
34 return new ActionBarPolicy(context);
37 private ActionBarPolicy(Context context) { argument
38 mContext = context;
/frameworks/base/core/java/com/android/internal/widget/
H A DFaceUnlockView.java26 public FaceUnlockView(Context context) { argument
27 this(context, null);
30 public FaceUnlockView(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DPasswordEntryKeyboard.java54 public PasswordEntryKeyboard(Context context, int xmlLayoutResId) { argument
55 this(context, xmlLayoutResId, 0);
58 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
59 this(context, xmlLayoutResId, 0, width, height);
62 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode) { argument
63 super(context, xmlLayoutResId, mode);
64 init(context);
67 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, argument
69 super(context, xmlLayoutResId, mode, width, height);
70 init(context);
73 init(Context context) argument
81 PasswordEntryKeyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
[all...]
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledReceiver.java29 public void onReceive(Context context, Intent intent) { argument
H A DEnabledReceiver.java29 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/core/tests/coretests/src/android/view/
H A DPreDrawListener.java45 public MyLinearLayout(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
49 public MyLinearLayout(Context context) { argument
50 super(context);
/frameworks/base/libs/hwui/
H A DRenderState.h68 void registerCanvasContext(renderthread::CanvasContext* context) { argument
69 mRegisteredContexts.insert(context);
72 void unregisterCanvasContext(renderthread::CanvasContext* context) { argument
73 mRegisteredContexts.erase(context);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureSource.java66 public void fieldPortValueUpdated(String name, FilterContext context) { argument
75 public void process(FilterContext context) { argument
81 mFrame = context.getFrameManager().newBoundFrame(outputFormat,
97 public void tearDown(FilterContext context) { argument
H A DNullFilter.java38 public void process(FilterContext context) { argument
H A DObjectSource.java54 public void process(FilterContext context) { argument
61 mFrame = context.getFrameManager().newFrame(outputFormat);
76 public void tearDown(FilterContext context) { argument
81 public void fieldPortValueUpdated(String name, FilterContext context) { argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTestUtils.java28 public CameraBinderTestUtils(Context context) { argument
30 mContext = context;
75 final static public boolean isFeatureAvailable(Context context, String feature) { argument
76 final PackageManager packageManager = context.getPackageManager();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java32 public AnimatedImageView(Context context) { argument
33 super(context);
36 public AnimatedImageView(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
/frameworks/base/rs/java/android/renderscript/
H A DRSSurfaceView.java45 public RSSurfaceView(Context context) { argument
46 super(context);
57 public RSSurfaceView(Context context, AttributeSet attrs) { argument
58 super(context, attrs);
/frameworks/base/services/core/java/com/android/server/
H A DBrickReceiver.java27 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java40 Context context,
57 context,
73 Context context,
80 context,
39 ActivityRecognitionProxy( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
72 createAndBind( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument

Completed in 7571 milliseconds

<<11121314151617181920>>