Searched refs:context (Results 126 - 150 of 1491) sorted by relevance

1234567891011>>

/frameworks/rs/cpu_ref/linkloader/include/
H A DELFObject.h108 void relocate(void *(*find_sym)(void *context, char const *name),
109 void *context);
121 void relocateARM(void *(*find_sym)(void *context, char const *name),
122 void *context,
126 void relocateX86_32(void *(*find_sym)(void *context, char const *name),
127 void *context,
131 void relocateX86_64(void *(*find_sym)(void *context, char const *name),
132 void *context,
136 void relocateMIPS(void *(*find_sym)(void *context, char const *name),
137 void *context,
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemoteControlClientCompat.java35 protected RemoteControlClientCompat(Context context, Object rcc) { argument
36 mContext = context;
40 public static RemoteControlClientCompat obtain(Context context, Object rcc) { argument
42 return new JellybeanImpl(context, rcc);
44 return new LegacyImpl(context, rcc);
108 public LegacyImpl(Context context, Object rcc) { argument
109 super(context, rcc);
127 public JellybeanImpl(Context context, Object rcc) { argument
128 super(context, rcc);
130 mRouterObj = MediaRouterJellybean.getMediaRouter(context);
[all...]
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
H A DInputMethodSettingsImpl.java47 * @param context the context for this application.
51 public boolean init(final Context context, final PreferenceScreen prefScreen) { argument
52 mContext = context;
53 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
54 mImi = getMyImi(context, mImm);
58 mSubtypeEnablerPreference = new Preference(context);
63 final CharSequence title = getSubtypeEnablerTitle(context);
73 context.startActivity(intent);
82 private static InputMethodInfo getMyImi(Context context, InputMethodManage argument
93 getEnabledSubtypesLabel( Context context, InputMethodManager imm, InputMethodInfo imi) argument
166 getSubtypeEnablerTitle(Context context) argument
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Thread.h91 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncOpen( M4OSA_Context* context,
95 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncStart( M4OSA_Context context,
99 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncStop( M4OSA_Context context );
102 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncClose( M4OSA_Context context );
105 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncGetState( M4OSA_Context context,
112 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncSetOption(M4OSA_Context context,
117 M4OSAL_REALTIME_EXPORT_TYPE M4OSA_ERR M4OSA_threadSyncGetOption(M4OSA_Context context,
H A DM4OSA_FileCommon_priv.h44 /** This structure defines the file context*/
78 M4OSA_Context* context,
83 M4OSA_Context context);
85 M4OSA_ERR M4OSA_fileCommonGetAttribute(M4OSA_Context context,
88 M4OSA_ERR M4OSA_fileCommonGetURL(M4OSA_Context context,
94 M4OSA_ERR M4OSA_fileCommonSeek(M4OSA_Context context,
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalReceiver.java34 public void onReceive(Context context, Intent intent) { argument
39 context.registerReceiver(this, new IntentFilter("foo.bar"));
40 context.unregisterReceiver(this);
55 context.bindService(new Intent(context, LocalService.class), sc, 0);
56 context.unbindService(sc);
64 context.sendOrderedBroadcast(newIntent, null);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DMediaSizeUtils.java36 * @param context Context for accessing resources.
39 public static MediaSize getDefault(Context context) { argument
40 String mediaSizeId = context.getString(R.string.mediasize_default);
44 private static String getStandardForMediaSize(Context context, MediaSize mediaSize) { argument
47 String[] mediaSizeToStandardMapValues = context.getResources()
58 return (standard != null) ? standard : context.getString(
70 public MediaSizeComparator(Context context) { argument
71 mContext = context;
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java38 * @param context The context.
42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { argument
48 final LinearLayout ll = new LinearLayout(context);
56 final Button topButton = new Button(context);
62 final TextView middleFiller = new TextView(context);
69 final Button bottomButton = new Button(context);
86 * @param context The context.
91 public static View horizontalButtonSlots(Context context, in argument
155 button(int position, Context context, String text, int desiredHeight) argument
195 text(int position, Context context, String text, int desiredHeight) argument
236 doubleText(int position, Context context, String text, int desiredHeight) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapOverlayFilter.java77 public void initProgram(FilterContext context, int target) { argument
80 ShaderProgram shaderProgram = new ShaderProgram(context, mOverlayShader);
93 public void tearDown(FilterContext context) { argument
101 public void process(FilterContext context) { argument
107 Frame output = context.getFrameManager().newFrame(inputFormat);
111 initProgram(context, inputFormat.getTarget());
115 Frame frame = createBitmapFrame(context);
132 private Frame createBitmapFrame(FilterContext context) { argument
138 Frame frame = context.getFrameManager().newFrame(format);
H A DImageCombineFilter.java88 public void process(FilterContext context) { argument
97 Frame output = context.getFrameManager().newFrame(inputs[0].getFormat());
100 updateProgramWithTarget(inputs[0].getFormat().getTarget(), context);
112 protected void updateProgramWithTarget(int target, FilterContext context) { argument
116 mProgram = getNativeProgram(context);
120 mProgram = getShaderProgram(context);
131 initProgramInputs(mProgram, context);
136 protected abstract Program getNativeProgram(FilterContext context); argument
138 protected abstract Program getShaderProgram(FilterContext context); argument
H A DAlphaBlendFilter.java57 protected Program getNativeProgram(FilterContext context) { argument
62 protected Program getShaderProgram(FilterContext context) { argument
63 return new ShaderProgram(context, mAlphaBlendShader);
H A DBlendFilter.java57 protected Program getNativeProgram(FilterContext context) { argument
62 protected Program getShaderProgram(FilterContext context) { argument
63 return new ShaderProgram(context, mBlendShader);
H A DBrightnessFilter.java50 protected Program getNativeProgram(FilterContext context) { argument
55 protected Program getShaderProgram(FilterContext context) { argument
56 return new ShaderProgram(context, mBrightnessShader);
H A DContrastFilter.java55 protected Program getNativeProgram(FilterContext context) { argument
60 protected Program getShaderProgram(FilterContext context) { argument
61 return new ShaderProgram(context, mContrastShader);
H A DInvert.java51 protected Program getNativeProgram(FilterContext context) { argument
56 protected Program getShaderProgram(FilterContext context) { argument
57 return new ShaderProgram(context, mInvertShader);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemISVAndButton.java43 Context context = parent.getContext();
45 final LinearLayout ll = new LinearLayout(context);
48 final InternalSelectionView isv = new InternalSelectionView(context, 8, "ISV postion " + position);
58 final Button topButton = new Button(context);
64 final TextView filler = new TextView(context);
/frameworks/base/services/java/com/android/server/location/
H A DFusedProxy.java43 * @param context The context needed for construction.
48 Context context,
56 context,
67 context,
80 * @param context The context needed for construction.
87 Context context,
94 context,
47 FusedProxy( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
86 createAndBind( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentResolver.java69 public MockContentResolver(Context context) { argument
70 super(context);
91 protected IContentProvider acquireProvider(Context context, String name) { argument
92 return acquireExistingProvider(context, name);
97 protected IContentProvider acquireExistingProvider(Context context, String name) { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java43 * halting any processing in the context, and releasing resources while the activity is paused.
52 * Set to true, if this context will make use of the camera.
53 * If your application does not require the camera, the context does not guarantee that
55 * the context's {@link #isCameraStreamingSupported()} returns true.
60 * Set to true, if this context requires OpenGL.
61 * If your application does not require OpenGL, the context does not guarantee that OpenGL
62 * is available. That is, you may only use OpenGL (within filters running in this context)
63 * if the context's {@link #isOpenGLSupported()} method returns true.
69 * function. You may specify a dummy SurfaceView here if you do not want the context to
89 /** The application context
134 MffContext(Context context) argument
154 MffContext(Context context, Config config) argument
339 init(Context context, Config config) argument
347 fetchDummySurfaceView(Context context, Config config) argument
355 determineGLSupport(Context context, Config config) argument
375 getPlatformSupportsGLES2(Context context) argument
441 createDummySurfaceView(Context context) argument
458 findActivityForContext(Context context) argument
[all...]
/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);
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java68 * The context to use. This should always be set.
159 private PreferenceManager(Context context) { argument
160 init(context);
163 private void init(Context context) { argument
164 mContext = context;
166 setSharedPreferencesName(getDefaultSharedPreferencesName(context));
231 final Context context;
233 context = mContext.createPackageContext(activityInfo.packageName, 0);
235 Log.w(TAG, "Could not create context for " + activityInfo.packageName + ": "
240 final PreferenceInflater inflater = new PreferenceInflater(context, thi
266 inflateFromResource(Context context, int resId, PreferenceScreen rootPreferences) argument
281 createPreferenceScreen(Context context) argument
368 getDefaultSharedPreferences(Context context) argument
373 getDefaultSharedPreferencesName(Context context) argument
441 setDefaultValues(Context context, int resId, boolean readAgain) argument
476 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Utils.c36 M4OSA_Context context)
39 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)&c, 1);
45 M4OSA_Context context)
49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
57 M4OSA_Context context)
61 err = M4MP4W_putByte((M4OSA_UChar)(val >> 16), fileFunction, context);
63 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
65 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
71 M4OSA_Context context)
35 M4MP4W_putByte(M4OSA_UChar c, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument
44 M4MP4W_putBE16(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument
56 M4MP4W_putBE24(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument
70 M4MP4W_putBE32(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument
86 M4MP4W_putBlock(const M4OSA_UChar* Block, M4OSA_UInt32 size, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument
132 M4MP4W_freeContext(M4OSA_Context context) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DAbsoluteFileBackupHelper.java42 * @param context
45 public AbsoluteFileBackupHelper(Context context, String... files) { argument
46 super(context);
48 mContext = context;
/frameworks/base/core/java/android/view/
H A DViewStub.java80 public ViewStub(Context context) { argument
81 initialize(context);
87 * @param context The application's environment.
90 public ViewStub(Context context, int layoutResource) { argument
92 initialize(context);
95 public ViewStub(Context context, AttributeSet attrs) { argument
96 this(context, attrs, 0);
100 public ViewStub(Context context, AttributeSet attrs, int defStyle) { argument
101 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewStub,
109 a = context
116 initialize(Context context) argument
[all...]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLinearLayoutTest.java28 public ViewGroup create(Context context) { argument
29 LinearLayout container = new LinearLayout(context);
38 View v = create(context, VERTICAL_NAMES[i] + "-" + HORIZONTAL_NAMES[j], 20);

Completed in 474 milliseconds

1234567891011>>