/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | NetworkListAdapter.java | 52 ViewHolder vh; in getView() local 54 vh = new ViewHolder(); in getView() 57 vh.netActive = convertView.findViewById(R.id.network_active); in getView() 58 vh.netId = convertView.findViewById(R.id.network_id); in getView() 59 vh.netType = convertView.findViewById(R.id.network_type); in getView() 60 vh.netState = convertView.findViewById(R.id.network_state); in getView() 61 vh.connected = convertView.findViewById(R.id.network_connected); in getView() 62 vh.available = convertView.findViewById(R.id.network_available); in getView() 63 vh.roaming = convertView.findViewById(R.id.network_roaming); in getView() 64 vh.netIface = convertView.findViewById(R.id.network_iface); in getView() [all …]
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 133 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() local 136 assertThat(vh.getClass()).isEqualTo(BasicNotificationViewHolder.class); in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() 142 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupExpandedType_shouldReturnObjectOfGroupNotificationViewHolder() local 145 assertThat(vh.getClass()).isEqualTo(GroupNotificationViewHolder.class); in onCreateViewHolder_groupExpandedType_shouldReturnObjectOfGroupNotificationViewHolder() 151 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupCollapsed_shouldReturnObjectOfGroupNotificationViewHolder() local 154 assertThat(vh.getClass()).isEqualTo(GroupNotificationViewHolder.class); in onCreateViewHolder_groupCollapsed_shouldReturnObjectOfGroupNotificationViewHolder() 160 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() local 163 assertThat(vh.getClass()).isEqualTo(GroupSummaryNotificationViewHolder.class); in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() 169 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() local 172 assertThat(vh.getClass()).isEqualTo(BasicNotificationViewHolder.class); in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsContentPresenter.java | 278 final ViewHolder vh = (ViewHolder) viewHolder; in onBindViewHolder() local 281 vh.mActivity = mActivity; in onBindViewHolder() 282 vh.mFullTextAnimationDuration = mFullTextAnimationDuration; in onBindViewHolder() 286 vh.mTitle.setVisibility(View.GONE); in onBindViewHolder() 289 vh.mTitle.setText(detailsContent.getTitle()); in onBindViewHolder() 290 vh.mTitle.setVisibility(View.VISIBLE); in onBindViewHolder() 291 vh.mTitle.setLineSpacing( in onBindViewHolder() 292 vh.mTitleLineSpacing in onBindViewHolder() 293 - vh.mTitle.getLineHeight() in onBindViewHolder() 294 + vh.mTitle.getLineSpacingExtra(), in onBindViewHolder() [all …]
|
D | ActionPresenterSelector.java | 79 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onBindViewHolder() local 80 vh.mAction = action; in onBindViewHolder() 81 vh.mButton.setText(action.getLabel1()); in onBindViewHolder() 102 ActionViewHolder vh = (ActionViewHolder) viewHolder; in onBindViewHolder() local 104 vh.mAction = action; in onBindViewHolder() 108 vh.view in onBindViewHolder() 112 vh.view in onBindViewHolder() 115 vh.view.setPaddingRelative(startPadding, 0, endPadding, 0); in onBindViewHolder() 118 vh.view in onBindViewHolder() 121 vh.view.setPaddingRelative(padding, 0, padding, 0); in onBindViewHolder() [all …]
|
D | DvrHistoryCardPresenter.java | 42 public void onBindDvrItemViewHolder(DvrItemViewHolder vh, Object o) { in onBindDvrItemViewHolder() argument 43 final RecordingCardView cardView = (RecordingCardView) vh.view; in onBindDvrItemViewHolder() 50 public void onUnbindViewHolder(ViewHolder vh) { in onUnbindViewHolder() argument 51 ((RecordingCardView) vh.view).reset(); in onUnbindViewHolder() 52 super.onUnbindViewHolder(vh); in onUnbindViewHolder()
|
D | FullSchedulesCardPresenter.java | 47 public void onBindDvrItemViewHolder(DvrItemViewHolder vh, Object o) { in onBindDvrItemViewHolder() argument 48 final RecordingCardView cardView = (RecordingCardView) vh.view; in onBindDvrItemViewHolder() 75 public void onUnbindViewHolder(ViewHolder vh) { in onUnbindViewHolder() argument 76 ((RecordingCardView) vh.view).reset(); in onUnbindViewHolder() 77 super.onUnbindViewHolder(vh); in onUnbindViewHolder()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeAdapter.java | 50 ViewHolder vh = new ViewHolder(); in getView() local 54 vh.id = convertView.findViewById(R.id.stream_id); in getView() 55 vh.maxVolume = convertView.findViewById(R.id.volume_limit); in getView() 56 vh.currentVolume = convertView.findViewById(R.id.current_volume); in getView() 57 vh.upButton = convertView.findViewById(R.id.volume_up); in getView() 58 vh.downButton = convertView.findViewById(R.id.volume_down); in getView() 59 vh.requestButton = convertView.findViewById(R.id.request); in getView() 60 convertView.setTag(vh); in getView() 62 vh = (ViewHolder) convertView.getTag(); in getView() 65 vh.id.setText(mVolumeList[position].mId); in getView() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 180 TileViewHolder vh = (TileViewHolder) holder; in onBindViewHolder() local 181 vh.itemView.setOnClickListener(tile); in onBindViewHolder() 184 vh.itemView.setOnLongClickListener(onLongClickListener); in onBindViewHolder() 186 vh.itemView.setOnLongClickListener(null); in onBindViewHolder() 188 vh.mIcon.setImageDrawable(tile.getIcon()); in onBindViewHolder() 191 vh.mIcon.setEnabled(true); in onBindViewHolder() 192 vh.mIconBackground.setEnabled(true); in onBindViewHolder() 195 vh.mIcon.setEnabled(false); in onBindViewHolder() 196 vh.mIconBackground.setEnabled(false); in onBindViewHolder() 202 vh.mText.setText(textString); in onBindViewHolder()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryItemAnimator.java | 58 public void endAnimation(RecyclerView.ViewHolder vh) { in endAnimation() argument 59 super.endAnimation(vh); in endAnimation() 63 if (anim.viewHolder == vh) { in endAnimation() 69 ColorAnimation anim = mRunningAnimations.get(vh); in endAnimation() 103 public boolean canReuseUpdatedViewHolder(RecyclerView.ViewHolder vh) { in canReuseUpdatedViewHolder() argument 120 public ColorAnimation(RecyclerView.ViewHolder vh, int startColor, int endColor) in ColorAnimation() argument 122 viewHolder = vh; in ColorAnimation()
|
D | DocsSelectionPredicate.java | 93 final RecyclerView.ViewHolder vh = mRecView.findViewHolderForAdapterPosition(position); in canSetStateAtPosition() local 94 if (vh == null) { in canSetStateAtPosition() 97 return ModelBackedDocumentsAdapter.isContentType(vh.getItemViewType()); in canSetStateAtPosition()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/ |
D | LegacySuggestionContextualCardRenderer.java | 54 final LegacySuggestionViewHolder vh = (LegacySuggestionViewHolder) holder; in bindView() local 57 vh.icon.setImageDrawable(card.getIconDrawable()); in bindView() 58 vh.title.setText(card.getTitleText()); in bindView() 59 vh.summary.setText(card.getSummaryText()); in bindView() 60 vh.itemView.setOnClickListener(v -> controller.onPrimaryClick(card)); in bindView() 61 vh.closeButton.setOnClickListener(v -> controller.onDismissed(card)); in bindView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/ |
D | LegacySuggestionContextualCardRenderer.java | 53 final LegacySuggestionViewHolder vh = (LegacySuggestionViewHolder) holder; in bindView() local 54 vh.icon.setImageDrawable(card.getIconDrawable()); in bindView() 55 vh.title.setText(card.getTitleText()); in bindView() 56 vh.summary.setText(card.getSummaryText()); in bindView() 57 vh.itemView.setOnClickListener(v -> in bindView()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackControlHelper.java | 129 protected void onBindRowViewHolder(RowPresenter.ViewHolder vh, Object item) { in createControlsRowPresenter() 130 super.onBindRowViewHolder(vh, item); in createControlsRowPresenter() 131 vh.setOnKeyListener(DvrPlaybackControlHelper.this); in createControlsRowPresenter() 132 ViewGroup controlBar = (ViewGroup) vh.view.findViewById(R.id.control_bar); in createControlsRowPresenter() 137 protected void onUnbindRowViewHolder(RowPresenter.ViewHolder vh) { in createControlsRowPresenter() 138 super.onUnbindRowViewHolder(vh); in createControlsRowPresenter() 139 vh.setOnKeyListener(null); in createControlsRowPresenter()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 387 final RecyclerView.ViewHolder vh = recyclerView.findViewHolderForAdapterPosition(pos); in focusItem() local 390 if (vh != null) { in focusItem() 391 if (vh.itemView.requestFocus() && callback != null) { in focusItem() 392 callback.onFocus(vh.itemView); in focusItem() 402 RecyclerView.ViewHolder vh = view in focusItem() 404 if (vh != null) { in focusItem() 405 if (vh.itemView.requestFocus() && callback != null) { in focusItem() 406 callback.onFocus(vh.itemView); in focusItem()
|
D | HorizontalBreadcrumb.java | 151 RecyclerView.ViewHolder vh = getChildViewHolder(v); in setDropTargetHighlight() local 152 if (vh instanceof BreadcrumbHolder) { in setDropTargetHighlight() 153 ((BreadcrumbHolder) vh).setHighlighted(highlight); in setDropTargetHighlight()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupGuidedStepFragment.java | 181 protected void setAccessibilityDelegate(GuidedActionsStylist.ViewHolder vh, 186 vh.itemView.setAccessibilityDelegate( 209 public void onBindViewHolder(GuidedActionsStylist.ViewHolder vh, GuidedAction action) { 210 super.onBindViewHolder(vh, action); 211 setAccessibilityDelegate(vh, action);
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | ContentFillItemAnimator.java | 49 PendingAnimation(ViewHolder vh, int type) { in PendingAnimation() argument 50 viewHolder = vh; in PendingAnimation() 201 ViewHolder vh = curAnim.viewHolder; in runPendingAnimations() local 204 animateRemoveImpl(vh, delay); in runPendingAnimations() 207 animateChangeImpl(vh, delay); in runPendingAnimations()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 365 protected void onBindRowViewHolder(RowPresenter.ViewHolder vh, Object item) { in onBindRowViewHolder() argument 366 super.onBindRowViewHolder(vh, item); in onBindRowViewHolder() 367 ScheduleRowViewHolder viewHolder = (ScheduleRowViewHolder) vh; in onBindRowViewHolder() 725 protected void onRowViewSelected(ViewHolder vh, boolean selected) { in onRowViewSelected() argument 726 super.onRowViewSelected(vh, selected); in onRowViewSelected() 727 updateActionContainer(vh, selected); in onRowViewSelected() 731 private void updateActionContainer(ViewHolder vh, boolean selected) { in updateActionContainer() argument 732 ScheduleRowViewHolder viewHolder = (ScheduleRowViewHolder) vh; in updateActionContainer()
|
D | SeriesScheduleRowPresenter.java | 68 protected void onBindRowViewHolder(ViewHolder vh, Object item) { in onBindRowViewHolder() argument 69 super.onBindRowViewHolder(vh, item); in onBindRowViewHolder() 70 SeriesScheduleRowViewHolder viewHolder = (SeriesScheduleRowViewHolder) vh; in onBindRowViewHolder()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | DialogAdapter.java | 47 final ViewHolder vh = new ViewHolder(v); in onCreateViewHolder() local 55 Setting s = vh.mSetting; in onCreateViewHolder() 72 return vh; in onCreateViewHolder()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesDeletionFragment.java | 204 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onCreateActionsStylist() 205 super.onBindViewHolder(vh, action); in onCreateActionsStylist() 209 LayoutParams lp = vh.itemView.getLayoutParams(); in onCreateActionsStylist() 213 vh.itemView.setLayoutParams( in onCreateActionsStylist()
|
D | DvrPrioritySettingsFragment.java | 211 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onCreateActionsStylist() 212 super.onBindViewHolder(vh, action); in onCreateActionsStylist() 213 updateItem(vh.itemView, (int) action.getId()); in onCreateActionsStylist()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | SetupSourcesFragment.java | 404 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onBindViewHolder() argument 405 super.onBindViewHolder(vh, action); in onBindViewHolder() 406 TextView descriptionView = vh.getDescriptionView(); in onBindViewHolder() 422 setAccessibilityDelegate(vh, action); in onBindViewHolder()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | EnterPasswordState.java | 110 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onCreateActionsStylist() argument 111 super.onBindViewHolder(vh, action); in onCreateActionsStylist() 113 PasswordViewHolder viewHolder = (PasswordViewHolder) vh; in onCreateActionsStylist()
|
D | SelectWifiState.java | 139 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onCreateActionsStylist() 140 super.onBindViewHolder(vh, action); in onCreateActionsStylist() 144 vh.getIconView().setImageLevel(wifiAction.getIconLevel()); in onCreateActionsStylist()
|