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

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureSource.java69 public void fieldPortValueUpdated(String name, FilterContext context) { argument
78 public void process(FilterContext context) { argument
84 mFrame = context.getFrameManager().newBoundFrame(outputFormat,
100 public void tearDown(FilterContext context) { argument
H A DObjectSource.java57 public void process(FilterContext context) { argument
64 mFrame = context.getFrameManager().newFrame(outputFormat);
79 public void tearDown(FilterContext context) { argument
84 public void fieldPortValueUpdated(String name, FilterContext context) { argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTestUtils.java27 public CameraBinderTestUtils(Context context) { argument
29 mContext = context;
74 final static public boolean isFeatureAvailable(Context context, String feature) { argument
75 final PackageManager packageManager = context.getPackageManager();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryContainerView.java30 public DirectoryContainerView(Context context) { argument
31 super(context);
35 public DirectoryContainerView(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
H A DDirectoryView.java31 public DirectoryView(Context context) { argument
32 super(context);
35 public DirectoryView(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
H A DSettingsActivity.java31 public static boolean getDisplayAdvancedDevices(Context context) { argument
32 return PreferenceManager.getDefaultSharedPreferences(context)
36 public static boolean getDisplayFileSize(Context context) { argument
37 return PreferenceManager.getDefaultSharedPreferences(context)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAnimatedImageView.java32 public AnimatedImageView(Context context) { argument
33 super(context);
36 public AnimatedImageView(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
/frameworks/base/services/java/com/android/server/
H A DBrickReceiver.java27 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBranchFilter.java31 public BranchFilter(MffContext context, String name) { argument
32 super(context, name);
35 public BranchFilter(MffContext context, String name, boolean synced) { argument
36 super(context, name);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLayoutInsetsTest.java19 public static View create(Context context) { argument
22 GridLayout p = new GridLayout(context);
32 TextView tv = new TextView(context);
37 Button b = new Button(context);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java36 public void onReceive(Context context, Intent intent) { argument
53 SharedPreferences prefs = context.getSharedPreferences(
57 AppWidgetManager gm = AppWidgetManager.getInstance(context);
58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/policy/
H A DPolicyManager.java38 public static Window makeNewWindow(Context context) { argument
45 public static LayoutInflater makeNewLayoutInflater(Context context) { argument
46 return new BridgeInflater(context, RenderAction.getCurrentContext().getProjectCallback());
56 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { argument
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
H A DDriverView.java.template26 // Renderscipt context
31 public DriverView(Context context) {
32 super(context);
/frameworks/ex/common/java/com/android/common/
H A DSearch.java64 public static Cursor getSuggestions(Context context, SearchableInfo searchable, String query) { argument
65 return getSuggestions(context, searchable, query, -1);
77 public static Cursor getSuggestions(Context context, SearchableInfo searchable, argument
121 return context.getContentResolver().query(uri, null, selection, selArgs, null);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java55 GLJNIView(Context context) { argument
56 super(context);
60 public GLJNIView(Context context, AttributeSet attrs) { argument
61 super(context, attrs);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DHapticFeedbackController.java18 private static boolean checkGlobalSetting(Context context) { argument
19 return Settings.System.getInt(context.getContentResolver(),
30 public HapticFeedbackController(Context context) { argument
31 mContext = context;
/frameworks/support/v4/java/android/support/v4/app/
H A DNavUtils.java45 String getParentActivityName(Context context, ActivityInfo info); argument
84 public String getParentActivityName(Context context, ActivityInfo info) { argument
89 parentActivity = context.getPackageName() + parentActivity;
123 public String getParentActivityName(Context context, ActivityInfo info) { argument
126 result = super.getParentActivityName(context, info);
223 * @param context Context for looking up the activity component for sourceActivityClass
228 public static Intent getParentActivityIntent(Context context, Class<?> sourceActivityClass) argument
230 String parentActivity = getParentActivityName(context,
231 new ComponentName(context, sourceActivityClass));
235 final ComponentName target = new ComponentName(context, parentActivit
253 getParentActivityIntent(Context context, ComponentName componentName) argument
295 getParentActivityName(Context context, ComponentName componentName) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DContentLoadingProgressBar.java64 public ContentLoadingProgressBar(Context context) { argument
65 this(context, null);
68 public ContentLoadingProgressBar(Context context, AttributeSet attrs) { argument
69 super(context, attrs, 0);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DActionBarPolicy.java35 public static ActionBarPolicy get(Context context) { argument
36 return new ActionBarPolicy(context);
39 private ActionBarPolicy(Context context) { argument
40 mContext = context;
/frameworks/base/core/java/android/preference/
H A DSwitchPreference.java61 * @param context The Context that will style this preference
65 public SwitchPreference(Context context, AttributeSet attrs, int defStyle) { argument
66 super(context, attrs, defStyle);
68 TypedArray a = context.obtainStyledAttributes(attrs,
84 * @param context The Context that will style this preference
87 public SwitchPreference(Context context, AttributeSet attrs) { argument
88 this(context, attrs, com.android.internal.R.attr.switchPreferenceStyle);
94 * @param context The Context that will style this preference
96 public SwitchPreference(Context context) { argument
97 this(context, nul
[all...]
/frameworks/base/core/java/android/widget/
H A DToggleButton.java50 public ToggleButton(Context context, AttributeSet attrs, int defStyle) { argument
51 super(context, attrs, defStyle);
54 context.obtainStyledAttributes(
63 public ToggleButton(Context context, AttributeSet attrs) { argument
64 this(context, attrs, com.android.internal.R.attr.buttonStyleToggle);
67 public ToggleButton(Context context) { argument
68 this(context, null);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DSaturateFilter.java88 public void initProgram(FilterContext context, int target) { argument
91 ShaderProgram shaderProgram = new ShaderProgram(context, mBenSaturateShader);
95 shaderProgram = new ShaderProgram(context, mHerfSaturateShader);
109 public void fieldPortValueUpdated(String name, FilterContext context) { argument
116 public void process(FilterContext context) { argument
123 initProgram(context, inputFormat.getTarget());
128 Frame output = context.getFrameManager().newFrame(inputFormat);
/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);
342 GLint getShaderVariableLocation(GLTraceContext *context, GLMessage *glmsg, GLchar *name) { argument
351 return context->hooks->gl.glGetAttribLocation(program, name);
353 return context->hooks->gl.glGetUniformLocation(program, name);
357 void fixup_glGetActiveAttribOrUniform(GLTraceContext *context, GLMessage *glmsg, argument
375 GLint location = getShaderVariableLocation(context, glmsg, (GLchar*)pointersToFixup[3]);
382 GLint glGetInteger(GLTraceContext *context, GLenum param) { argument
384 context->hooks->gl.glGetIntegerv(param, &x);
388 GLint glGetVertexAttrib(GLTraceContext *context, GLuin argument
394 isUsingArrayBuffers(GLTraceContext *context) argument
398 isUsingElementArrayBuffers(GLTraceContext *context) argument
411 fixup_glBufferData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
430 fixup_glBufferSubData(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
469 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
566 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
593 trace_VertexAttribPointerDataForGlDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
609 trace_VertexAttribPointerDataForGlDrawElements(GLTraceContext *context, GLMessage *glmsg, GLvoid *indices) argument
647 fixup_glDrawArrays(GLTraceContext *context, GLMessage *glmsg) argument
657 fixup_glDrawElements(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) argument
689 fixupGLMessage(GLTraceContext *context, nsecs_t wallStart, nsecs_t wallEnd, nsecs_t threadStart, nsecs_t threadEnd, GLMessage *glmsg, void *pointersToFixup[]) argument
[all...]
/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();
79 /* package */ void setTheme(Context context, boolean dark) { argument
80 Resources res = context.getResources();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java49 public ActionBarOverlayLayout(Context context) { argument
50 super(context);
51 init(context);
54 public ActionBarOverlayLayout(Context context, AttributeSet attrs) { argument
55 super(context, attrs);
56 init(context);
59 private void init(Context context) { argument

Completed in 923 milliseconds

1234567891011>>