Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Summary: title

Reviewed By: pentiumao

Differential Revision: D60528314

fbshipit-source-id: b305cb4f30d0bda897c1345e0d4577366ab704bf
  • Loading branch information
Fabio Carballo authored and facebook-github-bot committed Aug 1, 2024
1 parent 6f11ff5 commit 79c5309
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2801,15 +2801,6 @@ void initRange(int width, int height, ComponentTreeHolderRangeInfo holderRangeIn
}
}

private void setRangeSize(int itemWidth, int itemHeight, int width, int height) {
if (mHasManualEstimatedViewportCount) {
throw new RuntimeException(
"Cannot override range size when manual estimated viewport count is set");
}
mEstimatedViewportCount =
Math.max(mLayoutInfo.approximateRangeSize(itemWidth, itemHeight, width, height), 1);
}

@GuardedBy("this")
private void resetMeasuredSize(int width) {
// we will set a range anyway if it's null, no need to do this now.
Expand Down

0 comments on commit 79c5309

Please sign in to comment.