/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
H A D | AccessibleLinearLayout.java | 31 public AccessibleLinearLayout(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
H A D | AccessibleTextView.java | 31 public AccessibleTextView(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneFactory.java | 34 * @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/support/v4/jellybean/android/support/v4/app/ |
H A D | ActivityCompatJB.java | 25 public static void startActivity(Context context, Intent intent, Bundle options) { argument 26 context.startActivity(intent, options);
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/ |
H A D | DisplayManagerJellybeanMr1.java | 23 public static Object getDisplayManager(Context context) { argument 24 return context.getSystemService(Context.DISPLAY_SERVICE);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemServer.java | 144 Context context = null; 195 context = ActivityManagerService.main(factoryTest); 212 display = new DisplayManagerService(context, wmHandler); 216 telephonyRegistry = new TelephonyRegistry(context); 222 AttributeCache.init(context); 240 pm = PackageManagerService.main(context, installer, 251 ServiceManager.addService("entropy", new EntropyMixer(context)); 257 mContentResolver = context.getContentResolver(); 263 accountManager = new AccountManagerService(context); 270 contentService = ContentService.main(context, 1078 startSystemUi(Context context) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteActionProvider.java | 44 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 D | PendingIntent.java | 199 * Note that the activity will be started outside of the context of an 208 * @param context The Context in which this PendingIntent should start 222 public static PendingIntent getActivity(Context context, int requestCode, argument 224 return getActivity(context, requestCode, intent, flags, null); 230 * Note that the activity will be started outside of the context of an 239 * @param context The Context in which this PendingIntent should start 255 public static PendingIntent getActivity(Context context, int requestCode, argument 257 String packageName = context.getPackageName(); 259 context.getContentResolver()) : null; 280 public static PendingIntent getActivityAsUser(Context context, in argument 345 getActivities(Context context, int requestCode, Intent[] intents, int flags) argument 395 getActivities(Context context, int requestCode, Intent[] intents, int flags, Bundle options) argument 421 getActivitiesAsUser(Context context, int requestCode, Intent[] intents, int flags, Bundle options, UserHandle user) argument 465 getBroadcast(Context context, int requestCode, Intent intent, int flags) argument 476 getBroadcastAsUser(Context context, int requestCode, Intent intent, int flags, UserHandle userHandle) argument 519 getService(Context context, int requestCode, Intent intent, int flags) argument 600 send(Context context, int code, Intent intent) argument 657 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument 698 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SimpleCursorTreeAdapter.java | 72 * @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...] |
H A D | ImageSwitcher.java | 29 public ImageSwitcher(Context context) argument 31 super(context); 34 public ImageSwitcher(Context context, AttributeSet attrs) { argument 35 super(context, attrs);
|
H A D | TextSwitcher.java | 39 * @param context the application's environment 41 public TextSwitcher(Context context) { argument 42 super(context); 46 * Creates a new empty TextSwitcher for the given context and with the 49 * @param context the application environment 52 public TextSwitcher(Context context, AttributeSet attrs) { argument 53 super(context, attrs);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | ListViewTest.java | 42 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 D | BiDiTestGridLayoutCodeLtr.java | 48 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 D | BiDiTestGridLayoutCodeRtl.java | 48 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/base/keystore/java/android/security/ |
H A D | KeyChain.java | 221 * more context about the server requesting the credentials. 226 * @param activity The {@link Activity} context to use for 297 public static PrivateKey getPrivateKey(Context context, String alias) argument 302 KeyChainConnection keyChainConnection = bind(context); 332 public static X509Certificate[] getCertificateChain(Context context, String alias) argument 337 KeyChainConnection keyChainConnection = bind(context); 405 private final Context context; field in class:KeyChain.KeyChainConnection 408 private KeyChainConnection(Context context, argument 411 this.context = context; 428 bind(Context context) argument 460 ensureNotOnMainThread(Context context) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 107 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/support/v13/java/android/support/v13/app/ |
H A D | FragmentTabHost.java | 69 public DummyTabFactory(Context context) { argument 70 mContext = context; 119 public FragmentTabHost(Context context) { argument 122 super(context, null); 123 initFragmentTabHost(context, null); 126 public FragmentTabHost(Context context, AttributeSet attrs) { argument 127 super(context, attrs); 128 initFragmentTabHost(context, attrs); 131 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument 132 TypedArray a = context 140 ensureHierarchy(Context context) argument 179 setup(Context context, FragmentManager manager) argument 187 setup(Context context, FragmentManager manager, int containerId) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentTabHost.java | 77 public DummyTabFactory(Context context) { argument 78 mContext = context; 127 public FragmentTabHost(Context context) { argument 130 super(context, null); 131 initFragmentTabHost(context, null); 134 public FragmentTabHost(Context context, AttributeSet attrs) { argument 135 super(context, attrs); 136 initFragmentTabHost(context, attrs); 139 private void initFragmentTabHost(Context context, AttributeSet attrs) { argument 140 TypedArray a = context 148 ensureHierarchy(Context context) argument 187 setup(Context context, FragmentManager manager) argument 195 setup(Context context, FragmentManager manager, int containerId) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FileBackupHelper.java | 50 * @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();
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateDecelerateInterpolator.java | 32 public AccelerateDecelerateInterpolator(Context context, AttributeSet attrs) { argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | FaceUnlockView.java | 28 public FaceUnlockView(Context context) { argument 29 this(context, null); 32 public FaceUnlockView(Context context, AttributeSet attrs) { argument 33 super(context, attrs);
|
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
H A D | DisabledReceiver.java | 29 public void onReceive(Context context, Intent intent) { argument
|
H A D | EnabledReceiver.java | 29 public void onReceive(Context context, Intent intent) { argument
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | PreDrawListener.java | 45 public MyLinearLayout(Context context, AttributeSet attrs) { argument 46 super(context, attrs); 49 public MyLinearLayout(Context context) { argument 50 super(context);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSSurfaceView.java | 53 public RSSurfaceView(Context context) { argument 54 super(context); 65 public RSSurfaceView(Context context, AttributeSet attrs) { argument 66 super(context, attrs);
|