Searched refs:context (Results 201 - 225 of 1157) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DSepiaFilter.java65 public void initProgram(FilterContext context, int target) { argument
68 ShaderProgram shaderProgram = new ShaderProgram(context, mSepiaShader);
81 public void process(FilterContext context) { argument
87 Frame output = context.getFrameManager().newFrame(inputFormat);
91 initProgram(context, inputFormat.getTarget());
H A DRedEyeFilter.java102 public void initProgram(FilterContext context, int target) { argument
105 ShaderProgram shaderProgram = new ShaderProgram(context, mRedEyeShader);
118 public void process(FilterContext context) { argument
124 Frame output = context.getFrameManager().newFrame(inputFormat);
128 initProgram(context, inputFormat.getTarget());
136 createRedEyeFrame(context);
154 public void fieldPortValueUpdated(String name, FilterContext context) { argument
160 private void createRedEyeFrame(FilterContext context) { argument
177 mRedEyeFrame = context.getFrameManager().newFrame(format);
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/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp146 void fixup_addFBContents(GLTraceContext *context, GLMessage *glmsg, FBBinding fbToRead) { argument
149 context->getCompressedFB(&fbcontents, &fbsize, &fbwidth, &fbheight, fbToRead);
343 int getShaderVariableLocation(GLTraceContext *context, GLMessage *glmsg, GLchar *name) { argument
352 return context->hooks->gl.glGetAttribLocation(program, name);
354 return context->hooks->gl.glGetUniformLocation(program, name);
358 void fixup_glGetActiveAttribOrUniform(GLTraceContext *context, GLMessage *glmsg, argument
376 int location = getShaderVariableLocation(context, glmsg, (GLchar*)pointersToFixup[3]);
383 GLint glGetInteger(GLTraceContext *context, GLenum param) { argument
385 context->hooks->gl.glGetIntegerv(param, &x);
389 GLint glGetVertexAttrib(GLTraceContext *context, GLuin argument
395 isUsingArrayBuffers(GLTraceContext *context) argument
399 isUsingElementArrayBuffers(GLTraceContext *context) argument
412 fixup_glBufferData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
431 fixup_glBufferSubData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
470 trace_glVertexAttribPointerData(GLTraceContext *context, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr, GLuint minIndex, GLuint maxIndex, nsecs_t startTime) argument
567 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
594 trace_VertexAttribPointerDataForGlDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
605 trace_VertexAttribPointerDataForGlDrawElements(GLTraceContext *context, GLMessage *glmsg, GLvoid *indices) argument
638 fixup_glDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
648 fixup_glDrawElements(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
680 fixupGLMessage(GLTraceContext *context, nsecs_t wallStart, nsecs_t wallEnd, nsecs_t threadStart, nsecs_t threadEnd, GLMessage *glmsg, void *pointersToFixup[]) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DViewAnimator.java48 public ViewAnimator(Context context) { argument
49 super(context);
50 initViewAnimator(context, null);
53 public ViewAnimator(Context context, AttributeSet attrs) { argument
54 super(context, attrs);
56 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator);
59 setInAnimation(context, resource);
64 setOutAnimation(context, resource);
72 initViewAnimator(context, attrs);
79 private void initViewAnimator(Context context, AttributeSe argument
314 setInAnimation(Context context, int resourceID) argument
327 setOutAnimation(Context context, int resourceID) argument
[all...]
H A DCursorAdapter.java112 * @param context The context
115 public CursorAdapter(Context context, Cursor c) { argument
116 init(context, c, FLAG_AUTO_REQUERY);
126 * @param context The context
131 public CursorAdapter(Context context, Cursor c, boolean autoRequery) { argument
132 init(context, c, autoRequery ? FLAG_AUTO_REQUERY : FLAG_REGISTER_CONTENT_OBSERVER);
139 * @param context The context
144 CursorAdapter(Context context, Cursor c, int flags) argument
153 init(Context context, Cursor c, boolean autoRequery) argument
157 init(Context context, Cursor c, int flags) argument
279 newView(Context context, Cursor cursor, ViewGroup parent) argument
289 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
300 bindView(View view, Context context, Cursor cursor) argument
[all...]
H A DDateTimeView.java71 public DateTimeView(Context context) { argument
72 super(context);
75 public DateTimeView(Context context, AttributeSet attrs) { argument
76 super(context, attrs);
193 Context context = getContext();
194 if (android.text.format.DateFormat.is24HourFormat(context)) {
199 String format = context.getString(res);
219 Context context = getContext();
226 context.registerReceiver(mBroadcastReceiver, filter);
229 context
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java165 protected void prepare(FilterContext context) { argument
171 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
176 mFrameExtractor = new ShaderProgram(context, mRenderShader);
180 public void open(FilterContext context) { argument
192 public void process(FilterContext context) { argument
227 Frame output = context.getFrameManager().newFrame(mOutputFormat);
237 public void close(FilterContext context) { argument
245 public void tearDown(FilterContext context) { argument
252 public void fieldPortValueUpdated(String name, FilterContext context) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DToggleSlider.java49 public ToggleSlider(Context context) { argument
50 this(context, null);
53 public ToggleSlider(Context context, AttributeSet attrs) { argument
54 this(context, attrs, 0);
57 public ToggleSlider(Context context, AttributeSet attrs, int defStyle) { argument
58 super(context, attrs, defStyle);
59 View.inflate(context, R.layout.status_bar_toggle_slider, this);
61 final Resources res = context.getResources();
62 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ToggleSlider,
H A DDateView.java42 public void onReceive(Context context, Intent intent) {
52 public DateView(Context context, AttributeSet attrs) { argument
53 super(context, attrs);
90 final Context context = getContext();
93 CharSequence date = DateFormat.getLongDateFormat(context).format(now);
94 setText(context.getString(R.string.status_bar_date_formatter, dow, date));
H A DLocationController.java49 public LocationController(Context context) { argument
50 mContext = context;
55 context.registerReceiver(this, filter);
57 NotificationManager nm = (NotificationManager)context.getSystemService(
63 public void onReceive(Context context, Intent intent) { argument
90 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, gpsIntent, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DSettingsView.java49 public SettingsView(Context context, AttributeSet attrs) { argument
50 this(context, attrs, 0);
53 public SettingsView(Context context, AttributeSet attrs, int defStyle) { argument
54 super(context, attrs, defStyle);
61 final Context context = getContext();
63 mAirplane = new AirplaneModeController(context,
69 mRotate = new AutoRotateController(context,
79 mBrightness = new BrightnessController(context,
81 mDoNotDisturb = new DoNotDisturbController(context,
H A DNotificationLinearLayout.java48 public NotificationLinearLayout(Context context, AttributeSet attrs) { argument
49 this(context, attrs, 0);
52 public NotificationLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
55 final Resources res = context.getResources();
59 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NotificationLinearLayout,
/frameworks/base/tests/CoreTests/android/core/
H A DTestHttpClient.java66 private final HttpContext context; field in class:TestHttpClient
88 this.context = new BasicHttpContext(null);
99 this.context.setAttribute(ExecutionContext.HTTP_REQUEST, request);
100 this.context.setAttribute(ExecutionContext.HTTP_TARGET_HOST, targetHost);
101 this.context.setAttribute(ExecutionContext.HTTP_CONNECTION, conn);
104 this.httpexecutor.preProcess(request, this.httpproc, this.context);
105 HttpResponse response = this.httpexecutor.execute(request, conn, this.context);
108 this.httpexecutor.postProcess(response, this.httpproc, this.context);
113 return this.connStrategy.keepAlive(response, this.context);
/frameworks/compile/libbcc/runtime/lib/
H A Dgcc_personality_v0.c54 extern uintptr_t _Unwind_GetIP(_Unwind_Context_t context);
55 extern uintptr_t _Unwind_GetRegionStart(_Unwind_Context_t context);
188 _Unwind_Context_t context)
196 const uint8_t* lsda = _Unwind_GetLanguageSpecificData(context);
200 uintptr_t pc = _Unwind_GetIP(context)-1;
201 uintptr_t funcStart = _Unwind_GetRegionStart(context);
232 _Unwind_SetGR(context, __builtin_eh_return_data_regno(0),
234 _Unwind_SetGR(context, __builtin_eh_return_data_regno(1), 0);
235 _Unwind_SetIP(context, funcStart+landingPad);
186 __gcc_personality_v0(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception* exceptionObject, _Unwind_Context_t context) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java55 public PasswordEntryKeyboard(Context context, int xmlLayoutResId) { argument
56 this(context, xmlLayoutResId, 0);
59 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
60 this(context, xmlLayoutResId, 0, width, height);
63 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode) { argument
64 super(context, xmlLayoutResId, mode);
65 init(context);
68 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, argument
70 super(context, xmlLayoutResId, mode, width, height);
71 init(context);
74 init(Context context) argument
82 PasswordEntryKeyboard(Context context, int layoutTemplateResId, CharSequence characters, int columns, int horizontalPadding) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorAdapter.java118 * @param context The context
121 public CursorAdapter(Context context, Cursor c) { argument
122 init(context, c, FLAG_AUTO_REQUERY);
132 * @param context The context
137 public CursorAdapter(Context context, Cursor c, boolean autoRequery) { argument
138 init(context, c, autoRequery ? FLAG_AUTO_REQUERY : FLAG_REGISTER_CONTENT_OBSERVER);
145 * @param context The context
150 CursorAdapter(Context context, Cursor c, int flags) argument
159 init(Context context, Cursor c, boolean autoRequery) argument
163 init(Context context, Cursor c, int flags) argument
285 newView(Context context, Cursor cursor, ViewGroup parent) argument
295 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
306 bindView(View view, Context context, Cursor cursor) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DDateSorter.java47 * @param context Application context
49 public DateSorter(Context context) { argument
50 Resources resources = context.getResources();
66 mLabels[0] = context.getText(com.android.internal.R.string.today).toString();
67 mLabels[1] = context.getText(com.android.internal.R.string.yesterday).toString();
73 mLabels[3] = context.getString(com.android.internal.R.string.last_month);
74 mLabels[4] = context.getString(com.android.internal.R.string.older);
/frameworks/base/core/java/com/android/internal/preference/
H A DYesNoPreference.java35 public YesNoPreference(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
39 public YesNoPreference(Context context, AttributeSet attrs) { argument
40 this(context, attrs, com.android.internal.R.attr.yesNoPreferenceStyle);
43 public YesNoPreference(Context context) { argument
44 this(context, null);

Completed in 1316 milliseconds

1234567891011>>