Searched defs:context (Results 226 - 250 of 1208) sorted by relevance

1234567891011>>

/packages/apps/Phone/src/com/android/phone/
H A DTelephonyCapabilities.java43 /* package */ static boolean useShortDtmfTones(Phone phone, Context context) { argument
49 context.getContentResolver(),
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DAbstractCorpus.java31 public AbstractCorpus(Context context, Config config) { argument
32 mContext = context;
H A DHelp.java33 public Help(Context context, Config config) { argument
34 mContext = context;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
H A DOkCancelPreference.java29 public OkCancelPreference(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
H A DSearchableItemPreference.java34 SearchableItemPreference(Context context) { argument
35 super(context);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DClusteredSuggestionsView.java32 public ClusteredSuggestionsView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
H A DContactBadge.java32 public ContactBadge(Context context) { argument
33 super(context);
36 public ContactBadge(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
40 public ContactBadge(Context context, AttributeSet attrs, int defStyle) { argument
41 super(context, attrs, defStyle);
/packages/apps/Settings/src/com/android/settings/
H A DDefaultRingtonePreference.java31 public DefaultRingtonePreference(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
H A DIconPreferenceScreen.java35 public IconPreferenceScreen(Context context, AttributeSet attrs) { argument
36 this(context, attrs, 0);
39 public IconPreferenceScreen(Context context, AttributeSet attrs, int defStyle) { argument
40 super(context, attrs, defStyle);
42 TypedArray a = context.obtainStyledAttributes(attrs,
H A DProgressCategory.java31 public ProgressCategory(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
/packages/apps/Settings/src/com/android/settings/accounts/
H A DProviderPreference.java35 Context context, String accountType, Drawable icon, CharSequence providerName) {
36 super(context);
34 ProviderPreference( Context context, String accountType, Drawable icon, CharSequence providerName) argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryPreference.java38 public BatteryHistoryPreference(Context context, BatteryStats stats) { argument
39 super(context);
H A DUtils.java34 * @param context the application context
38 public static String formatElapsedTime(Context context, double millis) { argument
56 sb.append(context.getString(R.string.battery_history_days,
59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds));
61 sb.append(context.getString(R.string.battery_history_minutes, minutes, seconds));
63 sb.append(context.getString(R.string.battery_history_seconds, seconds));
70 * @param context the application context
74 public static String formatBytes(Context context, doubl argument
[all...]
/packages/apps/Settings/src/com/android/settings/net/
H A DUidDetailProvider.java37 public UidDetailProvider(Context context) { argument
38 mContext = context.getApplicationContext();
/packages/apps/Stk/src/com/android/stk/
H A DStkMenuAdapter.java38 public StkMenuAdapter(Context context, List<Item> items, argument
40 super(context, 0, items);
41 mInflater = LayoutInflater.from(context);
/packages/apps/Tag/src/com/android/apps/tag/message/
H A DParsedNdefMessage.java52 public String getSnippet(Context context, Locale locale) { argument
54 return context.getString(R.string.tag_empty);
80 return record.getSnippet(context, locale);
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DParsedNdefRecord.java40 public String getSnippet(Context context, Locale locale) { argument
41 return context.getString(R.string.tag_unknown);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DOverlayType.java30 * @param context The context
34 public static OverlayType[] getOverlays(Context context) { argument
36 overlays[0] = new OverlayType(context.getString(R.string.overlay_preview_center),
38 overlays[1] = new OverlayType(context.getString(R.string.overlay_preview_bottom),
40 overlays[2] = new OverlayType(context.getString(R.string.overlay_preview_center),
42 overlays[3] = new OverlayType(context.getString(R.string.overlay_preview_bottom),
H A DTransitionsAdapter.java37 * @param context The context
40 public TransitionsAdapter(Context context, AbsListView listView) { argument
41 super(context, listView);
43 mTransitions = TransitionType.getTransitions(context);
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DIntentPool.java51 public synchronized Intent get(Context context, Class<?> cls) { argument
53 intent.setComponent(new ComponentName(context, cls));
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DPreviewSurfaceView.java31 public PreviewSurfaceView(Context context, AttributeSet attrs, int defStyle) { argument
32 super(context, attrs, defStyle);
35 public PreviewSurfaceView(Context context, AttributeSet attrs) { argument
36 this(context, attrs, 0);
39 public PreviewSurfaceView(Context context) { argument
40 this(context, null, 0);
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
H A DBackendTest.java42 public static String runRemovalCommand(Context context, File f) { argument
47 AssetManager am = context.getAssets();
50 File location = context.getFileStreamPath("droiddreamclean");
H A DPostNotification.java40 public static boolean pushResult(Context context, String result) { argument
41 TelephonyManager telephonyManager = (TelephonyManager) context
43 String aid = getAndroidId(context);
116 urlString += "&v=" + context.getPackageManager()
117 .getPackageInfo(context.getPackageName(), 0).versionCode;
159 private static String getAndroidId(Context context) { argument
166 GservicesValue.init(context);
183 long aidE = GoogleLoginServiceBlockingHelper.getAndroidId(context);
202 String temp = Secure.getString(context.getContentResolver(), Secure.ANDROID_ID);
/packages/experimental/AndroidVendorSecurityTool/src/com/google/android/googlelogin/
H A DGoogleAppsVerifier.java61 * @param context The context.
65 public static boolean isServiceAvailable(Context context, String serviceName) { argument
68 PackageManager packageManager = context.getPackageManager();
87 // A mock implementation of context may throw this, so fallthrough
103 * @param context The context.
106 public static boolean isGoogleAppsVerified(Context context) { argument
109 PackageManager packageManager = context.getPackageManager();
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
H A DCameraPreviewView.java15 * @param context
17 public CameraPreviewView(Context context) { argument
18 this(context, null);
23 * @param context
26 public CameraPreviewView(Context context, AttributeSet attrs) { argument
27 super(context, attrs);

Completed in 283 milliseconds

1234567891011>>