HomeSort by relevance Sort by last modified time
    Searched refs:currentProgram (Results 1 - 15 of 15) sorted by null

  /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/guide/
ProgramRow.java 112 View currentProgram = getCurrentProgramView();
113 if (currentProgram == null) {
114 currentProgram = getChildAt(0);
117 mChildFocusListener.onChildFocus(null, currentProgram);
243 View currentProgram = getCurrentProgramView();
244 if (currentProgram != null) {
245 return currentProgram.requestFocus();
ProgramManager.java 383 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId());
384 if (currentProgram != null && currentProgram.getCanonicalGenres() != null) {
385 for (String genre : currentProgram.getCanonicalGenres()) {
  /packages/apps/TV/src/com/android/tv/data/
ProgramDataManager.java 374 long channelId, Program currentProgram) {
376 if (!Program.isValid(currentProgram)) {
392 if (cachedProgram.getEndTimeUtcMillis() <= currentProgram
400 if (cachedProgram.getStartTimeUtcMillis() < currentProgram
404 currentProgram.getStartTimeUtcMillis()));
405 i.add(currentProgram);
407 i.set(currentProgram);
409 if (currentProgram.getEndTimeUtcMillis() < cachedProgram.getEndTimeUtcMillis()) {
411 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(),
418 // currentProgram would not have a chance to be inserted to the cache
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramDataManagerTest.java 131 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId);
133 assertTrue(currentProgram.getStartTimeUtcMillis() <= mClock.currentTimeMillis()
134 && mClock.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis());
191 Program currentProgram = mProgramDataManager.getCurrentProgram(testChannelId);
192 assertProgramEquals(nextProgramStartTimeMs, nextProgramInfo, currentProgram);
193 assertEquals(listener.updatedProgram, currentProgram);
  /packages/apps/TV/src/com/android/tv/
TimeShiftManager.java 339 Program currentProgram = mProgramManager.getProgramAt(
341 if (currentProgram == null) {
344 Program nextProgram = mProgramManager.getProgramAt(currentProgram.getEndTimeUtcMillis());
447 Program currentProgram = getProgramAt(mCurrentPositionMediator.mCurrentPositionMs);
448 if (!Program.isValid(currentProgram)) {
449 currentProgram = null;
451 if (!Objects.equals(mCurrentProgram, currentProgram)) {
452 if (DEBUG) Log.d(TAG, "Current program has been updated. " + currentProgram);
453 mCurrentProgram = currentProgram;
    [all...]
MainActivity.java     [all...]
  /packages/apps/TV/src/com/android/tv/tuner/tvinput/
TunerSessionWorker.java 712 EitItem currentProgram = getCurrentProgram();
713 if (currentProgram == null) {
719 if (currentProgram != null && currentProgram.compareTo(item) == 0) {
    [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 155 mState.currentProgram = 0;
186 if(mState.currentProgram != 0)
188 Program *programObject = mResourceManager->getProgram(mState.currentProgram);
193 mState.currentProgram = 0;
1297 GLuint priorProgram = mState.currentProgram;
1298 mState.currentProgram = program; // Must switch before trying to delete, otherwise it only gets flagged.
    [all...]
Context.h 407 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...]

Completed in 579 milliseconds