/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/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/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationViewAdapterTest.java | 149 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() local 152 assertThat(vh.getClass()).isEqualTo(BasicNotificationViewHolder.class); in onCreateViewHolder_carWarningType_shouldReturnObjectOfBasicNotificationViewHolder() 160 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupExpandedType_shouldReturnObjectOfGroupNotificationViewHolder() local 163 assertThat(vh.getClass()).isEqualTo(GroupNotificationViewHolder.class); in onCreateViewHolder_groupExpandedType_shouldReturnObjectOfGroupNotificationViewHolder() 171 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupCollapsed_shouldReturnObjectOfGroupNotificationViewHolder() local 174 assertThat(vh.getClass()).isEqualTo(GroupNotificationViewHolder.class); in onCreateViewHolder_groupCollapsed_shouldReturnObjectOfGroupNotificationViewHolder() 182 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() local 185 assertThat(vh.getClass()).isEqualTo(GroupSummaryNotificationViewHolder.class); in onCreateViewHolder_groupSummaryType_shouldReturnObjectOfGroupSummaryNotificationViewHolder() 193 RecyclerView.ViewHolder vh = mCarNotificationViewAdapter.onCreateViewHolder(null, in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() local 196 assertThat(vh.getClass()).isEqualTo(BasicNotificationViewHolder.class); in onCreateViewHolder_carInformation_shouldReturnObjectOfBasicNotificationViewHolder() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeAdapter.java | 52 ViewHolder vh = new ViewHolder(); in getView() local 56 vh.id = convertView.findViewById(R.id.stream_id); in getView() 57 vh.maxVolume = convertView.findViewById(R.id.volume_limit); in getView() 58 vh.currentVolume = convertView.findViewById(R.id.current_volume); in getView() 59 vh.muteButton = convertView.findViewById(R.id.volume_mute); in getView() 60 vh.upButton = convertView.findViewById(R.id.volume_up); in getView() 61 vh.downButton = convertView.findViewById(R.id.volume_down); in getView() 62 vh.requestButton = convertView.findViewById(R.id.request); in getView() 63 convertView.setTag(vh); in getView() 65 vh = (ViewHolder) convertView.getTag(); in getView() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioInputAdapter.java | 56 ViewHolder vh = new ViewHolder(); in getView() local 60 vh.mDeviceAddress = convertView.findViewById(R.id.input_device_address); in getView() 61 vh.mPlayButton = convertView.findViewById(R.id.play_audio_input); in getView() 62 vh.mStopButton = convertView.findViewById(R.id.stop_audio_input); in getView() 63 vh.mPlayerState = convertView.findViewById(R.id.input_device_state); in getView() 64 convertView.setTag(vh); in getView() 66 vh = (ViewHolder) convertView.getTag(); in getView() 70 vh.mDeviceAddress.setText(deviceAddress); in getView() 72 vh.mPlayButton.setVisibility(View.INVISIBLE); in getView() 73 vh.mStopButton.setVisibility(View.INVISIBLE); in getView() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 187 TileViewHolder vh = (TileViewHolder) holder; in onBindViewHolder() local 188 vh.itemView.setOnClickListener(tile); in onBindViewHolder() 191 vh.itemView.setOnLongClickListener(onLongClickListener); in onBindViewHolder() 193 vh.itemView.setOnLongClickListener(null); in onBindViewHolder() 195 vh.mIcon.setImageDrawable(tile.getIcon()); in onBindViewHolder() 198 vh.mIcon.setEnabled(true); in onBindViewHolder() 199 vh.mIconBackground.setEnabled(true); in onBindViewHolder() 202 vh.mIcon.setEnabled(false); in onBindViewHolder() 203 vh.mIconBackground.setEnabled(false); in onBindViewHolder() 209 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/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 389 public void onBindViewHolder(RecyclerView.ViewHolder vh, int position) { in onBindViewHolder() argument 390 if (vh instanceof QueueViewHolder) { in onBindViewHolder() 395 QueueViewHolder holder = (QueueViewHolder) vh; in onBindViewHolder() 405 } else if (vh instanceof ScrollingLimitedViewHolder) { in onBindViewHolder() 406 ScrollingLimitedViewHolder holder = (ScrollingLimitedViewHolder) vh; in onBindViewHolder() 409 throw new IllegalArgumentException("unknown holder class " + vh.getClass()); in onBindViewHolder() 414 public void onViewAttachedToWindow(@NonNull RecyclerView.ViewHolder vh) { in onViewAttachedToWindow() argument 415 super.onViewAttachedToWindow(vh); in onViewAttachedToWindow() 416 if (vh instanceof QueueViewHolder) { in onViewAttachedToWindow() 417 QueueViewHolder holder = (QueueViewHolder) vh; in onViewAttachedToWindow() [all …]
|
/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()
|
/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | EnterPasswordState.java | 139 public void onBindViewHolder(ViewHolder vh, GuidedAction action) { in onCreateActionsStylist() argument 140 super.onBindViewHolder(vh, action); in onCreateActionsStylist() 142 PasswordViewHolder checkBoxVH = (PasswordViewHolder) vh; in onCreateActionsStylist() 152 mTextInput = (EditText) vh.itemView.findViewById( in onCreateActionsStylist() 162 ViewHolder vh, boolean editing, boolean withTransition) { in onCreateActionsStylist() argument 163 super.onEditingModeChange(vh, editing, withTransition); 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()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
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()
|
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()
|
/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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | SettingsPreferenceFragment.java | 116 PreferenceViewHolder vh = super.onCreateViewHolder(parent, viewType); in onCreateAdapter() 117 vh.itemView.setStateListAnimator(AnimatorInflater.loadStateListAnimator( in onCreateAdapter() 119 return vh; in onCreateAdapter()
|
/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/ |
D | SettingsPreferenceFragment.java | 177 PreferenceViewHolder vh = super.onCreateViewHolder(parent, viewType); in onCreateAdapter() 178 vh.itemView.setStateListAnimator(AnimatorInflater.loadStateListAnimator( in onCreateAdapter() 180 return vh; in onCreateAdapter()
|