Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getSpec
Method · 0.95
setRecyclerView
Method · 0.95
addGrid
Method · 0.95
checkLastSize
Method · 0.95
addGrid
Method · 0.95
checkLastSize
Method · 0.95
addVideo
Method · 0.95
setLayoutSize
Method · 0.95
setLayoutSize
Method · 0.95
Calls
2
getSize
Method · 0.95
isLand
Method · 0.45
Tested by
no test coverage detected