/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/model/ |
D | MockDatabase.java | 42 public static Subscription getTvShowSubscription(Context context) { in getTvShowSubscription() 57 public static Subscription getVideoSubscription(Context context) { in getVideoSubscription() 72 public static Subscription getCatVideosSubscription(Context context) { in getCatVideosSubscription() 82 Context context, in findOrCreateSubscription() 102 private static Subscription findSubscriptionByTitle(Context context, String title) { in findSubscriptionByTitle() 117 public static void saveSubscriptions(Context context, List<Subscription> subscriptions) { in saveSubscriptions() 128 public static void saveSubscription(Context context, Subscription subscription) { in saveSubscription() 156 public static List<Subscription> getSubscriptions(Context context) { in getSubscriptions() 168 public static Subscription findSubscriptionByChannelId(Context context, long channelId) { in findSubscriptionByChannelId() 185 public static Subscription findSubscriptionByName(Context context, String name) { in findSubscriptionByName() [all …]
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
D | SharedPreferencesHelper.java | 52 public static Profile readUserFromJsonPref(Context context) { in readUserFromJsonPref() 72 public static void writeUserToJsonPref(Context context, Profile user) { in writeUserToJsonPref() 85 public static List<Profile> readContactsFromJsonPref(Context context) { in readContactsFromJsonPref() 102 public static void writeContactsToJsonPref(Context context, List<Profile> contacts) { in writeContactsToJsonPref() 113 public static List<Chat> readChatsFromJsonPref(Context context) throws IOException { in readChatsFromJsonPref() 128 public static void writeChatsToJsonPref(Context context, List<Chat> chats) { in writeChatsToJsonPref() 140 public static List<Message> readMessagesForChat(Context context, String chatId) { in readMessagesForChat() 157 Context context, Chat chat, List<Message> messages) { in writeMessagesForChatToJsonPref() 173 private static <T> List<T> getList(Context context, Class<T> clazz, String key) in getList() 198 private static <T> void setList(Context context, List<T> list, String key) { in setList()
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
D | SharedPreferencesHelper.java | 52 public static Profile readUserFromJsonPref(Context context) { in readUserFromJsonPref() 72 public static void writeUserToJsonPref(Context context, Profile user) { in writeUserToJsonPref() 85 public static List<Profile> readContactsFromJsonPref(Context context) { in readContactsFromJsonPref() 102 public static void writeContactsToJsonPref(Context context, List<Profile> contacts) { in writeContactsToJsonPref() 113 public static List<Chat> readChatsFromJsonPref(Context context) throws IOException { in readChatsFromJsonPref() 128 public static void writeChatsToJsonPref(Context context, List<Chat> chats) { in writeChatsToJsonPref() 140 public static List<Message> readMessagesForChat(Context context, String chatId) { in readMessagesForChat() 157 Context context, Chat chat, List<Message> messages) { in writeMessagesForChatToJsonPref() 173 private static <T> List<T> getList(Context context, Class<T> clazz, String key) in getList() 198 private static <T> void setList(Context context, List<T> list, String key) { in setList()
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | FingerprintModule.java | 51 public FingerprintModule(Context context) { in FingerprintModule() 61 public FingerprintManager providesFingerprintManager(Context context) { in providesFingerprintManager() 66 public KeyguardManager providesKeyguardManager(Context context) { in providesKeyguardManager() 98 public InputMethodManager providesInputMethodManager(Context context) { in providesInputMethodManager() 103 public SharedPreferences providesSharedPreferences(Context context) { in providesSharedPreferences()
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
D | FingerprintModule.java | 51 public FingerprintModule(Context context) { in FingerprintModule() 61 public FingerprintManager providesFingerprintManager(Context context) { in providesFingerprintManager() 66 public KeyguardManager providesKeyguardManager(Context context) { in providesKeyguardManager() 98 public InputMethodManager providesInputMethodManager(Context context) { in providesInputMethodManager() 103 public SharedPreferences providesSharedPreferences(Context context) { in providesSharedPreferences()
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
D | MessageLogger.java | 39 public static void logMessage(Context context, String message) { in logMessage() 47 public static SharedPreferences getPrefs(Context context) { in getPrefs() 51 public static String getAllMessages(Context context) { in getAllMessages() 55 public static void clear(Context context) { in clear()
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
D | MessageLogger.java | 39 public static void logMessage(Context context, String message) { in logMessage() 47 public static SharedPreferences getPrefs(Context context) { in getPrefs() 51 public static String getAllMessages(Context context) { in getAllMessages() 55 public static void clear(Context context) { in clear()
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
D | CardActionButton.java | 34 public CardActionButton(Context context) { in CardActionButton() 38 public CardActionButton(Context context, AttributeSet attrs) { in CardActionButton() 42 public CardActionButton(Context context, AttributeSet attrs, int defStyle) { in CardActionButton()
|
D | CardStreamAnimator.java | 46 public abstract ObjectAnimator getInitalAnimator(Context context); in getInitalAnimator() 54 public abstract ObjectAnimator getDisappearingAnimator(Context context); in getDisappearingAnimator() 62 public abstract ObjectAnimator getAppearingAnimator(Context context); in getAppearingAnimator() 92 public ObjectAnimator getInitalAnimator(Context context) { in getInitalAnimator() 97 public ObjectAnimator getDisappearingAnimator(Context context) { in getDisappearingAnimator() 102 public ObjectAnimator getAppearingAnimator(Context context) { in getAppearingAnimator()
|
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/ |
D | SharedPreferencesHelper.java | 60 public static List<Subscription> readSubscriptions(Context context) { in readSubscriptions() 70 public static void storeSubscriptions(Context context, List<Subscription> subscriptions) { in storeSubscriptions() 81 public static List<Movie> readMovies(Context context, long channelId) { in readMovies() 92 public static void storeMovies(Context context, long channelId, List<Movie> movies) { in storeMovies() 107 private static <T> List<T> getList(Context context, Class<T> clazz, String key) { in getList() 135 private static <T> void setList(Context context, List<T> list, String key) { in setList()
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
D | MockDatabase.java | 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { in createChat() 97 private static void persistsChats(Context context, Collection<Chat> chats) { in persistsChats() 118 public static Collection<Chat> getAllChats(Context context) { in getAllChats() 134 public static Chat findChatById(Context context, String id) { in findChatById() 144 private static void updateLastMessage(Context context, Chat chat, Message lastMessage) { in updateLastMessage() 184 public static Message saveMessage(Context context, Chat chat, Message message) { in saveMessage() 205 public static Collection<Message> getAllMessagesForChat(Context context, String chatId) { in getAllMessagesForChat() 217 public static Message findMessageById(Context context, String chatId, String messageId) { in findMessageById() 232 public static List<Profile> getUserContacts(Context context) { in getUserContacts() 251 public static void getUser(Context context, String id, RetrieveUserCallback callback) { in getUser() [all …]
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
D | MockDatabase.java | 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { in createChat() 97 private static void persistsChats(Context context, Collection<Chat> chats) { in persistsChats() 118 public static Collection<Chat> getAllChats(Context context) { in getAllChats() 134 public static Chat findChatById(Context context, String id) { in findChatById() 144 private static void updateLastMessage(Context context, Chat chat, Message lastMessage) { in updateLastMessage() 184 public static Message saveMessage(Context context, Chat chat, Message message) { in saveMessage() 205 public static Collection<Message> getAllMessagesForChat(Context context, String chatId) { in getAllMessagesForChat() 217 public static Message findMessageById(Context context, String chatId, String messageId) { in findMessageById() 232 public static List<Profile> getUserContacts(Context context) { in getUserContacts() 251 public static void getUser(Context context, String id, RetrieveUserCallback callback) { in getUser() [all …]
|
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
D | Utils.java | 36 public final static void vibrate(Context context, int duration) { in vibrate() 48 public static void saveCounterToPreference(Context context, int value) { in saveCounterToPreference() 62 public static int getCounterFromPreference(Context context) { in getCounterFromPreference()
|
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
D | Utils.java | 36 public final static void vibrate(Context context, int duration) { in vibrate() 48 public static void saveCounterToPreference(Context context, int value) { in saveCounterToPreference() 62 public static int getCounterFromPreference(Context context) { in getCounterFromPreference()
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/widget/ |
D | InfoButton.java | 28 public InfoButton(Context context) { in InfoButton() 32 public InfoButton(Context context, AttributeSet attrs) { in InfoButton() 36 public InfoButton(Context context, AttributeSet attrs, int defStyleAttr) { in InfoButton()
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/widget/ |
D | InfoButton.java | 28 public InfoButton(Context context) { in InfoButton() 32 public InfoButton(Context context, AttributeSet attrs) { in InfoButton() 36 public InfoButton(Context context, AttributeSet attrs, int defStyleAttr) { in InfoButton()
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/config/ |
D | GlideConfiguration.java | 33 public void applyOptions(Context context, GlideBuilder builder) { in applyOptions() 39 public void registerComponents(Context context, Glide glide) { in registerComponents()
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/config/ |
D | GlideConfiguration.java | 33 public void applyOptions(Context context, GlideBuilder builder) { in applyOptions() 39 public void registerComponents(Context context, Glide glide) { in registerComponents()
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | EnforcerDeviceAdminReceiver.java | 36 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 47 public static ComponentName getComponentName(Context context) { in getComponentName()
|
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | BasicDeviceAdminReceiver.java | 36 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 47 public static ComponentName getComponentName(Context context) { in getComponentName()
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
D | EnforcerDeviceAdminReceiver.java | 36 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 47 public static ComponentName getComponentName(Context context) { in getComponentName()
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
D | BasicDeviceAdminReceiver.java | 36 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete() 47 public static ComponentName getComponentName(Context context) { in getComponentName()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
D | Utils.java | 44 public static Point getDisplaySize(Context context) { in getDisplaySize() 61 public static final void showErrorDialog(Context context, String errorString) { in showErrorDialog() 80 public static void showToast(Context context, String msg) { in showToast() 90 public static void showToast(Context context, int resourceId) { in showToast()
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
D | NotificationPresets.java | 53 private static Notification.Builder buildBasicNotification(Context context) { in buildBasicNotification() 69 public Notification buildNotification(Context context) { in buildNotification() 115 public Notification buildNotification(Context context) { in buildNotification() 172 public Notification buildNotification(Context context) { in buildNotification() 191 public Notification buildNotification(Context context) { in buildNotification() 229 private Notification createPageForCustomHeight(Context context, int heightDisplayDp, in createPageForCustomHeight() 245 private Notification createPageForSizePreset(Context context, int sizePreset, in createPageForSizePreset() 267 public Notification buildNotification(Context context) { in buildNotification() 286 public Notification buildNotification(Context context) { in buildNotification()
|
/developers/samples/android/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
D | NotificationPresets.java | 53 private static Notification.Builder buildBasicNotification(Context context) { in buildBasicNotification() 69 public Notification buildNotification(Context context) { in buildNotification() 115 public Notification buildNotification(Context context) { in buildNotification() 172 public Notification buildNotification(Context context) { in buildNotification() 191 public Notification buildNotification(Context context) { in buildNotification() 229 private Notification createPageForCustomHeight(Context context, int heightDisplayDp, in createPageForCustomHeight() 245 private Notification createPageForSizePreset(Context context, int sizePreset, in createPageForSizePreset() 267 public Notification buildNotification(Context context) { in buildNotification() 286 public Notification buildNotification(Context context) { in buildNotification()
|