/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | Binding.java | 77 ModelClass viewType = mTarget.getResolvedType(); in resolveSetterCall() local 78 if (viewType != null && viewType.extendsViewStub()) { in resolveSetterCall() 86 mSetterCall = new ViewStubDirectCall(mName, viewType, mExpr); in resolveSetterCall() 92 viewType, mExpr.getResolvedType(), mExpr.getModel().getImports()); in resolveSetterCall() 100 ModelClass viewType = mTarget.getResolvedType(); in getListenerParameter() local 104 if (viewType != null && viewType.extendsViewStub()) { in getListenerParameter() 112 viewType, objectParameter, mExpr.getModel().getImports()); in getListenerParameter() 118 viewType, objectParameter, mExpr.getModel().getImports()); in getListenerParameter() 234 public ViewStubDirectCall(String name, ModelClass viewType, Expr expr) { in ViewStubDirectCall() argument 236 viewType, expr.getResolvedType(), expr.getModel().getImports()); in ViewStubDirectCall() [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 63 ModelClass view1 = mClassAnalyzer.findClass(o1.mKey.viewType, null).erasure(); 64 ModelClass view2 = mClassAnalyzer.findClass(o2.mKey.viewType, null).erasure(); 191 TypeMirror viewType = eraseType(processingEnv, parameters.get(viewIndex).asType()); in addBindingAdapter() local 192 String view = getQualifiedName(viewType); in addBindingAdapter() 378 ModelClass viewType, ModelClass[] valueType) { in getMultiAttributeSetterCalls() argument 381 if (viewType != null && viewType.isGeneric()) { in getMultiAttributeSetterCalls() 382 List<ModelClass> viewGenerics = viewType.getTypeArguments(); in getMultiAttributeSetterCalls() 386 viewType = viewType.erasure(); in getMultiAttributeSetterCalls() 389 viewType, valueType); in getMultiAttributeSetterCalls() 428 ModelClass viewType, ModelClass[] valueType) { in getMatchingMultiAttributeSetters() argument [all …]
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | ResourceBundle.java | 229 for (Map.Entry<String, String> viewType : viewTypes.entrySet()) { in validateMultiResLayouts() 230 BindingTargetBundle target = bundle.getBindingTargetById(viewType.getKey()); in validateMultiResLayouts() 232 String include = includes.get(viewType.getKey()); in validateMultiResLayouts() 234 bundle.createBindingTarget(viewType.getKey(), viewType.getValue(), in validateMultiResLayouts() 239 viewType.getKey(), null, false, null, null, null); in validateMultiResLayouts() 241 .setIncludedLayout(includes.get(viewType.getKey())); in validateMultiResLayouts() 242 bindingTargetBundle.setInterfaceType(viewType.getValue()); in validateMultiResLayouts() 246 target.getFullClassName(), viewType.getValue()); in validateMultiResLayouts() 247 target.setInterfaceType(viewType.getValue()); in validateMultiResLayouts()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceGroupAdapter.java | 305 int viewType = Collections.binarySearch(mPreferenceLayouts, mTempPreferenceLayout); in getItemViewType() local 306 if (viewType < 0) { in getItemViewType() 311 return viewType; in getItemViewType()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ListViewCompat.java | 282 int viewType = 0; in measureHeightOfChildrenCompat() local 286 if (newType != viewType) { in measureHeightOfChildrenCompat() 288 viewType = newType; in measureHeightOfChildrenCompat()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | BaseCardView.java | 530 if (lp.viewType == LayoutParams.VIEW_TYPE_INFO) { in findChildrenViews() 533 } else if (lp.viewType == LayoutParams.VIEW_TYPE_EXTRA) { in findChildrenViews() 805 public int viewType = VIEW_TYPE_MAIN; field in BaseCardView.LayoutParams 814 viewType = a.getInt( in LayoutParams() 843 this.viewType = source.viewType; in LayoutParams()
|
D | ItemBridgeAdapter.java | 300 public final RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 301 if (DEBUG) Log.v(TAG, "onCreateViewHolder viewType " + viewType); in onCreateViewHolder() 302 Presenter presenter = mPresenters.get(viewType); in onCreateViewHolder()
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridActivity.java | 286 public FacetProvider getFacetProvider(int viewType) { in getFacetProvider() argument 288 mAlignmentViewTypeProvider.getItemAlignmentFacet(viewType) : null; in getFacetProvider() 304 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 305 if (DEBUG) Log.v(TAG, "createViewHolder " + viewType);
|
D | GridWidgetTest.java | 1822 public ItemAlignmentFacet getItemAlignmentFacet(int viewType); in getItemAlignmentFacet() argument 1988 public ItemAlignmentFacet getItemAlignmentFacet(int viewType) { in getItemAlignmentFacet() argument 1989 if (viewType == TwoViewTypesProvider.VIEW_TYPE_FIRST) { in getItemAlignmentFacet()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceGroupAdapter.java | 256 public PreferenceViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 257 final PreferenceLayout pl = mPreferenceLayouts.get(viewType); in onCreateViewHolder()
|
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
D | LeanbackListPreferenceDialogFragment.java | 137 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 181 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewAnimationsTest.java | 412 int viewType) { in changeAnimTest() 413 TestViewHolder vh = super.onCreateViewHolder(parent, viewType); in changeAnimTest() 516 int viewType) { in testChangeWithPayload() 517 TestViewHolder vh = super.onCreateViewHolder(parent, viewType); in testChangeWithPayload() 602 int viewType) { in testRecycleDuringAnimations() 604 return super.onCreateViewHolder(parent, viewType); in testRecycleDuringAnimations() 619 public RecyclerView.ViewHolder getRecycledView(int viewType) { in testRecycleDuringAnimations() 620 final RecyclerView.ViewHolder recycledView = super.getRecycledView(viewType); in testRecycleDuringAnimations()
|
D | RecyclerViewBasicTest.java | 250 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in testDontSaveChildrenState() 395 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
D | RecyclerViewLayoutTest.java | 2428 int viewType) { in createOwnerCheckingAdapter() argument 2429 final TestViewHolder2 vh = super.onCreateViewHolder(parent, viewType); in createOwnerCheckingAdapter() 2538 final AtomicInteger viewType = new AtomicInteger(1); 2542 return viewType.get(); 2576 viewType.incrementAndGet(); 2587 assertEquals("View holder's type should match latest type", viewType.get(), 2596 final AtomicInteger viewType = new AtomicInteger(1); 2602 return viewType.get(); 2612 position, viewType.get(), holder.getItemViewType()); 2643 viewType.incrementAndGet(); [all …]
|
D | BaseRecyclerViewInstrumentationTest.java | 245 public RecyclerView.ViewHolder getRecycledView(int viewType) { in setRecyclerView() 246 RecyclerView.ViewHolder viewHolder = super.getRecycledView(viewType); in setRecyclerView() 612 int viewType) { in onCreateViewHolder() argument
|
D | AsyncListUtilLayoutTest.java | 247 public SimpleViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
D | LinearLayoutManagerTest.java | 647 int viewType) { in testRecycleDuringAnimations() 649 final TestViewHolder testViewHolder = super.onCreateViewHolder(parent, viewType); in testRecycleDuringAnimations() 670 public RecyclerView.ViewHolder getRecycledView(int viewType) { in testRecycleDuringAnimations() 671 final RecyclerView.ViewHolder recycledView = super.getRecycledView(viewType); in testRecycleDuringAnimations()
|
D | DefaultItemAnimatorTest.java | 398 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 2328 if (params.viewType == mAdapter.getItemViewType(position)) { in obtainView() 2397 lp.viewType = mAdapter.getItemViewType(position); in setItemViewLayoutParams() 6052 if (lp != null && mRecycler.shouldRecycleViewType(lp.viewType)) { in reclaimViews() 6284 int viewType; field in AbsListView.FlingRunnable.LayoutParams 6326 public LayoutParams(int w, int h, int viewType) { in LayoutParams() argument 6328 this.viewType = viewType; in LayoutParams() 6340 encoder.addProperty("list:viewType", viewType); in encodeProperties() 6450 public boolean shouldRecycleViewType(int viewType) { in shouldRecycleViewType() argument 6451 return viewType >= 0; in shouldRecycleViewType() 6491 if (lp != null && lp.viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER) { in fillActiveViews() [all …]
|
D | ListView.java | 1169 ((LayoutParams) child.getLayoutParams()).viewType)) { in onMeasure() 1202 p.viewType = mAdapter.getItemViewType(position); in measureScrapChild() 1291 ((LayoutParams) child.getLayoutParams()).viewType)) { in measureHeightOfChildren() 1915 p.viewType = mAdapter.getItemViewType(position); in setupChild() 1918 && p.viewType == AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER)) { in setupChild() 1922 if (p.viewType == AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER) { in setupChild() 3101 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) { 3130 if (recycleBin.shouldRecycleViewType(layoutParams.viewType)) { 3949 final boolean isHeading = lp != null && lp.viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER;
|
D | GridView.java | 1072 p.viewType = mAdapter.getItemViewType(0); in onMeasure() 1085 if (mRecycler.shouldRecycleViewType(p.viewType)) { in onMeasure() 1482 p.viewType = mAdapter.getItemViewType(position); in setupChild() 2419 final boolean isHeading = lp != null && lp.viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER; in onInitializeAccessibilityNodeInfoForItem()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | NavigationMenuPresenter.java | 317 int viewType = getItemViewType(position); in getView() local 318 switch (viewType) { in getView()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 4182 public void setMaxRecycledViews(int viewType, int max) { in setMaxRecycledViews() argument 4183 mMaxScrap.put(viewType, max); in setMaxRecycledViews() 4184 final ArrayList<ViewHolder> scrapHeap = mScrap.get(viewType); in setMaxRecycledViews() 4192 public ViewHolder getRecycledView(int viewType) { in getRecycledView() argument 4193 final ArrayList<ViewHolder> scrapHeap = mScrap.get(viewType); in getRecycledView() 4215 final int viewType = scrap.getItemViewType(); in putRecycledView() local 4216 final ArrayList scrapHeap = getScrapHeapForType(viewType); in putRecycledView() 4217 if (mMaxScrap.get(viewType) <= scrapHeap.size()) { in putRecycledView() 4260 private ArrayList<ViewHolder> getScrapHeapForType(int viewType) { in getScrapHeapForType() argument 4261 ArrayList<ViewHolder> scrap = mScrap.get(viewType); in getScrapHeapForType() [all …]
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 1236 ((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/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | GuidedActionAdapter.java | 211 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|