Searched refs:context (Results 76 - 100 of 2662) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java53 * @param context The Context in which the receiver is running.
57 public void onReceive(Context context, Intent intent) { argument
66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
73 this.onDeleted(context, new int[] { appWidgetId });
81 this.onAppWidgetOptionsChanged(context, AppWidgetManager.getInstance(context),
85 this.onEnabled(context);
87 this.onDisabled(context);
94 this.onRestored(context, oldId
120 onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) argument
138 onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) argument
155 onDeleted(Context context, int[] appWidgetIds) argument
174 onEnabled(Context context) argument
189 onDisabled(Context context) argument
209 onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DNavigationBar.java44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, argument
46 this(context, density, orientation, isRtl, rtlEnabled, simulatedPlatformVersion,
47 getShortestWidth(context)>= 600 ? LAYOUT_600DP_XML : LAYOUT_XML);
50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, argument
52 super(context, orientation, layoutPath, "navigation_bar.xml", simulatedPlatformVersion);
75 setupNavBar(context, orientation);
78 private void setupNavBar(BridgeContext context, int orientation) { argument
79 float sw = getShortestWidth(context);
82 setSize(context, leftPadding, orientation, getSidePadding(sw));
83 setSize(context, rightPaddin
95 setSize(BridgeContext context, View view, int orientation, int size) argument
126 getShortestWidth(BridgeContext context) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java373 public DevicePolicyManager getManager(Context context) { argument
377 mManager = (DevicePolicyManager)context.getSystemService(
387 public ComponentName getWho(Context context) { argument
391 mWho = new ComponentName(context, getClass());
405 * @param context The running context as per {@link #onReceive}.
408 public void onEnabled(Context context, Intent intent) { argument
417 * @param context The running context as per {@link #onReceive}.
422 public CharSequence onDisableRequested(Context context, Inten argument
434 onDisabled(Context context, Intent intent) argument
445 onPasswordChanged(Context context, Intent intent) argument
456 onPasswordFailed(Context context, Intent intent) argument
467 onPasswordSucceeded(Context context, Intent intent) argument
488 onPasswordExpiring(Context context, Intent intent) argument
513 onProfileProvisioningComplete(Context context, Intent intent) argument
526 onReadyForUserInitialization(Context context, Intent intent) argument
536 onLockTaskModeEntering(Context context, Intent intent, String pkg) argument
545 onLockTaskModeExiting(Context context, Intent intent) argument
561 onChoosePrivateKeyAlias(Context context, Intent intent, int uid, Uri uri, String alias) argument
579 onSystemUpdatePending(Context context, Intent intent, long receivedTime) argument
591 onBugreportSharingDeclined(Context context, Intent intent) argument
606 onBugreportShared(Context context, Intent intent, String bugreportHash) argument
621 onBugreportFailed(Context context, Intent intent, @BugreportFailureCode int failureCode) argument
634 onSecurityLogsAvailable(Context context, Intent intent) argument
643 onReceive(Context context, Intent intent) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java54 * @param context Context for accessing system resources.
57 public static boolean isRotationSupported(Context context) { argument
58 PackageManager pm = context.getPackageManager();
62 && context.getResources().getBoolean(
74 public static int getRotationLockOrientation(Context context) { argument
75 if (!areAllRotationsAllowed(context)) {
92 public static boolean isRotationLockToggleVisible(Context context) { argument
93 return isRotationSupported(context) &&
94 Settings.System.getIntForUser(context.getContentResolver(),
102 public static boolean isRotationLocked(Context context) { argument
110 setRotationLock(Context context, final boolean enabled) argument
124 setRotationLockForAccessibility(Context context, final boolean enabled) argument
132 areAllRotationsAllowed(Context context) argument
157 registerRotationPolicyListener(Context context, RotationPolicyListener listener) argument
166 registerRotationPolicyListener(Context context, RotationPolicyListener listener, int userHandle) argument
179 unregisterRotationPolicyListener(Context context, RotationPolicyListener listener) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java31 public PasswordEntryKeyboardView(Context context, AttributeSet attrs) { argument
32 this(context, attrs, 0);
35 public PasswordEntryKeyboardView(Context context, AttributeSet attrs, int defStyleAttr) { argument
36 this(context, attrs, defStyleAttr, 0);
40 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
41 super(context, attrs, defStyleAttr, defStyleRes);
39 PasswordEntryKeyboardView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DExceptionTextView.java36 public ExceptionTextView(Context context) { argument
37 super(context);
40 public ExceptionTextView(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSeekBar.java28 public ToggleSeekBar(Context context) { argument
29 super(context);
32 public ToggleSeekBar(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public ToggleSeekBar(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
/frameworks/base/telecomm/java/android/telecom/
H A DDefaultDialerManager.java50 public static boolean setDefaultDialerApplication(Context context, String packageName) { argument
51 return setDefaultDialerApplication(context, packageName, ActivityManager.getCurrentUser());
64 public static boolean setDefaultDialerApplication(Context context, String packageName, argument
67 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
76 List<String> packageNames = getInstalledDialerApplications(context);
80 Settings.Secure.putStringForUser(context.getContentResolver(),
100 public static String getDefaultDialerApplication(Context context) { argument
101 return getDefaultDialerApplication(context, context.getUserId());
117 public static String getDefaultDialerApplication(Context context, in argument
154 getInstalledDialerApplications(Context context, int userId) argument
176 getInstalledDialerApplications(Context context) argument
192 isDefaultOrSystemDialer(Context context, String packageName) argument
209 filterByIntent(Context context, List<String> packageNames, Intent intent) argument
231 getTelecomManager(Context context) argument
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DMainView.java28 public MainView(Context context) { argument
29 super(context);
32 public MainView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public MainView(Context context, AttributeSet attrs, int defStyle) { argument
37 super(context, attrs, defStyle);
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java38 * @param context A Context object used to access application assets.
40 public MapView(Context context) { argument
41 this(context, null);
46 * @param context A Context object used to access application assets.
49 public MapView(Context context, AttributeSet attrs) { argument
50 this(context, attrs, com.android.internal.R.attr.mapViewStyle);
55 * @param context A Context object used to access application assets.
59 public MapView(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputEditText.java34 public TextInputEditText(Context context) { argument
35 super(context);
38 public TextInputEditText(Context context, AttributeSet attrs) { argument
39 super(context, attrs);
42 public TextInputEditText(Context context, AttributeSet attrs, int defStyleAttr) { argument
43 super(context, attrs, defStyleAttr);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBrowseRowsFrameLayout.java29 public BrowseRowsFrameLayout(Context context) { argument
30 this(context ,null);
33 public BrowseRowsFrameLayout(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public BrowseRowsFrameLayout(Context context, AttributeSet attrs, argument
39 super(context, attrs, defStyle);
H A DCheckableImageView.java30 public CheckableImageView(Context context) { argument
31 this(context, null);
34 public CheckableImageView(Context context, AttributeSet attrs) { argument
35 this(context, attrs, 0);
38 public CheckableImageView(Context context, AttributeSet attrs, int defStyleAttr) { argument
39 super(context, attrs, defStyleAttr);
H A DGuidedActionItemContainer.java30 public GuidedActionItemContainer(Context context) { argument
31 this(context, null);
34 public GuidedActionItemContainer(Context context, AttributeSet attrs) { argument
35 this(context, attrs, 0);
38 public GuidedActionItemContainer(Context context, AttributeSet attrs, int defStyle) { argument
39 super(context, attrs, defStyle);
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackSettingsRootView.java32 public LeanbackSettingsRootView(Context context) { argument
33 super(context);
36 public LeanbackSettingsRootView(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
40 public LeanbackSettingsRootView(Context context, AttributeSet attrs, int defStyleAttr) { argument
41 super(context, attrs, defStyleAttr);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatSeekBar.java36 public AppCompatSeekBar(Context context) { argument
37 this(context, null);
40 public AppCompatSeekBar(Context context, AttributeSet attrs) { argument
41 this(context, attrs, R.attr.seekBarStyle);
44 public AppCompatSeekBar(Context context, AttributeSet attrs, int defStyleAttr) { argument
45 super(context, attrs, defStyleAttr);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
H A DCustomDrawerLayout.java29 public CustomDrawerLayout(Context context) { argument
30 super(context);
33 public CustomDrawerLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public CustomDrawerLayout(Context context, AttributeSet attrs, int defStyle) { argument
38 super(context, attrs, defStyle);
H A DFitWindowsContentLayout.java29 public FitWindowsContentLayout(Context context) { argument
30 super(context);
33 public FitWindowsContentLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public FitWindowsContentLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAlphaBlendFilter.java48 protected Program getNativeProgram(FilterContext context) { argument
53 protected Program getShaderProgram(FilterContext context) { argument
54 return new ShaderProgram(context, mAlphaBlendShader);
H A DBlendFilter.java48 protected Program getNativeProgram(FilterContext context) { argument
53 protected Program getShaderProgram(FilterContext context) { argument
54 return new ShaderProgram(context, mBlendShader);
H A DBrightnessFilter.java45 protected Program getNativeProgram(FilterContext context) { argument
50 protected Program getShaderProgram(FilterContext context) { argument
51 return new ShaderProgram(context, mBrightnessShader);
H A DContrastFilter.java48 protected Program getNativeProgram(FilterContext context) { argument
53 protected Program getShaderProgram(FilterContext context) { argument
54 return new ShaderProgram(context, mContrastShader);
/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/packages/Shell/src/com/android/shell/
H A DBugreportPrefs.java36 static int getWarningState(Context context, int def) { argument
37 final SharedPreferences prefs = context.getSharedPreferences(
42 static void setWarningState(Context context, int value) { argument
43 final SharedPreferences prefs = context.getSharedPreferences(
/frameworks/base/services/core/java/com/android/server/notification/
H A DPropConfig.java25 public static int getInt(Context context, String propName, int resId) { argument
26 return SystemProperties.getInt(propName, context.getResources().getInteger(resId));
29 public static String[] getStringArray(Context context, String propName, int resId) { argument
31 return !UNSET.equals(prop) ? prop.split(",") : context.getResources().getStringArray(resId);

Completed in 433 milliseconds

1234567891011>>