Searched refs:context (Results 1 - 25 of 2985) sorted by relevance

1234567891011>>

/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/
H A DTisConfiguration.java11 public static boolean isPackagedWithLiveChannels(Context context) { argument
12 return (LC_PACKAGE_NAME.equals(context.getPackageName()));
15 public static boolean isInternalTunerTvInput(Context context) { argument
16 return (!LC_PACKAGE_NAME.equals(context.getPackageName()));
19 public static int getTunerHwDeviceId(Context context) { argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTransactionContextTest.java33 TransactionContext context = new TransactionContext(false);
34 context.markRawContactDirtyAndChanged(1L, false);
35 context.rawContactUpdated(1L);
36 context.rawContactInserted(1L, 1L);
37 context.syncStateUpdated(1L, new Object());
39 context.clearExceptSearchIndexUpdates();
41 Set<Long> newDirty = context.getDirtyRawContactIds();
42 Set<Long> newChanged = context.getChangedRawContactIds();
43 Set<Long> newInserted = context.getInsertedRawContactIds();
44 Set<Long> newUpdated = context
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DFallbackAccountType.java29 private FallbackAccountType(Context context, String resPackageName) { argument
40 addDataKindStructuredName(context);
41 addDataKindDisplayName(context);
42 addDataKindPhoneticName(context);
43 addDataKindNickname(context);
44 addDataKindPhone(context);
45 addDataKindEmail(context);
46 addDataKindStructuredPostal(context);
47 addDataKindIm(context);
48 addDataKindOrganization(context);
61 FallbackAccountType(Context context) argument
71 createWithPackageNameForTest(Context context, String resPackageName) argument
[all...]
/packages/apps/TV/src/com/android/tv/ui/
H A DAppLayerTvView.java33 public AppLayerTvView(Context context) { argument
34 super(context);
37 public AppLayerTvView(Context context, AttributeSet attrs) { argument
38 super(context, attrs);
41 public AppLayerTvView(Context context, AttributeSet attrs, int defStyleAttr) { argument
42 super(context, attrs, defStyleAttr);
H A DOverlayRootView.java30 public OverlayRootView(Context context) { argument
31 this(context, null, 0, 0);
34 public OverlayRootView(Context context, AttributeSet attrs) { argument
35 this(context, attrs, 0, 0);
38 public OverlayRootView(Context context, AttributeSet attrs, int defStyleAttr) { argument
39 this(context, attrs, defStyleAttr, 0);
42 public OverlayRootView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
43 super(context, attrs, defStyleAttr, defStyleRes);
44 mMainActivity = (MainActivity) context;
H A DLocaleAwareTextClock.java27 public LocaleAwareTextClock(Context context) { argument
28 this(context, null);
31 public LocaleAwareTextClock(Context context, AttributeSet attrs) { argument
32 this(context, attrs, 0);
35 public LocaleAwareTextClock(Context context, AttributeSet attrs, int defStyleAttr) { argument
36 super(context, attrs, defStyleAttr);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DNonOverlappingRelativeLayout.java22 public NonOverlappingRelativeLayout(Context context) { argument
23 this(context, null);
26 public NonOverlappingRelativeLayout(Context context, AttributeSet attrs) { argument
27 super(context, attrs, 0);
30 public NonOverlappingRelativeLayout(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAnimatedListView.java25 public AnimatedListView(Context context) { argument
26 this(context, null);
29 public AnimatedListView(Context context, AttributeSet attrs) { argument
30 this(context, attrs, 0);
33 public AnimatedListView(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DCarRecyclerView.java26 public CarRecyclerView(Context context) { argument
27 super(context);
30 public CarRecyclerView(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
34 public CarRecyclerView(Context context, AttributeSet attrs, int defStyle) { argument
35 super(context, attrs, defStyle);
H A DMaxWidthLayout.java26 public MaxWidthLayout(Context context) { argument
27 super(context);
30 public MaxWidthLayout(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
34 public MaxWidthLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
35 super(context, attrs, defStyleAttr);
H A DPagedListView.java26 public PagedListView(Context context, AttributeSet attrs) { argument
27 this(context, attrs, 0 /*defStyleAttrs*/, 0 /*defStyleRes*/);
30 public PagedListView(Context context, AttributeSet attrs, int defStyleAttrs) { argument
31 this(context, attrs, defStyleAttrs, 0 /*defStyleRes*/);
34 public PagedListView(Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes) { argument
35 super(context, attrs, defStyleAttrs, defStyleRes);
/packages/apps/Settings/src/com/android/settings/
H A DProgressCategoryBase.java24 public ProgressCategoryBase(Context context) { argument
25 this(context, null);
28 public ProgressCategoryBase(Context context, AttributeSet attrs) { argument
29 this(context, attrs, 0);
32 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr) { argument
33 super(context, attrs, defStyleAttr, 0);
36 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr, argument
38 super(context, attrs, defStyleAttr, defStyleRes);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothProgressCategory.java29 public BluetoothProgressCategory(Context context) { argument
30 this(context, null);
33 public BluetoothProgressCategory(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 this(context, attrs, defStyleAttr, 0);
41 public BluetoothProgressCategory(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
/packages/apps/TV/src/com/android/tv/util/
H A DPermissionUtils.java15 public static boolean hasAccessAllEpg(Context context) { argument
18 sHasAccessAllEpgPermission = context.checkSelfPermission(
22 sHasAccessAllEpgPermission = context.getPackageManager().checkPermission(
24 context.getPackageName()) == PackageManager.PERMISSION_GRANTED;
30 public static boolean hasAccessWatchedHistory(Context context) { argument
33 sHasAccessWatchedHistoryPermission = context.checkSelfPermission(
37 sHasAccessWatchedHistoryPermission = context.getPackageManager().checkPermission(
39 context.getPackageName()) == PackageManager.PERMISSION_GRANTED;
45 public static boolean hasModifyParentalControls(Context context) { argument
48 sHasModifyParentalControlsPermission = context
60 hasReadTvListings(Context context) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationPager.java26 public ConversationPager(Context context) { argument
27 this(context, null);
30 public ConversationPager(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactInteraction.java30 String getViewHeader(Context context); argument
31 String getViewBody(Context context); argument
32 String getViewFooter(Context context); argument
33 Drawable getIcon(Context context); argument
34 Drawable getBodyIcon(Context context); argument
35 Drawable getFooterIcon(Context context); argument
36 Spannable getContentDescription(Context context); argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHolographicImageView.java28 public HolographicImageView(Context context) { argument
29 this(context, null);
32 public HolographicImageView(Context context, AttributeSet attrs) { argument
33 this(context, attrs, 0);
36 public HolographicImageView(Context context, AttributeSet attrs, int defStyle) { argument
37 super(context, attrs, defStyle);
39 mHolographicHelper = new HolographicViewHelper(context);
/packages/apps/Dialer/src/com/android/dialer/util/
H A DTelecomUtil.java53 public static void showInCallScreen(Context context, boolean showDialpad) { argument
54 if (hasReadPhoneStatePermission(context)) {
56 getTelecomManager(context).showInCallScreen(showDialpad);
64 public static void silenceRinger(Context context) { argument
65 if (hasModifyPhoneStatePermission(context)) {
67 TelecomManagerCompat.silenceRinger(getTelecomManager(context));
75 public static void cancelMissedCallsNotification(Context context) { argument
76 if (hasModifyPhoneStatePermission(context)) {
78 getTelecomManager(context).cancelMissedCallsNotification();
85 public static Uri getAdnUriForPhoneAccount(Context context, PhoneAccountHandl argument
97 handleMmi(Context context, String dialString, @Nullable PhoneAccountHandle handle) argument
114 getDefaultOutgoingPhoneAccount(Context context, String uriScheme) argument
123 getPhoneAccount(Context context, PhoneAccountHandle handle) argument
127 getCallCapablePhoneAccounts(Context context) argument
134 isInCall(Context context) argument
141 isVoicemailNumber(Context context, PhoneAccountHandle accountHandle, String number) argument
151 getVoicemailNumber(Context context, PhoneAccountHandle accountHandle) argument
176 getCallLogUri(Context context) argument
181 hasReadWriteVoicemailPermissions(Context context) argument
187 hasModifyPhoneStatePermission(Context context) argument
192 hasReadPhoneStatePermission(Context context) argument
197 hasCallPhonePermission(Context context) argument
202 hasPermission(Context context, String permission) argument
207 isDefaultDialer(Context context) argument
222 getTelecomManager(Context context) argument
226 getTelephonyManager(Context context) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DLinearLayoutWithMaxWidth.java26 public LinearLayoutWithMaxWidth(Context context) { argument
27 super(context);
30 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
34 public LinearLayoutWithMaxWidth(Context context, AttributeSet attrs, int defStyle) { argument
35 super(context, attrs, defStyle);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DFullHeightLinearLayout.java31 public FullHeightLinearLayout(Context context) { argument
32 super(context);
35 public FullHeightLinearLayout(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
39 public FullHeightLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
40 super(context, attrs, defStyle);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DIngestGridView.java37 public IngestGridView(Context context) { argument
38 super(context);
41 public IngestGridView(Context context, AttributeSet attrs) { argument
42 super(context, attrs);
45 public IngestGridView(Context context, AttributeSet attrs, int defStyle) { argument
46 super(context, attrs, defStyle);
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DDividerAllowedBelowPreference.java28 public DividerAllowedBelowPreference(Context context) { argument
29 super(context);
32 public DividerAllowedBelowPreference(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public DividerAllowedBelowPreference(Context context, AttributeSet attrs, int defStyleAttrs) { argument
37 super(context, attrs, defStyleAttrs);
/packages/apps/TV/src/com/android/tv/menu/
H A DSimpleCardView.java33 public SimpleCardView(Context context) { argument
34 this(context, null, 0);
37 public SimpleCardView(Context context, AttributeSet attrs) { argument
38 this(context, attrs, 0);
41 public SimpleCardView(Context context, AttributeSet attrs, int defStyle) { argument
42 super(context, attrs, defStyle);
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DAlphaDisableableButton.java28 public AlphaDisableableButton(Context context) { argument
29 this(context, null);
32 public AlphaDisableableButton(Context context, AttributeSet attrs) { argument
33 this(context, attrs, 0);
36 public AlphaDisableableButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DCheckboxWrapperView.java32 public CheckboxWrapperView(Context context) { argument
33 super(context);
36 public CheckboxWrapperView(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
40 public CheckboxWrapperView(Context context, AttributeSet attrs, int defStyle) { argument
41 super(context, attrs, defStyle);

Completed in 1464 milliseconds

1234567891011>>