Searched refs:isGame (Results 1 – 2 of 2) sorted by relevance
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | LeanbackLauncherStrategy.java | 215 return launchApp(this, app, packageName, isGame(packageName)); in launch() 389 String packageName, boolean isGame) { in launchApp() argument 390 return launchApp(launcherStrategy, app, packageName, isGame, MAX_SCROLL_ATTEMPTS); in launchApp() 394 String packageName, boolean isGame, int maxScrollAttempts) { in launchApp() argument 407 if (isGame) { in launchApp() 748 private boolean isGame(String packageName) { in isGame() method in LeanbackLauncherStrategy 749 boolean isGame = false; in isGame() 757 isGame = ((appInfo.flags & ApplicationInfo.FLAG_IS_GAME) != 0) || in isGame() 759 Log.i(LOG_TAG, String.format("The package %s isGame: %b", packageName, isGame)); in isGame() 766 return isGame; in isGame()
|
D | TvLauncherStrategy.java | 430 return launchApp(this, appName, packageName, isGame(packageName)); in launch() 714 String packageName, boolean isGame) { 792 private boolean isGame(String packageName) { 793 boolean isGame = false; 801 isGame = (appInfo.metaData != null && appInfo.metaData.getBoolean("isGame", false)) 803 Log.i(LOG_TAG, String.format("The package %s isGame: %b", packageName, isGame)); 810 return isGame;
|