Searched defs:context (Results 101 - 125 of 2663) sorted by relevance

1234567891011>>

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DLiftToActivateListener.java34 public LiftToActivateListener(Context context) { argument
35 mAccessibilityManager = (AccessibilityManager) context.getSystemService(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DWirelessUtils.java23 public static boolean isRadioAllowed(Context context, String type) { argument
24 if (!isAirplaneModeOn(context)) {
27 String toggleable = Settings.Global.getString(context.getContentResolver(),
32 public static boolean isAirplaneModeOn(Context context) { argument
33 return Settings.Global.getInt(context.getContentResolver(),
/frameworks/base/packages/Shell/src/com/android/shell/
H A DRemoteBugreportReceiver.java52 public void onReceive(Context context, Intent intent) { argument
57 final Uri bugreportUri = getUri(context, bugreportFile);
64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSysUIToast.java24 public static Toast makeText(Context context, CharSequence text, int duration) { argument
25 Toast toast = Toast.makeText(context, text, duration);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DNonInterceptingScrollView.java27 public NonInterceptingScrollView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/component/
H A DRecentsVisibilityChangedEvent.java32 public RecentsVisibilityChangedEvent(Context context, boolean visible) { argument
33 this.applicationContext = context.getApplicationContext();
H A DScreenPinningRequestEvent.java31 public ScreenPinningRequestEvent(Context context, int taskId) { argument
32 this.applicationContext = context.getApplicationContext();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotServiceErrorReceiver.java33 public void onReceive(final Context context, Intent intent) { argument
36 context.getSystemService(Context.NOTIFICATION_SERVICE);
37 GlobalScreenshot.notifyScreenshotError(context, nm,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAlphaImageView.java28 public AlphaImageView(Context context) { argument
29 super(context);
32 public AlphaImageView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
40 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
41 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedButton.java27 public AlphaOptimizedButton(Context context) { argument
28 super(context);
31 public AlphaOptimizedButton(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
36 super(context, attrs, defStyleAttr);
39 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr, argument
41 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedFrameLayout.java29 public AlphaOptimizedFrameLayout(Context context) { argument
30 super(context);
33 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
41 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedImageView.java29 public AlphaOptimizedImageView(Context context) { argument
30 this(context, null /* attrs */);
33 public AlphaOptimizedImageView(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0 /* defStyleAttr */);
37 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 this(context, attrs, defStyleAttr, 0 /* defStyleRes */);
41 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedView.java29 public AlphaOptimizedView(Context context) { argument
30 super(context);
33 public AlphaOptimizedView(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
41 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
H A DEmptyShadeView.java29 public EmptyShadeView(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
H A DKeyboardShortcutsReceiver.java27 public void onReceive(Context context, Intent intent) { argument
29 KeyboardShortcuts.show(context, -1 /* deviceId unknown */);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DAutoScrollView.java27 public AutoScrollView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDrmReceiver.java34 public void onReceive(Context context, Intent intent) { argument
/frameworks/base/services/core/java/com/android/server/
H A DContextHubSystemService.java27 public ContextHubSystemService(Context context) { argument
28 super(context);
29 mContextHubService = new ContextHubService(context);
/frameworks/base/services/core/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/services/core/java/com/android/server/updates/
H A DApnDbInstallReceiver.java36 protected void postInstall(Context context, Intent intent) { argument
37 ContentResolver resolver = context.getContentResolver();
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTestable.java27 public DevicePolicyManagerTestable(DpmMockContext context, argument
29 super(context, dpms, /* parentInstance = */ false);
35 return UserHandle.getUserId(dpms.context.binder.callingUid);
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DAlarmSpamReceiver.java28 public void onReceive(Context context, Intent intent) { argument
H A DSingleUserReceiver.java28 public void onReceive(Context context, Intent intent) { argument
H A DStartEmpty.java26 public void onReceive(Context context, Intent intent) { argument

Completed in 580 milliseconds

1234567891011>>