MCPcopy Create free account
hub / github.com/FongMi/TV / getColumn

Method getColumn

app/src/leanback/java/com/fongmi/android/tv/Product.java:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 }
12
13 public static int getColumn() {
14 return Math.abs(PlayerSetting.getSize() - 7);
15 }
16
17 public static int getColumn(Style style) {
18 return style.isLand() ? getColumn() - 1 : getColumn();

Callers 9

getSpecMethod · 0.95
setRecyclerViewMethod · 0.95
addGridMethod · 0.95
checkLastSizeMethod · 0.95
addGridMethod · 0.95
checkLastSizeMethod · 0.95
addVideoMethod · 0.95
setLayoutSizeMethod · 0.95
setLayoutSizeMethod · 0.95

Calls 2

getSizeMethod · 0.95
isLandMethod · 0.45

Tested by

no test coverage detected