Searched refs:context (Results 151 - 175 of 1275) 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);
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java99 * @param context The current context.
103 public ArrayAdapter(Context context, int textViewResourceId) { argument
104 init(context, textViewResourceId, 0, new ArrayList<T>());
110 * @param context The current context.
115 public ArrayAdapter(Context context, int resource, int textViewResourceId) { argument
116 init(context, resource, textViewResourceId, new ArrayList<T>());
122 * @param context The current context
127 ArrayAdapter(Context context, int textViewResourceId, T[] objects) argument
140 ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) argument
152 ArrayAdapter(Context context, int textViewResourceId, List<T> objects) argument
165 ArrayAdapter(Context context, int resource, int textViewResourceId, List<T> objects) argument
308 init(Context context, int resource, int textViewResourceId, List<T> objects) argument
428 createFromResource(Context context, int textArrayResId, int textViewResId) argument
[all...]
H A DSimpleCursorTreeAdapter.java72 * @param context The context where the {@link ExpandableListView}
102 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
105 super(context, cursor, collapsedGroupLayout, expandedGroupLayout, childLayout,
113 * @param context The context where the {@link ExpandableListView}
139 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
142 super(context, cursor, collapsedGroupLayout, expandedGroupLayout, childLayout);
149 * @param context The context wher
172 SimpleCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, String[] groupFrom, int[] groupTo, int childLayout, String[] childFrom, int[] childTo) argument
212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument
248 bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) argument
258 bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DSamplingProfilerService.java45 public SamplingProfilerService(Context context) { argument
46 mContext = context;
47 registerSettingObserver(context);
48 startWorking(context);
51 private void startWorking(Context context) { argument
55 (DropBoxManager) context.getSystemService(Context.DROPBOX_SERVICE);
90 private void registerSettingObserver(Context context) { argument
91 ContentResolver contentResolver = context.getContentResolver();
H A DSystemServer.java141 Context context = null;
218 context = ActivityManagerService.main(factoryTest);
221 display = new DisplayManagerService(context, wmHandler, uiHandler);
225 telephonyRegistry = new TelephonyRegistry(context);
232 AttributeCache.init(context);
250 pm = PackageManagerService.main(context, installer,
266 mContentResolver = context.getContentResolver();
271 accountManager = new AccountManagerService(context);
278 contentService = ContentService.main(context,
285 lights = new LightsService(context);
1004 startSystemUi(Context context) argument
[all...]
/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 DFakeActionBar.java31 public FakeActionBar(Context context, Density density, String label, String icon) argument
33 super(context, density, LinearLayout.HORIZONTAL, "/bars/action_bar.xml", "action_bar.xml");
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");
H A DTitleBar.java31 public TitleBar(Context context, Density density, String label) argument
33 super(context, density, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneFactory.java34 * @param context {@code Context} needed to create a Phone object
39 public static SipPhone makePhone(String sipUri, Context context, argument
43 return new SipPhone(context, phoneNotifier, profile);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGraphRunner.java49 public GraphRunner(FilterContext context) { argument
50 mFilterContext = context;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameStore.java43 public void process(FilterContext context) { argument
48 context.storeFrame(mKey, input);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DLatestItemView.java26 public LatestItemView(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCloseDragHandle.java28 public CloseDragHandle(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
H A DQuickSettingsTileView.java33 public QuickSettingsTileView(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
H A DTickerView.java28 public TickerView(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationArea.java27 public NotificationArea(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java44 public MediaRouteActionProvider(Context context) { argument
45 super(context);
46 mContext = context;
47 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
113 Context context = mContext;
114 while (context instanceof ContextWrapper && !(context instanceof Activity)) {
115 context = ((ContextWrapper) context).getBaseContext();
117 if (!(context instanceo
[all...]
H A DPendingIntent.java199 * Note that the activity will be started outside of the context of an
203 * @param context The Context in which this PendingIntent should start
218 public static PendingIntent getActivity(Context context, int requestCode, argument
220 return getActivity(context, requestCode, intent, flags, null);
226 * Note that the activity will be started outside of the context of an
230 * @param context The Context in which this PendingIntent should start
247 public static PendingIntent getActivity(Context context, int requestCode, argument
249 String packageName = context.getPackageName();
251 context.getContentResolver()) : null;
271 public static PendingIntent getActivityAsUser(Context context, in argument
331 getActivities(Context context, int requestCode, Intent[] intents, int flags) argument
377 getActivities(Context context, int requestCode, Intent[] intents, int flags, Bundle options) argument
402 getActivitiesAsUser(Context context, int requestCode, Intent[] intents, int flags, Bundle options, UserHandle user) argument
441 getBroadcast(Context context, int requestCode, Intent intent, int flags) argument
452 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument
491 getService(Context context, int requestCode, Intent intent, int flags) argument
572 send(Context context, int code, Intent intent) argument
629 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument
670 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java42 MockContext context = new MockContext2();
43 ListView listView = new ListView(context);
45 Adapter<String> adapter = new Adapter<String>(context, 0, items);
70 MockContext context = new MockContext2();
71 ListView listView = new ListView(context);
73 listView.addHeaderView(new View(context), null, false);
75 Adapter<String> adapter = new Adapter<String>(context, 0, items);
118 public MockView(Context context) { argument
119 super(context);
131 public Adapter(Context context, in argument
[all...]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestGridLayoutCodeLtr.java48 public static View create(Context context) { argument
49 GridLayout layout = new GridLayout(context);
72 TextView c = new TextView(context);
78 TextView c = new TextView(context);
84 TextView c = new TextView(context);
89 EditText c = new EditText(context);
95 TextView c = new TextView(context);
100 TextView c = new EditText(context);
106 Space c = new Space(context);
110 Button c = new Button(context);
[all...]
H A DBiDiTestGridLayoutCodeRtl.java48 public static View create(Context context) { argument
49 GridLayout layout = new GridLayout(context);
72 TextView c = new TextView(context);
78 TextView c = new TextView(context);
84 TextView c = new TextView(context);
89 EditText c = new EditText(context);
95 TextView c = new TextView(context);
100 TextView c = new EditText(context);
106 Space c = new Space(context);
110 Button c = new Button(context);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java58 public static void makeDefaultPhones(Context context) { argument
59 makeDefaultPhone(context);
66 public static void makeDefaultPhone(Context context) { argument
70 sContext = context;
109 int networkMode = Settings.Global.getInt(context.getContentResolver(),
131 cdmaSubscription = Settings.Global.getInt(context.getContentResolver(),
140 sCommandsInterface = new RIL(context, networkMode, cdmaSubscription);
143 UiccController.make(context, sCommandsInterface);
148 sProxyPhone = new PhoneProxy(new GSMPhone(context,
154 sProxyPhone = new PhoneProxy(new CDMALTEPhone(context,
[all...]
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp107 const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) {
110 fprintf(pfout, " * The source Renderscript file: %s\n", context.rsFileName);
112 fprintf(pfout, "package %s;\n\n", context.packageName);
120 const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) {
162 const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) {
163 FILE *pfin = fopen(context.bcFileName, "rb");
165 fprintf(stderr, "Error: could not read file %s\n", context.bcFileName);
170 GenerateAccessorMethodSignature(context, pfout);
210 const RSSlangReflectUtils::BitCodeAccessorContext &context,
220 switch (context
106 GenerateAccessorHeader( const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) argument
119 GenerateAccessorMethodSignature( const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) argument
161 GenerateJavaCodeAccessorMethod( const RSSlangReflectUtils::BitCodeAccessorContext &context, FILE *pfout) argument
209 GenerateAccessorClass( const RSSlangReflectUtils::BitCodeAccessorContext &context, const char *clazz_name, FILE *pfout) argument
237 GenerateBitCodeAccessor( const BitCodeAccessorContext &context) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelper.java50 * @param context The backup agent's Context object
53 public FileBackupHelper(Context context, String... files) { argument
54 super(context);
56 mContext = context;
57 mFilesDir = context.getFilesDir();

Completed in 347 milliseconds

1234567891011>>