/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | NotificationArea.java | 27 public NotificationArea(Context context, AttributeSet attrs) { argument 28 super(context, attrs);
|
/frameworks/base/services/java/com/android/server/ |
H A D | SamplingProfilerService.java | 45 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();
|
/frameworks/base/telephony/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | MockView.java | 33 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 D | FakeActionBar.java | 30 public FakeActionBar(Context context, Density density, String label, String icon) argument 32 super(context, density, "/bars/action_bar.xml", "action_bar.xml");
|
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteActionProvider.java | 43 public MediaRouteActionProvider(Context context) { argument 44 super(context); 45 mContext = context; 46 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); 109 Context context = mContext; 110 while (context instanceof ContextWrapper && !(context instanceof Activity)) { 111 context = ((ContextWrapper) context).getBaseContext(); 113 if (!(context instanceo [all...] |
H A D | PendingIntent.java | 170 * Note that the activity will be started outside of the context of an 174 * @param context The Context in which this PendingIntent should start 189 public static PendingIntent getActivity(Context context, int requestCode, argument 191 return getActivity(context, requestCode, intent, flags, null); 197 * Note that the activity will be started outside of the context of an 201 * @param context The Context in which this PendingIntent should start 218 public static PendingIntent getActivity(Context context, int requestCode, argument 220 String packageName = context.getPackageName(); 222 context.getContentResolver()) : null; 246 * The <em>first</em> intent in the array will be started outside of the context o 278 getActivities(Context context, int requestCode, Intent[] intents, int flags) argument 324 getActivities(Context context, int requestCode, Intent[] intents, int flags, Bundle options) argument 362 getBroadcast(Context context, int requestCode, Intent intent, int flags) argument 401 getService(Context context, int requestCode, Intent intent, int flags) argument 482 send(Context context, int code, Intent intent) argument 539 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument 580 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/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/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/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 | 52 public RSSurfaceView(Context context) { argument 53 super(context); 64 public RSSurfaceView(Context context, AttributeSet attrs) { argument 65 super(context, attrs);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 224 * more context about the server requesting the credentials. 229 * @param activity The {@link Activity} context to use for 300 public static PrivateKey getPrivateKey(Context context, String alias) argument 305 KeyChainConnection keyChainConnection = bind(context); 335 public static X509Certificate[] getCertificateChain(Context context, String alias) argument 340 KeyChainConnection keyChainConnection = bind(context); 387 private final Context context; field in class:KeyChain.KeyChainConnection 390 private KeyChainConnection(Context context, argument 393 this.context = context; 410 bind(Context context) argument 439 ensureNotOnMainThread(Context context) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | GLTextureSource.java | 69 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 D | ObjectSource.java | 57 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AnimatedImageView.java | 33 public AnimatedImageView(Context context) { argument 34 super(context); 37 public AnimatedImageView(Context context, AttributeSet attrs) { argument 38 super(context, attrs);
|
H A D | DoNotDisturb.java | 35 public DoNotDisturb(Context context) { argument 36 mContext = context; 37 mStatusBar = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); 38 mPrefs = Prefs.read(context);
|