/packages/apps/TV/src/com/android/tv/recommendation/ |
RoutineWatchEvaluator.java | 49 Program currentProgram = cr.getCurrentProgram(); 50 if (currentProgram == null) { 60 long startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() 74 currentProgram, watchedProgram, watchedDurationMs); 80 startTimeDiffMsWithCurrentProgram = currentProgram.getStartTimeUtcMillis() 88 currentProgram, watchedProgram, watchedDurationMs); 95 private static double calculateRoutineWatchScore(Program currentProgram, Program watchedProgram, 97 double timeMatchScore = calculateTimeMatchScore(currentProgram, watchedProgram); 99 currentProgram.getTitle(), watchedProgram.getTitle()); 101 long diffMs = currentProgram.getStartTimeUtcMillis( [all...] |
/packages/apps/TV/src/com/android/tv/ |
MediaSessionWrapper.java | 96 * @param currentProgram The currently playing program. 98 void update(boolean blocked, Channel currentChannel, Program currentProgram) { 116 if (currentProgram != null) { 117 cardTitleText = currentProgram.getTitle(); 118 posterArtUri = currentProgram.getPosterArtUri(); 127 updatePosterArt(currentChannel, currentProgram, cardTitleText, null, posterArtUri); 150 private void updatePosterArt(Channel currentChannel, Program currentProgram, 157 currentProgram, cardTitleText));
|
TimeShiftManager.java | 338 Program currentProgram = mProgramManager.getProgramAt( 340 if (currentProgram == null) { 343 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis()); 446 Program currentProgram = getProgramAt(mCurrentPositionMediator.mCurrentPositionMs); 447 if (!Program.isValid(currentProgram)) { 448 currentProgram = null; 450 if (!Objects.equals(mCurrentProgram, currentProgram)) { 451 if (DEBUG) Log.d(TAG, "Current program has been updated. " + currentProgram); 452 mCurrentProgram = currentProgram; [all...] |
/packages/apps/TV/src/com/android/tv/guide/ |
ProgramRow.java | 115 View currentProgram = getCurrentProgramView(); 116 if (currentProgram == null) { 117 currentProgram = getChildAt(0); 120 mChildFocusListener.onChildFocus(null, currentProgram);
|
ProgramManager.java | 528 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId()); 529 if (currentProgram != null && currentProgram.getCanonicalGenres() != null) { 530 for (String genre : currentProgram.getCanonicalGenres()) {
|
/packages/apps/TV/src/com/android/tv/data/ |
ProgramDataManager.java | 376 long channelId, Program currentProgram) { 378 if (!Program.isValid(currentProgram)) { 394 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram 402 if (cachedProgram.getStartTimeUtcMillis() < currentProgram 406 currentProgram.getStartTimeUtcMillis())); 407 i.add(currentProgram); 409 i.set(currentProgram); 411 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) { 413 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(), 420 // currentProgram would not have a chance to be inserted to the cache [all...] |
/packages/apps/TV/src/com/android/tv/menu/ |
ChannelCardView.java | 106 Program currentProgram = 108 if (!Objects.equals(currentProgram, mProgram)) { 109 mProgram = currentProgram;
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
ProgramDataManagerTest.java | 140 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId); 142 assertTrue(currentProgram.getStartTimeUtcMillis() <= mClock.currentTimeMillis() 143 && mClock.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis()); 201 Program currentProgram = mProgramDataManager.getCurrentProgram(testChannelId); 202 assertProgramEquals(nextProgramStartTimeMs, nextProgramInfo, currentProgram); 203 assertEquals(listener.updatedProgram, currentProgram);
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
TunerRecordingSessionWorker.java | 430 PsipData.EitItem currentProgram = getCurrentProgram(items); 431 if (currentProgram == null || !currentProgram.hasCaptionTrack() 432 || mCurrenProgram != null && mCurrenProgram.compareTo(currentProgram) == 0) { 435 mCurrenProgram = currentProgram; 436 mCaptionTracks = new ArrayList<>(currentProgram.getCaptionTracks()); 439 + currentProgram);
|
TunerSessionWorker.java | [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrUiHelper.java | 450 Program currentProgram) { 459 showViewScheduleOptionInDialog, currentProgram); 470 showViewScheduleOptionInDialog, currentProgram); 492 Program currentProgram) { 504 intent.putExtra(DvrSeriesSettingsActivity.CURRENT_PROGRAM, currentProgram);
|
/packages/apps/TV/src/com/android/tv/ui/ |
TunableTvView.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLState.java | 322 IGLProperty currentProgram = new GLIntegerProperty(GLStateType.CURRENT_PROGRAM, 360 currentProgram, programs);
|
/external/swiftshader/src/OpenGL/libGL/ |
Context.cpp | 150 mState.currentProgram = 0; 206 if(mState.currentProgram != 0) 208 Program *programObject = mResourceManager->getProgram(mState.currentProgram); 213 mState.currentProgram = 0; 984 GLuint priorProgram = mState.currentProgram; 985 mState.currentProgram = program; // Must switch before trying to delete, otherwise it only gets flagged. 1145 return mResourceManager->getProgram(mState.currentProgram); [all...] |
Context.h | 494 GLuint currentProgram;
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Context.cpp | 159 mState.currentProgram = 0; 190 if(mState.currentProgram != 0) 192 Program *programObject = mResourceManager->getProgram(mState.currentProgram); 197 mState.currentProgram = 0; 1319 GLuint priorProgram = mState.currentProgram; 1320 mState.currentProgram = program; // Must switch before trying to delete, otherwise it only gets flagged. [all...] |
Context.h | 413 GLuint currentProgram;
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 245 GLint currentProgram() const { return m_currentProgram; }
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
GL2Encoder.cpp | [all...] |