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

1234567891011>>

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileStarredView.java27 public ContactTileStarredView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DLayoutSuppressingImageView.java31 public LayoutSuppressingImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
H A DLayoutSuppressingQuickContactBadge.java31 public LayoutSuppressingQuickContactBadge(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
/packages/apps/Dialer/src/com/android/dialer/util/
H A DOrientationUtil.java28 * @return if the context is in landscape orientation.
30 public static boolean isLandscape(Context context) { argument
31 return context.getResources().getConfiguration().orientation
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DTempDirectory.java30 public static void setTempDirectory(Context context) { argument
31 sTempDirectory = context.getCacheDir();
38 "If in a unit test, call Email.setTempDirectory(context) in setUp().");
/packages/apps/Email/src/com/android/email/provider/
H A DAccountBackupRestore.java47 public static void backup(Context context) { argument
48 ContentResolver resolver = context.getContentResolver();
/packages/apps/Email/src/com/android/email/service/
H A DEmailBroadcastReceiver.java28 public void onReceive(Context context, Intent intent) { argument
29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
/packages/apps/Exchange/exchange2/src/com/android/exchange/service/
H A DExchangeBroadcastReceiver.java28 public void onReceive(Context context, Intent intent) { argument
29 ExchangeBroadcastProcessorService.processBroadcastIntent(context, intent);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHandleView.java35 public HandleView(Context context) { argument
36 super(context);
39 public HandleView(Context context, AttributeSet attrs) { argument
40 this(context, attrs, 0);
43 public HandleView(Context context, AttributeSet attrs, int defStyle) { argument
44 super(context, attrs, defStyle);
46 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.HandleView, defStyle, 0);
50 setContentDescription(context.getString(R.string.all_apps_button_label));
H A DHolographicLinearLayout.java36 public HolographicLinearLayout(Context context) { argument
37 this(context, null);
40 public HolographicLinearLayout(Context context, AttributeSet attrs) { argument
41 this(context, attrs, 0);
44 public HolographicLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
47 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.HolographicLinearLayout,
53 mHolographicHelper = new HolographicViewHelper(context);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DPrivilegedSmsReceiver.java29 public void onReceive(Context context, Intent intent) { argument
32 onReceiveWithPrivilege(context, intent, true);
H A DSmsReceiver.java43 public void onReceive(Context context, Intent intent) { argument
44 onReceiveWithPrivilege(context, intent, false);
47 protected void onReceiveWithPrivilege(Context context, Intent intent, boolean privileged) { argument
56 intent.setClass(context, SmsReceiverService.class);
58 beginStartingService(context, intent);
71 public static void beginStartingService(Context context, Intent intent) { argument
75 (PowerManager)context.getSystemService(Context.POWER_SERVICE);
81 context.startService(intent);
/packages/apps/Mms/src/com/android/mms/ui/
H A DChipsRecipientAdapter.java27 public ChipsRecipientAdapter(Context context) { argument
30 super(context, DEFAULT_PREFERRED_MAX_RESULT_COUNT, QUERY_TYPE_PHONE);
/packages/apps/Settings/src/com/android/settings/
H A DProgressCategoryBase.java24 public ProgressCategoryBase(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
H A DWarnedListPreference.java24 public WarnedListPreference(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothProgressCategory.java26 public BluetoothProgressCategory(Context context, AttributeSet attrs) { argument
27 super(context, attrs, R.string.bluetooth_no_devices_found);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DEffectType.java38 * @param context The context
43 public static EffectType[] getEffects(Context context, int category) { argument
50 context.getString(R.string.effect_pan_zoom), EFFECT_KEN_BURNS);
52 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT);
54 context.getString(R.string.effect_sepia), EFFECT_COLOR_SEPIA);
56 context.getString(R.string.effect_negative), EFFECT_COLOR_NEGATIVE);
63 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT);
65 context.getString(R.string.effect_sepia), EFFECT_COLOR_SEPIA);
67 context
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DFeedbackUtils.java27 public static void showFeedbackForm(Context context) { argument
34 public static Intent getAboutKeyboardIntent(Context context) { argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DBootBroadcastReceiver.java28 public void onReceive(final Context context, final Intent intent) { argument
30 UploaderService.cancelAndRescheduleUploadingService(context,
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsListFocus.java35 * @param context The context
37 public UserDictionaryToolsListFocus(Context context) { argument
38 super(context);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForCustomMimetype.java24 public DataRowHandlerForCustomMimetype(Context context, argument
26 super(context, dbHelper, aggregator, mimetype);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGoogleSource.java52 protected void inflate(Context context, int inflateLevel) { argument
54 inflateStructuredName(context, inflateLevel);
55 inflateNickname(context, inflateLevel);
56 inflatePhone(context, inflateLevel);
57 inflateEmail(context, inflateLevel);
58 inflateStructuredPostal(context, inflateLevel);
59 inflateIm(context, inflateLevel);
60 inflateOrganization(context, inflateLevel);
61 inflatePhoto(context, inflateLevel);
62 inflateNote(context, inflateLeve
73 inflateStructuredName(Context context, int inflateLevel) argument
78 inflateNickname(Context context, int inflateLevel) argument
83 inflatePhone(Context context, int inflateLevel) argument
107 inflateEmail(Context context, int inflateLevel) argument
127 inflateStructuredPostal(Context context, int inflateLevel) argument
132 inflateIm(Context context, int inflateLevel) argument
137 inflateOrganization(Context context, int inflateLevel) argument
142 inflatePhoto(Context context, int inflateLevel) argument
147 inflateNote(Context context, int inflateLevel) argument
152 inflateWebsite(Context context, int inflateLevel) argument
161 attemptMyContactsMembership(EntityDelta state, Context context) argument
169 createMyContactsIfNotExist(Account account, Context context) argument
179 attemptMyContactsMembership(EntityDelta state, final String accountName, final String accountType, Context context, boolean allowRecur) argument
265 getHeaderColor(Context context) argument
270 getSideBarColor(Context context) argument
[all...]
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java36 public void onReceive(Context context, Intent intent) { argument
40 RemoteViews views = new RemoteViews(context.getPackageName(),
44 PendingIntent.getActivity(context, 0,
45 new Intent(context, DeskClock.class), 0));
50 AppWidgetManager gm = AppWidgetManager.getInstance(context);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogReceiver.java35 public void onReceive(Context context, Intent intent) { argument
37 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
41 context.startService(serviceIntent);
43 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
45 context.startService(serviceIntent);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DExchangeServiceTest.java42 final MyContext context = new MyContext(getContext());
44 final String id = ExchangeService.getDeviceId(context);
52 context.isGetFileStreamPathCalled = false;
53 final String cachedId = ExchangeService.getDeviceId(context);
58 assertFalse(context.isGetFileStreamPathCalled);

Completed in 1949 milliseconds

1234567891011>>