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

<<11121314151617181920>>

/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/SharedLibrary/client/src/com/google/android/test/lib_client/
H A DDependentAppwidgetProvider.java26 public void onReceive(Context context, Intent intent) { argument
/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/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java31 public SingleRecipientArrayAdapter(Context context, RecipientEntry entry, argument
33 this(context, entry, dropdownChipLayouter, null);
36 public SingleRecipientArrayAdapter(Context context, RecipientEntry entry, argument
38 super(context,
/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.java46 String getParentActivityName(Context context, ActivityInfo info); argument
85 public String getParentActivityName(Context context, ActivityInfo info) { argument
90 parentActivity = context.getPackageName() + parentActivity;
124 public String getParentActivityName(Context context, ActivityInfo info) { argument
127 result = super.getParentActivityName(context, info);
224 * @param context Context for looking up the activity component for sourceActivityClass
229 public static Intent getParentActivityIntent(Context context, Class<?> sourceActivityClass) argument
231 String parentActivity = getParentActivityName(context,
232 new ComponentName(context, sourceActivityClass));
236 final ComponentName target = new ComponentName(context, parentActivit
254 getParentActivityIntent(Context context, ComponentName componentName) argument
298 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/v4/jellybean-mr2/android/support/v4/app/
H A DActionBarDrawerToggleJellybeanMR2.java56 final Context context;
58 context = actionBar.getThemedContext();
60 context = activity;
63 final TypedArray a = context.obtainStyledAttributes(null, THEME_ATTRS,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DSaturateFilter.java85 public void initProgram(FilterContext context, int target) { argument
88 ShaderProgram shaderProgram = new ShaderProgram(context, mBenSaturateShader);
92 shaderProgram = new ShaderProgram(context, mHerfSaturateShader);
106 public void fieldPortValueUpdated(String name, FilterContext context) { argument
113 public void process(FilterContext context) { argument
120 initProgram(context, inputFormat.getTarget());
125 Frame output = context.getFrameManager().newFrame(inputFormat);
/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/v17/leanback/src/android/support/v17/leanback/widget/
H A DRowContainerView.java36 public RowContainerView(Context context) { argument
37 this(context, null, 0);
40 public RowContainerView(Context context, AttributeSet attrs) { argument
41 this(context, attrs, 0);
44 public RowContainerView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
47 LayoutInflater inflater = LayoutInflater.from(context);
/frameworks/testing/uiautomator/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
H A DWakeUpCall.java45 public void onReceive(Context context, Intent intent) { argument
46 AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
73 screenOn(context);
79 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent,
86 am.cancel(PendingIntent.getBroadcast(context, 0, intent, 0));
105 private void screenOn(Context context) { argument
106 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java39 public PreferenceFrameLayout(Context context) { argument
40 this(context, null);
43 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
44 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
47 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
48 this(context, attrs, defStyleAttr, 0);
52 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
53 super(context, attrs, defStyleAttr, defStyleRes);
54 final TypedArray a = context.obtainStyledAttributes(attrs,
57 float density = context
51 PreferenceFrameLayout( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) 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/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java115 public void prepare(FilterContext context) { argument
116 mGlEnv = context.getGLEnvironment();
120 mProgram = ShaderProgram.createIdentity(context);
129 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat,
138 public void open(FilterContext context) { argument
143 public void process(FilterContext context) { argument
162 gpuFrame = context.getFrameManager().duplicateFrameToTarget(input,
184 public void fieldPortValueUpdated(String name, FilterContext context) { argument
190 public void close(FilterContext context) { argument
195 public void tearDown(FilterContext context) { argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DNumPadKey.java69 public NumPadKey(Context context) { argument
70 this(context, null);
73 public NumPadKey(Context context, AttributeSet attrs) { argument
74 this(context, attrs, 0);
77 public NumPadKey(Context context, AttributeSet attrs, int defStyle) { argument
78 super(context, attrs, defStyle);
81 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumPadKey);
91 setOnHoverListener(new LiftToActivateListener(context));
92 setAccessibilityDelegate(new ObscureSpeechDelegate(context));
94 mEnableHaptics = new LockPatternUtils(context)
[all...]
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java70 Context context = new ContextThemeWrapper(getActivity(), getNavbarTheme());
71 inflater = LayoutInflater.from(context);
166 public NavButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
167 super(context, attrs, defStyleAttr, defStyleRes);
170 public NavButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
171 super(context, attrs, defStyleAttr);
174 public NavButton(Context context, AttributeSet attrs) { argument
175 super(context, attrs);
178 public NavButton(Context context) { argument
179 super(context);
[all...]
/frameworks/base/core/java/android/webkit/
H A DPlugin.java46 public void handleClickEvent(Context context); argument
180 public void dispatchClickEvent(Context context) { argument
182 mHandler.handleClickEvent(context);
198 public void handleClickEvent(Context context) { argument
202 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
/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);

Completed in 1903 milliseconds

<<11121314151617181920>>