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

<<11121314151617181920>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBlackWhiteFilter.java104 public void initProgram(FilterContext context, int target) { argument
107 ShaderProgram shaderProgram = new ShaderProgram(context, mBlackWhiteShader);
132 public void fieldPortValueUpdated(String name, FilterContext context) { argument
139 public void process(FilterContext context) { argument
146 initProgram(context, inputFormat.getTarget());
150 Frame output = context.getFrameManager().newFrame(inputFormat);
H A DCropRectFilter.java70 public void initProgram(FilterContext context, int target) { argument
73 ShaderProgram shaderProgram = ShaderProgram.createIdentity(context);
86 public void fieldPortValueUpdated(String name, FilterContext context) { argument
93 public void process(FilterContext context) { argument
102 Frame output = context.getFrameManager().newFrame(outputFormat);
106 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 DSharpenFilter.java88 public void initProgram(FilterContext context, int target) { argument
91 ShaderProgram shaderProgram = new ShaderProgram(context, mSharpenShader);
104 public void process(FilterContext context) { argument
110 Frame output = context.getFrameManager().newFrame(inputFormat);
114 initProgram(context, inputFormat.getTarget());
148 public void fieldPortValueUpdated(String name, FilterContext context) { argument
H A DTintFilter.java71 public void initProgram(FilterContext context, int target) { argument
74 ShaderProgram shaderProgram = new ShaderProgram(context, mTintShader);
87 public void fieldPortValueUpdated(String name, FilterContext context) { argument
94 public void process(FilterContext context) { argument
101 initProgram(context, inputFormat.getTarget());
106 Frame output = context.getFrameManager().newFrame(inputFormat);
H A DVignetteFilter.java80 public void initProgram(FilterContext context, int target) { argument
83 ShaderProgram shaderProgram = new ShaderProgram(context, mVignetteShader);
122 public void fieldPortValueUpdated(String name, FilterContext context) { argument
129 public void process(FilterContext context) { argument
136 initProgram(context, inputFormat.getTarget());
147 Frame output = context.getFrameManager().newFrame(inputFormat);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalKeyManager.java56 public GlobalKeyManager(Context context) { argument
58 loadGlobalKeys(context);
64 * @param context context used to broadcast the event
69 boolean handleGlobalKey(Context context, int keyCode, KeyEvent event) { argument
76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null);
90 private void loadGlobalKeys(Context context) { argument
93 parser = context.getResources().getXml(com.android.internal.R.xml.global_keys);
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java41 * @param context A Context object used to access application assets.
43 public WebView(Context context) { argument
44 this(context, null);
49 * @param context A Context object used to access application assets.
52 public WebView(Context context, AttributeSet attrs) { argument
53 this(context, attrs, com.android.internal.R.attr.webViewStyle);
58 * @param context A Context object used to access application assets.
62 public WebView(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxPredictor.java39 public BordeauxPredictor(Context context) { argument
40 mContext = context;
42 mPredictor = BordeauxManagerService.getPredictor(context, mName);
45 public BordeauxPredictor(Context context, String name) { argument
46 mContext = context;
48 mPredictor = BordeauxManagerService.getPredictor(context, mName);
H A DBordeauxRanker.java67 public BordeauxRanker(Context context) { argument
68 mContext = context;
70 mRanker = BordeauxManagerService.getRanker(context, mName);
73 public BordeauxRanker(Context context, String name) { argument
74 mContext = context;
76 mRanker = BordeauxManagerService.getRanker(context, mName);
/frameworks/support/v4/java/android/support/v4/widget/
H A DEdgeEffectCompat.java45 public Object newEdgeEffect(Context context); argument
59 public Object newEdgeEffect(Context context) { argument
91 public Object newEdgeEffect(Context context) { argument
92 return EdgeEffectCompatIcs.newEdgeEffect(context);
125 * Construct a new EdgeEffect themed using the given context.
130 * @param context Context to use for theming the effect
132 public EdgeEffectCompat(Context context) { argument
133 mEdgeEffect = IMPL.newEdgeEffect(context);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java74 * @param context The context.
76 public MediaRouteProvider(Context context) { argument
77 this(context, null);
80 MediaRouteProvider(Context context, ProviderMetadata metadata) { argument
81 if (context == null) {
82 throw new IllegalArgumentException("context must not be null");
85 mContext = context;
87 mMetadata = new ProviderMetadata(context.getPackageName());
94 * Gets the context o
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java52 public NetworkImageView(Context context) { argument
53 this(context, null);
56 public NetworkImageView(Context context, AttributeSet attrs) { argument
57 this(context, attrs, 0);
60 public NetworkImageView(Context context, AttributeSet attrs, int defStyle) { argument
61 super(context, attrs, defStyle);
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c27 void SHA1Update(SHA1_CTX* context, unsigned char* data,
30 void SHA1Update(SHA1_CTX* context, unsigned char* data,
150 /* Copy context->state[] to working vars */
185 /* Add the working vars back into context.state[] */
198 /* SHA1Init - Initialize new context */
200 void SHA1Init(SHA1_CTX* context) argument
203 context->state[0] = 0x67452301;
204 context->state[1] = 0xEFCDAB89;
205 context->state[2] = 0x98BADCFE;
206 context
214 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument
240 SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context) argument
284 SHA1_CTX context; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java210 public void fieldPortValueUpdated(String name, FilterContext context) { argument
282 public void prepare(FilterContext context) { argument
285 mProgram = ShaderProgram.createIdentity(context);
291 public void open(FilterContext context) { argument
294 if (mRecording) startRecording(context);
297 private void startRecording(FilterContext context) { argument
317 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(
341 mSurfaceId = context.getGLEnvironment().
386 public void process(FilterContext context) { argument
387 GLEnvironment glEnv = context
423 stopRecording(FilterContext context) argument
456 close(FilterContext context) argument
462 tearDown(FilterContext context) argument
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4READER_Common.h419 * @note create the context
420 * @param pContext: (OUT) pointer on a reader context
431 * @note after this call the context is invalid
432 * @param context: (IN) Context of the reader
437 typedef M4OSA_ERR (M4READER_destroy_fct) (M4OSA_Context context);
444 * @param context: (IN) Context of the reader
447 * @return M4ERR_PARAMETER the context is NULL
448 * @return M4ERR_BAD_CONTEXT provided context is not a valid one
451 typedef M4OSA_ERR (M4READER_open_fct) (M4OSA_Context context, M4OSA_Void* pFileDescriptor);
458 * @param context
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DShutdownThread.java98 * @param context Context used to display the shutdown progress dialog.
101 public static void shutdown(final Context context, boolean confirm) { argument
104 shutdownInner(context, confirm);
107 static void shutdownInner(final Context context, boolean confirm) { argument
117 final int longPressBehavior = context.getResources().getInteger(
128 final CloseDialogReceiver closer = new CloseDialogReceiver(context);
132 sConfirmDialog = new AlertDialog.Builder(context)
139 beginShutdownSequence(context);
149 beginShutdownSequence(context);
158 CloseDialogReceiver(Context context) { argument
165 onReceive(Context context, Intent intent) argument
183 reboot(final Context context, String reason, boolean confirm) argument
197 rebootSafeMode(final Context context, boolean confirm) argument
204 beginShutdownSequence(Context context) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java56 * @param context for the application
58 public SSLSessionCache(Context context) { argument
59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java40 public PreferenceFrameLayout(Context context) { argument
41 this(context, null);
44 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
45 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
48 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument
49 super(context, attrs, defStyle);
50 TypedArray a = context.obtainStyledAttributes(attrs,
53 float density = context.getResources().getDisplayMetrics().density;
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java36 public AllCapsTransformationMethod(Context context) { argument
37 mLocale = context.getResources().getConfiguration().locale;
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java50 public AccelerateInterpolator(Context context, AttributeSet attrs) { argument
52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
H A DAnticipateInterpolator.java42 public AnticipateInterpolator(Context context, AttributeSet attrs) { argument
43 TypedArray a = context.obtainStyledAttributes(attrs,
H A DDecelerateInterpolator.java43 public DecelerateInterpolator(Context context, AttributeSet attrs) { argument
45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
H A DLayoutAnimationController.java98 * @param context the Context the view group is running in, through which
103 public LayoutAnimationController(Context context, AttributeSet attrs) { argument
104 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.LayoutAnimation);
114 setAnimation(context, resource);
119 setInterpolator(context, resource);
175 * @param context the context from which the animation must be inflated
183 public void setAnimation(Context context, int resourceID) { argument
184 setAnimation(AnimationUtils.loadAnimation(context, resourceID));
220 * @param context th
228 setInterpolator(Context context, int resourceID) argument
[all...]

Completed in 1915 milliseconds

<<11121314151617181920>>