Searched refs:context (Results 276 - 300 of 1157) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DNullFilter.java40 public void process(FilterContext context) { argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToRGBAFilter.java68 public void createProgram(FilterContext context, FrameFormat format) { argument
85 public void process(FilterContext context) { argument
88 createProgram(context, input.getFormat());
91 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat()));
H A DToRGBFilter.java68 public void createProgram(FilterContext context, FrameFormat format) { argument
85 public void process(FilterContext context) { argument
88 createProgram(context, input.getFormat());
91 Frame output = context.getFrameManager().newFrame(getConvertedFormat(input.getFormat()));
H A DAutoFixFilter.java176 public void initProgram(FilterContext context, int target) { argument
179 ShaderProgram shaderProgram = new ShaderProgram(context, mAutoFixShader);
201 protected void prepare(FilterContext context) { argument
215 mDensityFrame = context.getFrameManager().newFrame(densityFormat);
220 public void tearDown(FilterContext context) { argument
233 public void fieldPortValueUpdated(String name, FilterContext context) { argument
240 public void process(FilterContext context) { argument
247 initProgram(context, inputFormat.getTarget());
255 createHistogramFrame(context, mWidth, mHeight, input.getInts());
259 Frame output = context
272 createHistogramFrame(FilterContext context, int width, int height, int[] data) argument
[all...]
H A DToGrayFilter.java72 protected Program getNativeProgram(FilterContext context) { argument
77 protected Program getShaderProgram(FilterContext context) { argument
83 ShaderProgram program = new ShaderProgram(context, mColorToGray4Shader);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAirplaneModeController.java40 public AirplaneModeController(Context context, CompoundButton checkbox) { argument
41 mContext = context;
49 context.registerReceiver(this, filter);
64 public void onReceive(Context context, Intent intent) { argument
H A DBatteryController.java39 public BatteryController(Context context) { argument
40 mContext = context;
44 context.registerReceiver(this, filter);
55 public void onReceive(Context context, Intent intent) { argument
H A DAutoRotateController.java39 public AutoRotateController(Context context, CompoundButton checkbox, argument
41 mContext = context;
47 RotationPolicy.registerRotationPolicyListener(context, mRotationPolicyListener);
H A DDoNotDisturbController.java39 public DoNotDisturbController(Context context, CompoundButton checkbox) { argument
40 mContext = context;
42 mPrefs = Prefs.read(context);
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java76 public AccessibilityInputFilter(Context context, AccessibilityManagerService service) { argument
77 super(context.getMainLooper());
78 mContext = context;
80 mPm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLayoutInsetsTest.java20 public static View create(Context context) { argument
23 GridLayout p = new GridLayout(context);
33 TextView tv = new TextView(context);
38 Button b = new Button(context);
H A DGridLayoutTest.java27 public ViewGroup create(Context context) { argument
28 GridLayout container = new GridLayout(context);
41 View v = create(context, VERTICAL_NAMES[i] + "-" + HORIZONTAL_NAMES[j], 20);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.h79 static bool GenerateBitCodeAccessor(const BitCodeAccessorContext &context);
/frameworks/ex/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { argument
34 super(context, resourceId, new RecipientEntry[] {
37 mLayoutInflater = LayoutInflater.from(context);
54 private void bindView(View view, Context context, RecipientEntry entry) { argument
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java59 Context context = widget.getContext();
61 intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName());
62 context.startActivity(intent);
/frameworks/base/core/java/android/view/animation/
H A DAlphaAnimation.java36 * @param context Application context to use
39 public AlphaAnimation(Context context, AttributeSet attrs) { argument
40 super(context, attrs);
43 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AlphaAnimation);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java44 public ExpandedMenuView(Context context, AttributeSet attrs) { argument
45 super(context, attrs);
47 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListHorizontalFocusWithinItemWins.java53 final Context context = parent.getContext();
56 context, desiredHeight, Slot.Left, Slot.Right);
59 context, desiredHeight, Slot.Middle);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFieldPort.java62 public synchronized void transfer(FilterContext context) { argument
71 if (context != null) {
72 mFilter.notifyFieldPortValueUpdated(mName, context);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpActivity.java40 private Context context; field in class:VideoDumpActivity
49 context = this;
69 mVideoView.setMediaController(new MediaController(context));
/frameworks/base/opengl/java/android/opengl/
H A DManagedEGLContext.java38 * class helps app developers participate in releasing their EGL context
59 public ManagedEGLContext(EGLContext context) { argument
60 mContext = context;
92 * of destroying the context to that thread.
94 public abstract void onTerminate(EGLContext context); argument
/frameworks/base/services/java/com/android/server/
H A DSerialService.java31 public SerialService(Context context) { argument
32 mContext = context;
33 mSerialPorts = context.getResources().getStringArray(
/frameworks/base/services/java/com/android/server/am/
H A DAppWaitingForDebuggerDialog.java30 Context context, ProcessRecord app) {
31 super(context);
34 mAppName = context.getPackageManager().getApplicationLabel(app.info);
29 AppWaitingForDebuggerDialog(ActivityManagerService service, Context context, ProcessRecord app) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentResolver.java83 protected IContentProvider acquireProvider(Context context, String name) { argument
84 return acquireExistingProvider(context, name);
89 protected IContentProvider acquireExistingProvider(Context context, String name) { argument
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerListHelper.java62 public TrackerAdapter(Context context, int layout, Cursor c) { argument
63 super(context, layout, c);
67 public void bindView(View view, Context context, Cursor cursor) { argument

Completed in 604 milliseconds

<<11121314151617181920>>