Searched refs:tvh (Results 1 – 4 of 4) sorted by relevance
122 final TypedValue tvh = isPortrait ? mFixedHeightMajor : mFixedHeightMinor; in onMeasure()123 if (tvh != null && tvh.type != TypedValue.TYPE_NULL) { in onMeasure()125 if (tvh.type == TypedValue.TYPE_DIMENSION) { in onMeasure()126 h = (int) tvh.getDimension(metrics); in onMeasure()127 } else if (tvh.type == TypedValue.TYPE_FRACTION) { in onMeasure()128 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels); in onMeasure()
679 final TypedValue tvh = isPortrait ? mWindow.mFixedHeightMajor681 if (tvh != null && tvh.type != TypedValue.TYPE_NULL) {683 if (tvh.type == TypedValue.TYPE_DIMENSION) {684 h = (int) tvh.getDimension(metrics);685 } else if (tvh.type == TypedValue.TYPE_FRACTION) {686 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels);
399 TestViewHolder tvh = (TestViewHolder) vh; in validateViewHolderPositions() local400 log.append(tvh.mBoundItem).append(vh) in validateViewHolderPositions()
2832 TestViewHolder tvh = (TestViewHolder) parent.getChildViewHolder(view); in itemDecorsWithPredictive()2833 Object data = tvh.getData(); in itemDecorsWithPredictive()2834 int adapterPos = tvh.getAdapterPosition(); in itemDecorsWithPredictive()3455 TestViewHolder tvh = (TestViewHolder) vh; in notifyDataSetChangedWithStableIds()3457 tvh.needsUpdate()); in notifyDataSetChangedWithStableIds()3458 assertTrue("view holder should be marked as invalid", tvh.isInvalid()); in notifyDataSetChangedWithStableIds()3469 TestViewHolder tvh = (TestViewHolder) vh; in notifyDataSetChangedWithStableIds()3471 tvh.needsUpdate()); in notifyDataSetChangedWithStableIds()3472 assertTrue("view holder should be marked as invalid", tvh.isInvalid()); in notifyDataSetChangedWithStableIds()3479 TestViewHolder tvh = (TestViewHolder) mRecyclerView in notifyDataSetChangedWithStableIds()[all …]