Home
last modified time | relevance | path

Searched refs:viewType (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java86 public void setCustomTransformation(CustomTransformation transformation, int viewType) { in setCustomTransformation() argument
87 mCustomTransformations.put(viewType, transformation); in setCustomTransformation()
139 for (Integer viewType : mTransformedViews.keySet()) { in transformTo()
140 TransformState ownState = getCurrentState(viewType); in transformTo()
142 CustomTransformation customTransformation = mCustomTransformations.get(viewType); in transformTo()
148 TransformState otherState = notification.getCurrentState(viewType); in transformTo()
192 for (Integer viewType : mTransformedViews.keySet()) { in transformFrom()
193 TransformState ownState = getCurrentState(viewType); in transformFrom()
195 CustomTransformation customTransformation = mCustomTransformations.get(viewType); in transformFrom()
201 TransformState otherState = notification.getCurrentState(viewType); in transformFrom()
[all …]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DPermissionListAdapter.java50 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
55 getIcon(mContext, PERMISSION_ICONS.get(viewType))); in onCreateViewHolder()
64 setAccessibility(view, viewType, in onCreateViewHolder()
74 setAccessibility(view, viewType, in onCreateViewHolder()
81 setAccessibility(view, viewType, in onCreateViewHolder()
136 private void setAccessibility(View view, int viewType, int action, int statusResourceId, in setAccessibility() argument
138 final String permission = mContext.getString(PERMISSION_TITLES.get(viewType)); in setAccessibility()
DDeviceListAdapter.java58 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
62 if (viewType == TYPE_WIFI) { in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPluginInflateContainer.java63 String viewType = a.getString(R.styleable.PluginInflateContainer_viewType); in PluginInflateContainer() local
66 mClass = (Class<ViewProvider>) Class.forName(viewType); in PluginInflateContainer()
68 Log.d(TAG, "Problem getting class info " + viewType, e); in PluginInflateContainer()
/frameworks/base/core/java/android/widget/
DRemoteCollectionItemsAdapter.java129 int viewType = IntStream.range(lastViewType + 1, layoutIds.length) in initLayoutIdToViewType() local
136 mLayoutIdToViewType.put(layoutId, viewType); in initLayoutIdToViewType()
138 assignedViewTypes[viewType] = true; in initLayoutIdToViewType()
139 lastViewType = viewType; in initLayoutIdToViewType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DCustomInterpolatorTransformation.java33 public CustomInterpolatorTransformation(int viewType) { in CustomInterpolatorTransformation() argument
34 mViewType = viewType; in CustomInterpolatorTransformation()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java78 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
131 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
133 if (viewType == TYPE_HEADER) { in onCreateViewHolder()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java314 int viewType = Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout); in getItemViewType() local
315 if (viewType < 0) { in getItemViewType()
320 return viewType; in getItemViewType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryViewWalker.kt38 fun build(viewType: ViewType): NotificationViewUsage { in <lambda>()
40 viewType = viewType, in <lambda>()
DNotificationMemory.kt63 val viewType: ViewType, constant in com.android.systemui.statusbar.notification.logging.NotificationViewUsage
DNotificationMemoryDumper.kt157 view.viewType.toString(), in <lambda>()
173 .map { it.viewUsage.firstOrNull { view -> view.viewType == ViewType.TOTAL } } in <lambda>()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java122 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
128 if (viewType == HEADER_VIEW_TYPE) { in onCreateViewHolder()
136 return adapter.onCreateViewHolder(parent, viewType); in onCreateViewHolder()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java93 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
95 final View view = inflater.inflate(viewType, parent, false); in onCreateViewHolder()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvArrayAdapter.java46 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
DRvBoxAdapter.java61 public RvBoxAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3059 ViewHolderBase(View itemView, int viewType) {
3061 this.mViewType = viewType;
3080 ItemViewHolder(View itemView, boolean isClickable, int viewType) {
3081 super(itemView, viewType);
3094 FooterViewHolder(View itemView, int viewType) {
3095 super(itemView, viewType);
3346 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
3347 switch (viewType) {
3349 return new ItemViewHolder(createContentPreviewView(parent), false, viewType);
3351 return new ItemViewHolder(createProfileView(parent), false, viewType);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DRecentTasksAdapter.kt37 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecentTaskViewHolder { in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt94 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): Holder { in <lambda>()
96 return when (viewType) { in <lambda>()
125 else -> throw IllegalStateException("Wrong viewType: $viewType") in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DRecyclerViewActivity.java60 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DRecyclerViewCaptureHelperTest.java77 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoDialog.java77 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelSlicesAdapter.java60 public SliceRowViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputAdapter.java74 int viewType) { in onCreateViewHolder() argument
75 super.onCreateViewHolder(viewGroup, viewType); in onCreateViewHolder()
76 switch (viewType) { in onCreateViewHolder()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5095 public void setMaxRecycledViews(int viewType, int max) { in setMaxRecycledViews() argument
5096 ScrapData scrapData = getScrapDataForType(viewType); in setMaxRecycledViews()
5109 public int getRecycledViewCount(int viewType) { in getRecycledViewCount() argument
5110 return getScrapDataForType(viewType).mScrapHeap.size(); in getRecycledViewCount()
5113 public ViewHolder getRecycledView(int viewType) { in getRecycledView() argument
5114 final ScrapData scrapData = mScrap.get(viewType); in getRecycledView()
5134 final int viewType = scrap.getItemViewType(); in putRecycledView() local
5135 final ArrayList scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView()
5136 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()
5153 void factorInCreateTime(int viewType, long createTimeNs) { in factorInCreateTime() argument
[all …]
/frameworks/base/core/java/android/app/
DNotification.java6475 .viewType(StandardTemplateParams.VIEW_TYPE_NORMAL) in minimallyDecoratedContentView()
6487 .viewType(StandardTemplateParams.VIEW_TYPE_BIG) in minimallyDecoratedBigContentView()
6502 .viewType(StandardTemplateParams.VIEW_TYPE_HEADS_UP) in minimallyDecoratedHeadsUpContentView()
6535 .viewType(StandardTemplateParams.VIEW_TYPE_NORMAL) in createContentView()
6589 .viewType(StandardTemplateParams.VIEW_TYPE_BIG) in createBigContentView()
6632 .viewType(StandardTemplateParams.VIEW_TYPE_GROUP_HEADER) in makeNotificationGroupHeader()
6704 .viewType(StandardTemplateParams.VIEW_TYPE_HEADS_UP) in createHeadsUpContentView()
6729 .viewType(StandardTemplateParams.VIEW_TYPE_HEADS_UP) in createCompactHeadsUpContentView()
6794 .viewType(StandardTemplateParams.VIEW_TYPE_PUBLIC) in makePublicContentView()
6819 .viewType(StandardTemplateParams.VIEW_TYPE_MINIMIZED) in makeLowPriorityContentView()
[all …]

12