Searched defs:context (Results 451 - 475 of 1847) sorted by relevance

<<11121314151617181920>>

/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java55 GLJNIView(Context context) { argument
56 super(context);
60 public GLJNIView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp70 EGLContext context; local
106 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs);
108 if (context == EGL_NO_CONTEXT) {
112 returnValue = eglMakeCurrent(dpy, surface, surface, context);
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp41 EGLContext context; local
61 context = eglCreateContext(dpy, config, NULL, NULL);
62 eglMakeCurrent(dpy, surface, surface, context);
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java42 public TestFramerateView(Context context) { argument
43 super(context);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java31 public CircularImageView(Context context) { argument
32 this(context, null, 0);
35 public CircularImageView(Context context, AttributeSet attrs) { argument
36 this(context, attrs, 0);
39 public CircularImageView(Context context, AttributeSet attrs, int defStyle) { argument
40 super(context, attrs, defStyle);
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerSwatch.java46 public ColorPickerSwatch(Context context, int color, boolean checked, argument
48 super(context);
52 LayoutInflater.from(context).inflate(R.layout.color_picker_swatch, this);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleMonthView.java26 public SimpleMonthView(Context context) { argument
27 super(context);
H A DTextViewWithCircularIndicator.java45 public TextViewWithCircularIndicator(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
47 Resources res = context.getResources();
50 mItemIsSelectedText = context.getResources().getString(R.string.item_is_selected);
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java39 public PhotoBitmapLoader(Context context, String photoUri) { argument
40 super(context);
52 Context context = getContext();
53 if (context != null && mPhotoUri != null) {
54 final ContentResolver resolver = context.getContentResolver();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java61 public void onReceive(Context context, Intent intent) {
72 handleTestConferenceEventPackage(context, intent.getStringExtra(EXTRA_FILENAME));
114 * @param context The context.
117 private void handleTestConferenceEventPackage(Context context, String fileName) { argument
134 File packageFile = new File(context.getFilesDir(), fileName);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DDownloadDrmHelper.java42 public static boolean isDrmMimeType(Context context, String mimetype) { argument
44 if (context != null) {
46 DrmManagerClient drmClient = new DrmManagerClient(context);
52 "DrmManagerClient instance could not be created, context is Illegal.");
89 * @param context The context
96 public static String getOriginalMimeType(Context context, String path, String containingMime) { argument
98 DrmManagerClient drmClient = new DrmManagerClient(context);
H A DDrmConvertSession.java43 * @param context The context of the application running the convert session.
47 public static DrmConvertSession open(Context context, String mimeType) { argument
50 if (context != null && mimeType != null && !mimeType.equals("")) {
52 drmClient = new DrmManagerClient(context);
63 "DrmManagerClient instance could not be created, context is Illegal.");
/frameworks/rs/cpu_ref/linkloader/android/
H A Dtest-librsloader.c37 void *find_sym(void *context, char const *name) { argument
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestView.java46 public RSTestView(Context context) { argument
47 super(context);
48 mCtx = context;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestView.java46 public RSTestView(Context context) { argument
47 super(context);
48 mCtx = context;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestView.java46 public RSTestView(Context context) { argument
47 super(context);
48 mCtx = context;
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTransitionHelperApi21.java63 public static Object createDefaultInterpolator(Context context) { argument
64 return AnimationUtils.loadInterpolator(context, R.interpolator.fast_out_linear_in);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchEditText.java36 public SearchEditText(Context context) { argument
37 this(context, null);
40 public SearchEditText(Context context, AttributeSet attrs) { argument
41 this(context, attrs, R.style.TextAppearance_Leanback_SearchTextEdit);
44 public SearchEditText(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
H A DSpeechOrbView.java17 public SpeechOrbView(Context context) { argument
18 this(context, null);
21 public SpeechOrbView(Context context, AttributeSet attrs) { argument
22 this(context, attrs, 0);
25 public SpeechOrbView(Context context, AttributeSet attrs, int defStyle) { argument
26 super(context, attrs, defStyle);
28 Resources resources = context.getResources();
/frameworks/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java31 public static Uri createFile(Context context, Uri self, String mimeType, argument
33 return DocumentsContract.createDocument(context.getContentResolver(), self, mimeType,
37 public static Uri createDirectory(Context context, Uri self, String displayName) { argument
38 return createFile(context, self, DocumentsContract.Document.MIME_TYPE_DIR, displayName);
46 public static Uri[] listFiles(Context context, Uri self) { argument
47 final ContentResolver resolver = context.getContentResolver();
71 public static Uri renameTo(Context context, Uri self, String displayName) { argument
72 return DocumentsContract.renameDocument(context.getContentResolver(), self, displayName);
/frameworks/support/v4/api21/android/support/v4/widget/
H A DDrawerLayoutCompatApi21.java77 public static Drawable getDefaultStatusBarBackground(Context context) { argument
78 final TypedArray a = context.obtainStyledAttributes(THEME_ATTRS);
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java26 static Notification add(Context context, Notification n, argument
31 Notification.Builder b = new Notification.Builder(context)
/frameworks/support/v4/ics/android/support/v4/widget/
H A DEdgeEffectCompatIcs.java29 public static Object newEdgeEffect(Context context) { argument
30 return new EdgeEffect(context);
/frameworks/support/v4/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java51 * Gets an instance of the display manager given the context.
53 public static DisplayManagerCompat getInstance(Context context) { argument
55 DisplayManagerCompat instance = sInstances.get(context);
59 instance = new JellybeanMr1Impl(context);
61 instance = new LegacyImpl(context);
63 sInstances.put(context, instance);
108 public LegacyImpl(Context context) { argument
109 mWindowManager = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
135 public JellybeanMr1Impl(Context context) { argument
136 mDisplayManagerObj = DisplayManagerJellybeanMr1.getDisplayManager(context);
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DContentLoadingProgressBar.java64 public ContentLoadingProgressBar(Context context) { argument
65 this(context, null);
68 public ContentLoadingProgressBar(Context context, AttributeSet attrs) { argument
69 super(context, attrs, 0);

Completed in 566 milliseconds

<<11121314151617181920>>