Searched defs:context (Results 276 - 300 of 1194) sorted by relevance

<<11121314151617181920>>

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxClassifier.java66 public BordeauxClassifier(Context context) { argument
67 mContext = context;
69 mClassifier = BordeauxManagerService.getClassifier(context, mName);
72 public BordeauxClassifier(Context context, String name) { argument
73 mContext = context;
75 mClassifier = BordeauxManagerService.getClassifier(context, mName);
H A DBordeauxPredictor.java48 public BordeauxPredictor(Context context) { argument
49 mContext = context;
51 mPredictor = BordeauxManagerService.getPredictor(context, mName);
54 public BordeauxPredictor(Context context, String name) { argument
55 mContext = context;
57 mPredictor = BordeauxManagerService.getPredictor(context, mName);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp36 EGLContext context; local
62 context = eglCreateContext(dpy, config, NULL, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
/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
105 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs);
107 if (context == EGL_NO_CONTEXT) {
111 returnValue = eglMakeCurrent(dpy, surface, surface, context);
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp43 EGLContext context; local
62 context = eglCreateContext(dpy, config, NULL, NULL);
63 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/mms/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/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DPhotoPagerAdapter.java39 public PhotoPagerAdapter(Context context, FragmentManager fm, Cursor c, float maxScale) { argument
40 super(context, fm, c);
45 public Fragment getItem(Context context, Cursor cursor, int position) { argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java38 public PhotoBitmapLoader(Context context, String photoUri) { argument
39 super(context);
49 Context context = getContext();
51 if (context != null && mPhotoUri != null) {
52 final ContentResolver resolver = context.getContentResolver();
/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/widget/
H A DResourceCursorAdapter.java47 * @param context The context where the ListView associated with this adapter is running
53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { argument
54 super(context, c);
56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
66 * @param context The context where the ListView associated with this adapter is running
75 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { argument
76 super(context, c, autoRequery);
78 mInflater = (LayoutInflater) context
92 ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) argument
105 newView(Context context, Cursor cursor, ViewGroup parent) argument
110 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java38 public MtpStorage(StorageVolume volume, Context context) { argument
41 mDescription = context.getResources().getString(volume.getDescriptionId());
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DStreamPort.java95 public synchronized void transfer(FilterContext context) { argument
97 checkFrameManager(mFrame, context);
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { argument
42 InputStream inputStream = context.getResources().openRawResource(resourceId);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapSource.java88 public void fieldPortValueUpdated(String name, FilterContext context) { argument
99 public void process(FilterContext context) { argument
101 loadImage(context);
H A DColorTemperatureFilter.java78 public void initProgram(FilterContext context, int target) { argument
81 ShaderProgram shaderProgram = new ShaderProgram(context, mColorTemperatureShader);
94 public void process(FilterContext context) { argument
101 initProgram(context, inputFormat.getTarget());
106 Frame output = context.getFrameManager().newFrame(inputFormat);
123 public void fieldPortValueUpdated(String name, FilterContext context) { argument
H A DCropFilter.java93 protected void createProgram(FilterContext context, FrameFormat format) { argument
101 mProgram = new ShaderProgram(context, mFragShader);
103 mProgram = ShaderProgram.createIdentity(context);
H A DCrossProcessFilter.java91 public void initProgram(FilterContext context, int target) { argument
94 ShaderProgram shaderProgram = new ShaderProgram(context, mCrossProcessShader);
107 public void process(FilterContext context) { argument
114 initProgram(context, inputFormat.getTarget());
118 Frame output = context.getFrameManager().newFrame(inputFormat);
H A DDuotoneFilter.java74 public void initProgram(FilterContext context, int target) { argument
77 ShaderProgram shaderProgram = new ShaderProgram(context, mDuotoneShader);
90 public void process(FilterContext context) { argument
96 Frame output = context.getFrameManager().newFrame(inputFormat);
100 initProgram(context, inputFormat.getTarget());
H A DFillLightFilter.java80 public void initProgram(FilterContext context, int target) { argument
83 ShaderProgram shaderProgram = new ShaderProgram(context, mFillLightShader);
98 public void process(FilterContext context) { argument
104 Frame output = context.getFrameManager().newFrame(inputFormat);
108 initProgram(context, inputFormat.getTarget());
124 public void fieldPortValueUpdated(String name, FilterContext context) { argument
H A DFlipFilter.java64 public void initProgram(FilterContext context, int target) { argument
67 ShaderProgram shaderProgram = ShaderProgram.createIdentity(context);
81 public void fieldPortValueUpdated(String name, FilterContext context) { argument
88 public void process(FilterContext context) { argument
95 initProgram(context, inputFormat.getTarget());
99 Frame output = context.getFrameManager().newFrame(inputFormat);
H A DNegativeFilter.java64 public void initProgram(FilterContext context, int target) { argument
67 ShaderProgram shaderProgram = new ShaderProgram(context, mNegativeShader);
80 public void process(FilterContext context) { argument
86 Frame output = context.getFrameManager().newFrame(inputFormat);
90 initProgram(context, inputFormat.getTarget());

Completed in 2056 milliseconds

<<11121314151617181920>>