Searched refs:context (Results 226 - 250 of 1391) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
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);
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/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DVersionDialog.java41 final Context context;
43 context = activity.createPackageContext(SharedLibraryMain.LIBRARY_PACKAGE, 0);
48 final Resources res = context.getResources();
53 context.getApplicationInfo().loadLabel(context.getPackageManager())));
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DCircleView.java47 public CircleView(Context context) { argument
48 super(context);
50 Resources res = context.getResources();
58 public void initialize(Context context, boolean is24HourMode) { argument
64 Resources res = context.getResources();
/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...]
/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/settings/
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/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/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/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/jni/
H A Dandroid_os_SELinux.cpp82 * Purpose: retrieves security context of peer socket
95 "Trying to check security context of a null peer socket.");
107 Unique_SecurityContext context(tmp);
111 contextStr.reset(env->NewStringUTF(context.get()));
120 * Purpose: set security context used for creating a new file system object
122 * context: security_context_t representing the new context of a file system object,
132 UniquePtr<ScopedUtfChars> context; local
135 context.reset(new ScopedUtfChars(env, contextStr));
136 context_c_str = context
[all...]
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java69 public DummyTabFactory(Context context) { argument
70 mContext = context;
119 public FragmentTabHost(Context context) { argument
122 super(context, null);
123 initFragmentTabHost(context, null);
126 public FragmentTabHost(Context context, AttributeSet attrs) { argument
127 super(context, attrs);
128 initFragmentTabHost(context, attrs);
131 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument
132 TypedArray a = context
177 setup(Context context, FragmentManager manager) argument
184 setup(Context context, FragmentManager manager, int containerId) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentTabHost.java77 public DummyTabFactory(Context context) { argument
78 mContext = context;
127 public FragmentTabHost(Context context) { argument
130 super(context, null);
131 initFragmentTabHost(context, null);
134 public FragmentTabHost(Context context, AttributeSet attrs) { argument
135 super(context, attrs);
136 initFragmentTabHost(context, attrs);
139 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument
140 TypedArray a = context
185 setup(Context context, FragmentManager manager) argument
192 setup(Context context, FragmentManager manager, int containerId) argument
[all...]
/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);
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java36 * provider. The {@code context} passed in may be used to pop up some UI to ask
70 * {@code context} passed in may be used to pop up some UI to ask the user
84 * @param context Android context for the activity
96 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, argument
99 if (context == null) {
100 throw new IllegalArgumentException("context == null");
115 mContext = context;
133 * Gets the Android context used for operations with this instance.
224 * {@code context}
228 Builder(Context context) argument
[all...]

Completed in 1388 milliseconds

1234567891011>>