Searched defs:context (Results 51 - 75 of 1194) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/animation/
H A DCycleInterpolator.java33 public CycleInterpolator(Context context, AttributeSet attrs) { argument
35 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.CycleInterpolator);
H A DDecelerateInterpolator.java43 public DecelerateInterpolator(Context context, AttributeSet attrs) { argument
45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
H A DLinearInterpolator.java31 public LinearInterpolator(Context context, AttributeSet attrs) { argument
H A DOvershootInterpolator.java43 public OvershootInterpolator(Context context, AttributeSet attrs) { argument
44 TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java33 * <pre class="prettyprint">CookieSyncManager.createInstance(context)</pre><p>
62 private CookieSyncManager(Context context) { argument
63 super(context, "CookieSyncManager");
79 * Create a singleton CookieSyncManager within a context
80 * @param context
84 Context context) {
85 if (context == null) {
86 throw new IllegalArgumentException("Invalid context argument");
90 sRef = new CookieSyncManager(context);
83 createInstance( Context context) argument
/frameworks/base/core/java/android/widget/
H A DButton.java98 public Button(Context context) { argument
99 this(context, null);
102 public Button(Context context, AttributeSet attrs) { argument
103 this(context, attrs, com.android.internal.R.attr.buttonStyle);
106 public Button(Context context, AttributeSet attrs, int defStyle) { argument
107 super(context, attrs, defStyle);
H A DCheckBox.java59 public CheckBox(Context context) { argument
60 this(context, null);
63 public CheckBox(Context context, AttributeSet attrs) { argument
64 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
67 public CheckBox(Context context, AttributeSet attrs, int defStyle) { argument
68 super(context, attrs, defStyle);
/frameworks/base/core/java/com/android/internal/policy/
H A DIPolicy.java32 public Window makeNewWindow(Context context); argument
34 public LayoutInflater makeNewLayoutInflater(Context context); argument
38 public FallbackEventHandler makeNewFallbackEventHandler(Context context); argument
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledReceiver.java29 public void onReceive(Context context, Intent intent) { argument
H A DEnabledReceiver.java29 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/services/java/com/android/server/
H A DMasterClearReceiver.java32 public void onReceive(final Context context, final Intent intent) { argument
46 RecoverySystem.rebootWipeUserData(context);
/frameworks/base/services/java/com/android/server/am/
H A DFactoryErrorDialog.java26 public FactoryErrorDialog(Context context, CharSequence msg) { argument
27 super(context);
29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
32 context.getText(com.android.internal.R.string.factorytest_reboot),
H A DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { argument
31 super(context, R.style.Theme_Toast);
39 setTitle(context.getText(R.string.launch_warning_title));
46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager()));
48 text.setText(context.getResources().getString(R.string.launch_warning_replace,
49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
53 text.setText(context.getResources().getString(R.string.launch_warning_original,
54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserReceiver.java28 public void onReceive(Context context, Intent intent) { argument
H A DUserTarget.java29 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
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);
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 DLinearLayoutTest.java28 public ViewGroup create(Context context) { argument
29 LinearLayout container = new LinearLayout(context);
38 View v = create(context, VERTICAL_NAMES[i] + "-" + HORIZONTAL_NAMES[j], 20);
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java33 public void onReceive(Context context, Intent intent) { argument
49 AppWidgetManager gm = AppWidgetManager.getInstance(context);
50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
/frameworks/base/tools/layoutlib/bridge/src/android/app/
H A DFragment_Delegate.java53 /*package*/ static Fragment instantiate(Context context, String fname) { argument
54 return instantiate(context, fname, null);
61 * @param context The calling context being used to instantiate the fragment.
72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandlerThread_Delegate.java41 public static void cleanUp(BridgeContext context) { argument
42 List<HandlerThread> list = sThreads.get(context);
49 sThreads.remove(context);
58 BridgeContext context = RenderAction.getCurrentContext();
59 List<HandlerThread> list = sThreads.get(context);
62 sThreads.put(context, list);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java36 public SurfaceView(Context context) { argument
37 this(context, null);
40 public SurfaceView(Context context, AttributeSet attrs) { argument
41 this(context, attrs , 0);
44 public SurfaceView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java33 public MockView(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DNavigationBar.java29 public NavigationBar(Context context, Density density, int orientation) throws XmlPullParserException { argument
30 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml");

Completed in 2013 milliseconds

1234567891011>>