Searched refs:remoteAction (Results 1 – 2 of 2) sorted by relevance
114 @NonNull RemoteAction remoteAction) { in createFromRemoteAction()115 Preconditions.checkNotNull(remoteAction); in createFromRemoteAction()117 Api26Impl.getIcon(remoteAction)), in createFromRemoteAction()118 Api26Impl.getTitle(remoteAction), in createFromRemoteAction()119 Api26Impl.getContentDescription(remoteAction), in createFromRemoteAction()120 Api26Impl.getActionIntent(remoteAction)); in createFromRemoteAction()121 action.setEnabled(Api26Impl.isEnabled(remoteAction)); in createFromRemoteAction()123 action.setShouldShowIcon(Api28Impl.shouldShowIcon(remoteAction)); in createFromRemoteAction()208 static boolean shouldShowIcon(RemoteAction remoteAction) { in shouldShowIcon() argument209 return remoteAction.shouldShowIcon(); in shouldShowIcon()[all …]
78 private void assertEqualsToTestRemoteActionCompat(RemoteActionCompat remoteAction) { in assertEqualsToTestRemoteActionCompat() argument79 assertEquals(ICON.getUri(), remoteAction.getIcon().getUri()); in assertEqualsToTestRemoteActionCompat()80 assertEquals(TITLE, remoteAction.getTitle()); in assertEqualsToTestRemoteActionCompat()81 assertEquals(DESCRIPTION, remoteAction.getContentDescription()); in assertEqualsToTestRemoteActionCompat()82 assertEquals(ACTION.getTargetPackage(), remoteAction.getActionIntent().getTargetPackage()); in assertEqualsToTestRemoteActionCompat()83 assertFalse(remoteAction.isEnabled()); in assertEqualsToTestRemoteActionCompat()84 assertFalse(remoteAction.shouldShowIcon()); in assertEqualsToTestRemoteActionCompat()