/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ViewTransformationHelper.java | 86 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/ |
D | PermissionListAdapter.java | 50 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()
|
D | DeviceListAdapter.java | 58 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/ |
D | PluginInflateContainer.java | 63 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/ |
D | RemoteCollectionItemsAdapter.java | 129 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/ |
D | CustomInterpolatorTransformation.java | 33 public CustomInterpolatorTransformation(int viewType) { in CustomInterpolatorTransformation() argument 34 mViewType = viewType; in CustomInterpolatorTransformation()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 78 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/ |
D | PreferenceGroupAdapter.java | 314 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/ |
D | NotificationMemoryViewWalker.kt | 38 fun build(viewType: ViewType): NotificationViewUsage { in <lambda>() 40 viewType = viewType, in <lambda>()
|
D | NotificationMemory.kt | 63 val viewType: ViewType, constant in com.android.systemui.statusbar.notification.logging.NotificationViewUsage
|
D | NotificationMemoryDumper.kt | 157 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/ |
D | HeaderRecyclerView.java | 122 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/ |
D | RecyclerItemAdapter.java | 93 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/ |
D | RvArrayAdapter.java | 46 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
|
D | RvBoxAdapter.java | 61 public RvBoxAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 3059 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/ |
D | RecentTasksAdapter.kt | 37 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecentTaskViewHolder { in onCreateViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlAdapter.kt | 94 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/ |
D | RecyclerViewActivity.java | 60 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | RecyclerViewCaptureHelperTest.java | 77 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoDialog.java | 77 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelSlicesAdapter.java | 60 public SliceRowViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputAdapter.java | 74 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/ |
D | RecyclerView.java | 5095 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/ |
D | Notification.java | 6475 .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 …]
|