/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | ClusterView.java | 57 * during card transitions. 79 CardView card; 83 card = new WeatherCard(getContext(), this /* priority listener */); 86 card = new MediaCard(getContext(), this /* priority listener */); 89 card = new CallCard(getContext(), this /* priority listener */); 92 card = new NavCard(getContext(), this /* priority listener */); 95 card = new MessageCard(getContext(), this /* priority listener */); 98 card = new CardView(getContext(), cardType, this /* priority listener */); 102 card.setLayoutParams(params); 103 return (E) card; 257 updateContactImage(CardView card, Bitmap contactImage) argument 275 cardExists(CardView card) argument 279 removeCard(final CardView card) argument 316 enqueueCard(final CardView card) argument 382 removeInvisibleDuplicatedCard(CardView card) argument 426 RemoveOrHideCard(ClusterView clusterView, CardView card) argument 455 removeCardInternal(CardView card) argument 466 onPriorityChanged(CardView card, int priority) argument 503 playAlphaAnimation(final CardView card, float targetAlpha, long duration, Interpolator interpolator, final Runnable endAction) argument 533 playFadeOutAndSlideOutAnimation(final CardView card) argument 573 playUnrevealAnimation(final CardView card, final Runnable unrevealCompleteAction) argument 609 createRevealAnimator(CardView card, Interpolator interpolator, boolean show) argument [all...] |
/packages/apps/Car/Stream/src/com/android/car/stream/ |
H A D | StreamService.java | 102 public void notifyStreamCardDismissed(StreamCard card) throws RemoteException { 109 public void notifyStreamCardInteracted(StreamCard card) throws RemoteException { 120 public void addStreamCard(StreamCard card) { argument 121 if (card == null) { 124 rankStreamCard(card); 125 mStreamCards.put(getStreamCardKey(card), card); 126 notifyListenersCardAdded(card); 133 * @param card 135 public void removeStreamCard(StreamCard card) { argument 148 getStreamCardKey(StreamCard card) argument 152 notifyListenersCardAdded(StreamCard card) argument 173 notifyListenersCardRemoved(StreamCard card) argument 193 rankStreamCard(StreamCard card) argument [all...] |
H A D | StreamProducer.java | 52 * Posts the given card to the {@link StreamService} for rendering by stream consumers. 54 * @return {@code true} if the card was successfully posted. {@code false} is returned if the 55 * {@link StreamService} is not available. The given card will be queued and posted when the 58 public final boolean postCard(StreamCard card) { argument 60 mStreamService.addStreamCard(card); 65 Log.d(TAG, "StreamService not found, adding card to queue for later addition."); 68 mQueuedCards.add(card); 73 * Removes the given card from the {@link StreamService}. If this {@link StreamProducer} has not 75 * contains the given card. 77 * @return {@code true} if the card i 80 removeCard(StreamCard card) argument 105 onCardDismissed(StreamCard card) argument [all...] |
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/ |
H A D | IStreamConsumer.aidl | 23 void onStreamCardAdded(in StreamCard card) = 0; 25 void onStreamCardRemoved(in StreamCard card) = 1;
|
H A D | IStreamService.aidl | 42 * Notifies the stream service that a card was dismissed. 44 void notifyStreamCardDismissed(in StreamCard card) = 3; 47 * Notifies the stream service that a card interation has occured. 49 void notifyStreamCardInteracted(in StreamCard card) = 4;
|
/packages/apps/Car/Overview/src/com/android/car/overview/ |
H A D | SimpleStreamViewHolder.java | 28 * A {@link StreamViewHolder} that binds a {@link StreamCard} to a basic card layout. 57 Log.e(TAG, "Failed to send pending intent for card"); 64 public void bindStreamCard(StreamCard card) { argument 65 super.bindStreamCard(card); 67 if (!TextUtils.isEmpty(card.getPrimaryText())) { 68 mPrimaryTextView.setText(card.getPrimaryText()); 71 if (!TextUtils.isEmpty(card.getSecondaryText())) { 72 mSecondaryTextView.setText(card.getSecondaryText()); 75 if (card.getPrimaryIcon() != null) { 76 mPrimaryIconView.setImageBitmap(card [all...] |
H A D | StreamAdapter.java | 73 // card layout. 92 StreamCard card = mStreamCards.get(position); 94 // If the card has no extensions, then render as a basic card. 95 if (card.getCardExtension() == null) { 99 switch (card.getType()) { 130 public void addCard(StreamCard card) { argument 131 // There should only be one card in the stream that is of type MEDIA. As a result, handle 132 // this case specially. Otherwise, check if the card matches a stream card tha 173 removeCard(StreamCard card) argument 232 canAddMediaCard(StreamCard card) argument [all...] |
H A D | StreamViewHolder.java | 43 * @param card 46 public void bindStreamCard(StreamCard card) { argument
|
H A D | StreamOverviewActivity.java | 206 for (StreamCard card : cards) { 207 mAdapter.addCard(card); 254 public void onStreamCardAdded(StreamCard card) throws RemoteException { 258 Log.d(TAG, "Stream Card added: " + card); 260 mAdapter.addCard(card); 266 public void onStreamCardRemoved(StreamCard card) throws RemoteException { 270 Log.d(TAG, "Stream Card removed: " + card); 272 mAdapter.removeCard(card);
|
H A D | CurrentCallStreamViewHolder.java | 108 public void bindStreamCard(StreamCard card) { argument 109 super.bindStreamCard(card); 111 if (!(card.getCardExtension() instanceof CurrentCallExtension)) { 116 mContainerClickAction = card.getContentPendingIntent(); 118 CurrentCallExtension call = (CurrentCallExtension) card.getCardExtension();
|
H A D | MediaStreamViewHolder.java | 31 * an interactive in playback UI card. 116 Log.e(TAG, "Failed to send content pending intent in media card", e); 123 public void bindStreamCard(StreamCard card) { argument 124 super.bindStreamCard(card); 125 MediaPlaybackExtension extension = (MediaPlaybackExtension) card.getCardExtension(); 174 mContentPendingIntent = card.getContentPendingIntent();
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
H A D | CallLogViewHolder.java | 25 public View card; field in class:CallLogViewHolder 34 card = v.findViewById(R.id.call_log_card);
|
H A D | StrequentsAdapter.java | 133 // If there is no data to display, add one to the item count to display the card in the 361 * for rounded corners on either the top or bottom of a card. 369 viewHolder.card.setBackgroundResource( 373 viewHolder.card.setBackgroundResource(R.drawable.car_card_rounded_top_background); 376 viewHolder.card.setBackgroundResource(R.drawable.car_card_rounded_bottom_background); 379 viewHolder.card.setBackgroundResource(R.color.car_card);
|
H A D | StrequentsFragment.java | 305 View card = child.findViewById(R.id.call_log_card); 307 int left = textContainer.getLeft() + container.getLeft() + card.getLeft();
|
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/ |
H A D | CurrentCallStreamProducer.java | 150 protected void onPostExecute(StreamCard card) { 152 removeCard(card); 154 postCard(card); 174 // TODO: Determine if a HUD or stream card should be displayed.
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
H A D | ConditionAdapterUtils.java | 71 View card = view.itemView.findViewById(R.id.content); 72 card.setTag(condition); 73 card.setOnClickListener(onClickListener);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneInterfaceManager.java | 1380 * Use PIN or PUK to unlock SIM card 1382 * If PUK is null, unlock SIM card with PIN 1384 * If PUK is not null, unlock SIM card with PUK and set PIN code 2302 * @return true if a ICC card is present 2311 * @return true if a ICC card is present for a slotIndex 2803 UiccCard card = UiccController.getInstance().getUiccCard(phone.getPhoneId()); 2804 if (card == null) { 2808 return card.getCarrierPrivilegeStatusForCurrentTransaction( 2816 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId()); 2817 if (card [all...] |
/packages/apps/Contacts/src/com/android/contacts/database/ |
H A D | SimContactDaoImpl.java | 62 * Provides data access methods for loading contacts from a SIM card and and migrating these 431 public ArrayList<SimContact> loadContactsForSim(SimCard card) { argument 432 return new ArrayList<>(card.getContacts());
|