Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java55 public void setCustomTransformation(CustomTransformation transformation, int viewType) { in setCustomTransformation() argument
56 mCustomTransformations.put(viewType, transformation); in setCustomTransformation()
108 for (Integer viewType : mTransformedViews.keySet()) { in transformTo()
109 TransformState ownState = getCurrentState(viewType); in transformTo()
111 CustomTransformation customTransformation = mCustomTransformations.get(viewType); in transformTo()
117 TransformState otherState = notification.getCurrentState(viewType); in transformTo()
165 for (Integer viewType : mTransformedViews.keySet()) { in transformFrom()
166 TransformState ownState = getCurrentState(viewType); in transformFrom()
168 CustomTransformation customTransformation = mCustomTransformations.get(viewType); in transformFrom()
174 TransformState otherState = notification.getCurrentState(viewType); in transformFrom()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPluginInflateContainer.java62 String viewType = a.getString(R.styleable.PluginInflateContainer_viewType); in PluginInflateContainer() local
64 mClass = Class.forName(viewType); in PluginInflateContainer()
66 Log.d(TAG, "Problem getting class info " + viewType, e); in PluginInflateContainer()
/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/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/packages/SystemUI/shared/src/com/android/systemui/shared/recents/
DIOverviewProxy.aidl115 void onTip(int actionType, int viewType) = 10; in onTip() argument
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/
DCarVolumeItemAdapter.java44 int viewType) { in onCreateViewHolder() argument
/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/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java212 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
215 if (viewType == TYPE_HEADER) { in onCreateViewHolder()
218 if (viewType == TYPE_DIVIDER) { in onCreateViewHolder()
221 if (viewType == TYPE_EDIT) { in onCreateViewHolder()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4974 public void setMaxRecycledViews(int viewType, int max) { in setMaxRecycledViews() argument
4975 ScrapData scrapData = getScrapDataForType(viewType); in setMaxRecycledViews()
4988 public int getRecycledViewCount(int viewType) { in getRecycledViewCount() argument
4989 return getScrapDataForType(viewType).mScrapHeap.size(); in getRecycledViewCount()
4992 public ViewHolder getRecycledView(int viewType) { in getRecycledView() argument
4993 final ScrapData scrapData = mScrap.get(viewType); in getRecycledView()
5013 final int viewType = scrap.getItemViewType(); in putRecycledView() local
5014 final ArrayList scrapHeap = getScrapDataForType(viewType).mScrapHeap; in putRecycledView()
5015 if (mScrap.get(viewType).mMaxScrap <= scrapHeap.size()) { in putRecycledView()
5032 void factorInCreateTime(int viewType, long createTimeNs) { in factorInCreateTime() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1757 int viewType = VISIBLE_TYPE_EXPANDED;
1759 viewType = VISIBLE_TYPE_CONTRACTED;
1761 return getViewHeight(viewType) + getExtraRemoteInputHeight(mExpandedRemoteInput);
1765 int viewType = VISIBLE_TYPE_HEADSUP;
1767 viewType = VISIBLE_TYPE_CONTRACTED;
1771 return getViewHeight(viewType, forceNoHeader)
/frameworks/base/core/java/android/widget/
DAbsListView.java2387 if (params.viewType == mAdapter.getItemViewType(position)) { in obtainView()
2456 lp.viewType = mAdapter.getItemViewType(position); in setItemViewLayoutParams()
6367 if (lp != null && mRecycler.shouldRecycleViewType(lp.viewType)) { in reclaimViews()
6680 int viewType; field in AbsListView.FlingRunnable.LayoutParams
6726 public LayoutParams(int w, int h, int viewType) { in LayoutParams() argument
6728 this.viewType = viewType; in LayoutParams()
6740 encoder.addProperty("list:viewType", viewType); in encodeProperties()
6851 public boolean shouldRecycleViewType(int viewType) { in shouldRecycleViewType() argument
6852 return viewType >= 0; in shouldRecycleViewType()
6893 if (lp != null && lp.viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER) { in fillActiveViews()
[all …]
DListView.java1304 ((LayoutParams) child.getLayoutParams()).viewType)) { in onMeasure()
1337 p.viewType = mAdapter.getItemViewType(position); in measureScrapChild()
1428 ((LayoutParams) child.getLayoutParams()).viewType)) { in measureHeightOfChildren()
2110 p.viewType = mAdapter.getItemViewType(position); in setupChild()
2134 && p.viewType == AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER)) { in setupChild()
2146 if (p.viewType == AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER) { in setupChild()
3291 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
3320 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) {
4145 final boolean isHeading = lp != null && lp.viewType == ITEM_VIEW_TYPE_HEADER_OR_FOOTER;
DGridView.java1092 p.viewType = mAdapter.getItemViewType(0); in onMeasure()
1106 if (mRecycler.shouldRecycleViewType(p.viewType)) { in onMeasure()
1504 p.viewType = mAdapter.getItemViewType(position); in setupChild()
2444 final boolean isHeading = lp != null && lp.viewType == ITEM_VIEW_TYPE_HEADER_OR_FOOTER; in onInitializeAccessibilityNodeInfoForItem()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java1236 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1; in obtainView()
1260 sglp.viewType = positionViewType; in obtainView()
1403 int viewType; field in StaggeredGridView.LayoutParams
1515 ArrayList<View> scrap = mScrapViews[lp.viewType]; in addScrap()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3174 int viewType = getItemViewType(position);
3175 if (viewType == VIEW_TYPE_CONTENT_PREVIEW || viewType == VIEW_TYPE_AZ_LABEL) {
3246 int viewType = getItemViewType(position);
3248 if (viewType == VIEW_TYPE_CONTENT_PREVIEW) {
3252 if (viewType == VIEW_TYPE_PROFILE) {
3256 if (viewType == VIEW_TYPE_AZ_LABEL) {
3261 holder = createViewHolder(viewType, parent);
3397 RowViewHolder createViewHolder(int viewType, ViewGroup parent) {
3398 if (viewType == VIEW_TYPE_DIRECT_SHARE) {
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java205 public UserAdapterViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java302 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
305 if (viewType == 0) { in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java264 public Holder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
/frameworks/native/vulkan/api/
Dvulkan.api3959 VkImageViewType viewType