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

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCarrierLabel.java44 public CarrierLabel(Context context) { argument
45 this(context, null);
48 public CarrierLabel(Context context, AttributeSet attrs) { argument
49 this(context, attrs, 0);
52 public CarrierLabel(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
80 public void onReceive(Context context, Intent intent) {
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp147 void fixup_addFBContents(GLTraceContext *context, GLMessage *glmsg, FBBinding fbToRead) { argument
150 context->getCompressedFB(&fbcontents, &fbsize, &fbwidth, &fbheight, fbToRead);
344 int getShaderVariableLocation(GLTraceContext *context, GLMessage *glmsg, GLchar *name) { argument
353 return context->hooks->gl.glGetAttribLocation(program, name);
355 return context->hooks->gl.glGetUniformLocation(program, name);
359 void fixup_glGetActiveAttribOrUniform(GLTraceContext *context, GLMessage *glmsg, argument
377 int location = getShaderVariableLocation(context, glmsg, (GLchar*)pointersToFixup[3]);
384 GLint glGetInteger(GLTraceContext *context, GLenum param) { argument
386 context->hooks->gl.glGetIntegerv(param, &x);
390 GLint glGetVertexAttrib(GLTraceContext *context, GLuin argument
396 isUsingArrayBuffers(GLTraceContext *context) argument
400 isUsingElementArrayBuffers(GLTraceContext *context) argument
413 fixup_glBufferData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
432 fixup_glBufferSubData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
471 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
568 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
595 trace_VertexAttribPointerDataForGlDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
611 trace_VertexAttribPointerDataForGlDrawElements(GLTraceContext *context, GLMessage *glmsg, GLvoid *indices) argument
649 fixup_glDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
659 fixup_glDrawElements(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
691 fixupGLMessage(GLTraceContext *context, nsecs_t wallStart, nsecs_t wallEnd, nsecs_t threadStart, nsecs_t threadEnd, GLMessage *glmsg, void *pointersToFixup[]) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java57 View create(final Context context); argument
101 public View create(final Context context) {
102 final TextView tv = new TextView(context);
130 public View create(final Context context) {
131 final Button button = new Button(context);
159 public View create(final Context context) {
160 return new InternalSelectionView(context, numRows, "isv");
174 public View create(Context context) {
175 final LinearLayout ll = new LinearLayout(context);
183 final Button button = new Button(context);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java63 public Clock(Context context) { argument
64 this(context, null);
67 public Clock(Context context, AttributeSet attrs) { argument
68 this(context, attrs, 0);
71 public Clock(Context context, AttributeSet attrs, int defStyle) { argument
72 super(context, attrs, defStyle);
112 public void onReceive(Context context, Intent intent) {
131 Context context = getContext();
132 boolean b24 = DateFormat.is24HourFormat(context);
145 String format = context
[all...]
H A DToggleSlider.java50 public ToggleSlider(Context context) { argument
51 this(context, null);
54 public ToggleSlider(Context context, AttributeSet attrs) { argument
55 this(context, attrs, 0);
58 public ToggleSlider(Context context, AttributeSet attrs, int defStyle) { argument
59 super(context, attrs, defStyle);
60 View.inflate(context, R.layout.status_bar_toggle_slider, this);
62 final Resources res = context.getResources();
63 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ToggleSlider,
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4AD_Common.h145 * @note Allocates the context
165 * @note After this call the context is invalid
167 * @param context: (IN) Context of the decoder
170 * @return M4ERR_PARAMETER The context is invalid (in DEBUG only)
173 typedef M4OSA_ERR (M4AD_destroy_fct) (M4AD_Context context);
182 * @param context: (IN) Context of the decoder
193 typedef M4OSA_ERR (M4AD_step_fct) (M4AD_Context context, M4AD_Buffer *pInputBuffer,
233 * @param context: (IN) Context of the decoder
236 * @return M4ERR_PARAMETER The context is invalid (in DEBUG only)
239 typedef M4OSA_ERR (M4AD_reset_fct) (M4AD_Context context);
[all...]
/frameworks/base/core/java/android/webkit/
H A DPlugin.java47 public void handleClickEvent(Context context); argument
181 public void dispatchClickEvent(Context context) { argument
183 mHandler.handleClickEvent(context);
199 public void handleClickEvent(Context context) { argument
203 mDialog = new AlertDialog.Builder(context)
/frameworks/base/core/java/android/widget/
H A DZoomControls.java41 public ZoomControls(Context context) { argument
42 this(context, null);
45 public ZoomControls(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
49 LayoutInflater inflater = (LayoutInflater) context
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/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java38 public WeightedLinearLayout(Context context) { argument
39 super(context);
42 public WeightedLinearLayout(Context context, AttributeSet attrs) { argument
43 super(context, attrs);
46 context.obtainStyledAttributes(attrs, styleable.WeightedLinearLayout);
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/ex/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/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/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
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 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());
H A DPosterizeFilter.java67 public void initProgram(FilterContext context, int target) { argument
70 ShaderProgram shaderProgram = new ShaderProgram(context, mPosterizeShader);
83 public void process(FilterContext context) { argument
89 Frame output = context.getFrameManager().newFrame(inputFormat);
93 initProgram(context, inputFormat.getTarget());
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.java100 public void initProgram(FilterContext context, int target) { argument
103 ShaderProgram shaderProgram = new ShaderProgram(context, mRedEyeShader);
116 public void process(FilterContext context) { argument
122 Frame output = context.getFrameManager().newFrame(inputFormat);
126 initProgram(context, inputFormat.getTarget());
134 createRedEyeFrame(context);
152 public void fieldPortValueUpdated(String name, FilterContext context) { argument
158 private void createRedEyeFrame(FilterContext context) { argument
175 mRedEyeFrame = context.getFrameManager().newFrame(format);
/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/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/tablet/
H A DSettingsView.java50 public SettingsView(Context context, AttributeSet attrs) { argument
51 this(context, attrs, 0);
54 public SettingsView(Context context, AttributeSet attrs, int defStyle) { argument
55 super(context, attrs, defStyle);
62 final Context context = getContext();
64 mAirplane = new AirplaneModeController(context,
70 mRotate = new AutoRotateController(context,
80 mBrightness = new BrightnessController(context,
83 mDoNotDisturb = new DoNotDisturbController(context,
/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...]

Completed in 316 milliseconds

1234567891011>>