/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrScheduleFragment.java | 62 private ProgramImpl mProgram; field in DvrScheduleFragment 70 mProgram = args.getParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM); in onCreate() 75 mProgram != null && mProgram.isEpisodic(), in onCreate() 78 mProgram); in onCreate() 79 SeriesRecording seriesRecording = dvrManager.getSeriesRecording(mProgram); in onCreate() 111 if (mProgram.getStartTimeUtcMillis() <= System.currentTimeMillis()) { in onCreateActions() 117 mProgram.getEndTimeUtcMillis(), in onCreateActions() 120 description = mProgram.getDurationString(context); in onCreateActions() 132 .description(mProgram.getTitle()) in onCreateActions() 140 DvrUiHelper.startRecordingSettingsActivity(getContext(), mProgram); in onTrackedGuidedActionClicked() local [all …]
|
D | DvrAlreadyScheduledFragment.java | 53 private Program mProgram; field in DvrAlreadyScheduledFragment 61 mProgram = getArguments().getParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM); in onAttach() 65 mProgram.getTitle(), in onAttach() 66 mProgram.getSeasonNumber(), in onAttach() 67 mProgram.getEpisodeNumber()); in onAttach() 70 DvrUiHelper.startRecordingSettingsActivity(getContext(), mProgram); in onAttach() local 72 dvrManager.addSchedule(mProgram); in onAttach() 75 mProgram.getTitle(), in onAttach() 76 mProgram.getStartTimeUtcMillis(), in onAttach() 77 mProgram.getEndTimeUtcMillis()); in onAttach() [all …]
|
D | DvrAlreadyRecordedFragment.java | 52 private Program mProgram; field in DvrAlreadyRecordedFragment 60 mProgram = getArguments().getParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM); in onAttach() 64 mProgram.getTitle(), in onAttach() 65 mProgram.getSeasonNumber(), in onAttach() 66 mProgram.getEpisodeNumber()); in onAttach() 69 DvrUiHelper.startRecordingSettingsActivity(getContext(), mProgram); in onAttach() local 71 dvrManager.addSchedule(mProgram); in onAttach() 74 mProgram.getTitle(), in onAttach() 75 mProgram.getStartTimeUtcMillis(), in onAttach() 76 mProgram.getEndTimeUtcMillis()); in onAttach() [all …]
|
D | DvrRecordingSettingsFragment.java | 66 private Program mProgram; field in DvrRecordingSettingsFragment 89 mProgram = getArguments().getParcelable(DvrRecordingSettingsActivity.PROGRAM); in onAttach() 90 if (mProgram == null) { in onAttach() 109 String breadcrumb = mProgram.getTitle(); in onCreateGuidance() 111 String description = mProgram.getEpisodeTitle() + "\n" + mProgram.getDescription(); in onCreateGuidance() 154 long startTimeMs = mProgram.getStartTimeUtcMillis() - startEarlyTimeMs; in onGuidedActionClicked() 157 startEarlyTimeMs = mProgram.getStartTimeUtcMillis() - startTimeMs; in onGuidedActionClicked() 159 long endTimeMs = mProgram.getEndTimeUtcMillis() + endLateTimeMs; in onGuidedActionClicked() 161 new ProgramImpl.Builder(mProgram) in onGuidedActionClicked()
|
D | DvrConflictFragment.java | 174 private Program mProgram; field in DvrConflictFragment.DvrProgramConflictFragment 181 mProgram = args.getParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM); in onCreateView() 183 SoftPreconditions.checkArgument(mProgram != null); in onCreateView() 184 TvInputInfo input = Utils.getTvInputInfoForProgram(getContext(), mProgram); in onCreateView() 191 .getConflictingSchedules(mProgram); in onCreateView() 210 mProgram.getTitle()); in onCreateGuidance()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramImpl.java | 631 private final ProgramImpl mProgram; field in ProgramImpl.Builder 635 mProgram = new ProgramImpl(); in Builder() 637 mProgram.mPackageName = null; in Builder() 638 mProgram.mChannelId = Channel.INVALID_ID; in Builder() 639 mProgram.mTitle = null; in Builder() 640 mProgram.mSeasonNumber = null; in Builder() 641 mProgram.mSeasonTitle = null; in Builder() 642 mProgram.mEpisodeNumber = null; in Builder() 643 mProgram.mStartTimeUtcMillis = -1; in Builder() 644 mProgram.mEndTimeUtcMillis = -1; in Builder() [all …]
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelCardView.java | 51 private Program mProgram; field in ChannelCardView 107 mProgram = null; in updateProgram() 111 if (!Objects.equals(currentProgram, mProgram)) { in updateProgram() 112 mProgram = currentProgram; in updateProgram() 113 if (mProgram == null || TextUtils.isEmpty(mProgram.getTitle())) { in updateProgram() 118 setText(mProgram.getTitle()); in updateProgram() 122 if (mProgram == null) { in updateProgram() 128 long startTime = mProgram.getStartTimeUtcMillis(); in updateProgram() 129 long endTime = mProgram.getEndTimeUtcMillis(); in updateProgram() 141 || !parental.isRatingBlocked(mProgram.getContentRatings())) { in updateProgram() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | EpisodicProgramRow.java | 29 private final Program mProgram; field in EpisodicProgramRow 38 mProgram = program; in EpisodicProgramRow() 43 return mProgram; in getProgram() 48 return mProgram.getChannelId(); in getChannelId() 53 return mProgram.getStartTimeUtcMillis(); in getStartTimeMs() 58 return mProgram.getEndTimeUtcMillis(); in getEndTimeMs() 63 return ScheduledRecording.builder(mInputId, mProgram); in createNewScheduleBuilder() 68 return DvrUiHelper.getStyledTitleWithEpisodeNumber(context, mProgram, 0).toString(); in getProgramTitleWithEpisodeNumber() 73 return mProgram.getEpisodeDisplayTitle(context); in getEpisodeDisplayTitle() 79 && mProgram.getId() == schedule.getProgramId(); in matchSchedule() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 50 private RecordedProgram mProgram; field in DvrPlayer 134 if (mProgram == null) { in prepare() 139 mTvView.timeShiftPlay(mProgram.getInputId(), mProgram.getUri()); in prepare() 196 if (mTimeShiftCurrentPositionMs >= mProgram.getDurationMillis() - SEEK_POSITION_MARGIN_MS) { in fastForward() 234 if (mProgram == null || mPlaybackState == PlaybackState.STATE_NONE) { in seekTo() 258 mProgram = null; in reset() 314 if (mProgram != null && mProgram.equals(program)) { in setProgram() 321 mProgram = program; in setProgram() 326 return mProgram; in getProgram() 421 return Math.max(0, Math.min(seekPositionMs, mProgram.getDurationMillis() - endMarginMs)); in getRealSeekPosition() [all …]
|
D | DvrPlaybackOverlayFragment.java | 75 private RecordedProgram mProgram; field in DvrPlaybackOverlayFragment 273 if (mProgram != null) { in onActivityCreated() 383 mProgram = getProgramFromIntent(intent); in handleIntent() 384 if (mProgram == null) { in handleIntent() 445 mMediaSessionHelper.setupPlayback(mProgram, getSeekTimeFromIntent(intent)); in preparePlayback() 455 long programId = mProgram.getId(); in updateRelatedRecordingsRow() 456 String seriesId = mProgram.getSeriesId(); in updateRelatedRecordingsRow() 536 return (mProgram != null && mProgram.isPartial()) in getProgramStartTimeMs() 537 ? mProgram.getStartTimeUtcMillis() in getProgramStartTimeMs()
|
/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/ |
D | GLES20TriangleRenderer.java | 52 GLES20.glUseProgram(mProgram); in onDrawFrame() 93 mProgram = createProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 94 if (mProgram == 0) { in onSurfaceCreated() 97 maPositionHandle = GLES20.glGetAttribLocation(mProgram, "aPosition"); in onSurfaceCreated() 102 maTextureHandle = GLES20.glGetAttribLocation(mProgram, "aTextureCoord"); in onSurfaceCreated() 108 muMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix"); in onSurfaceCreated() 245 private int mProgram; field in GLES20TriangleRenderer
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordedProgramPresenter.java | 39 private RecordedProgram mProgram; field in RecordedProgramPresenter.RecordedProgramViewHolder 62 / mProgram.getDurationMillis()))); in setProgressBar() 67 if (programId == mProgram.getId()) { in onWatchedPositionChanged() 74 mProgram = program; in onBound() 86 mDvrWatchedPositionManager.removeListener(this, mProgram.getId()); in onUnbound()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/activity/blurredbackground/ |
D | BlurredSurfaceRenderer.java | 51 private BlurTextureProgram mProgram; field in BlurredSurfaceRenderer 105 mProgram = new BlurTextureProgram( in onDrawFrame() 113 mProgram.render(); in onDrawFrame() 134 if (mProgram != null) { in onPause() 135 mProgram.cleanupResources(); in onPause()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 73 private ProgramImpl mProgram; field in ProgramDetailsFragment 157 mProgram = program; in onLoadDetails() 167 setDetailsOverviewRow(DetailsContent.createFromProgram(getContext(), mProgram)); in onLoadDetails() local 204 && mDvrManager.isProgramRecordable(mProgram)) { in onCreateActionsAdapter() 230 if (!mProgram.isEpisodic() && mDvrFlags.startEarlyEndLateEnabled()) { in onCreateOnActionClickedListener() 231 DvrUiHelper.startRecordingSettingsActivity(getContext(), mProgram); in onCreateOnActionClickedListener() local 238 getActivity(), mProgram, false)); in onCreateOnActionClickedListener() local 296 if (recording.getProgramId() == mProgram.getId()) {
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | WatchedProgram.java | 22 private final Program mProgram; field in WatchedProgram 27 mProgram = program; in WatchedProgram() 45 return mProgram; in getProgram()
|
/packages/services/Car/car-evs-helper-lib/src/com/android/car/internal/evs/ |
D | GLES20CarEvsBufferRenderer.java | 93 private int mProgram; field in GLES20CarEvsBufferRenderer 185 GLES20.glUseProgram(mProgram); in onDrawFrame() 188 int matrix = GLES20.glGetUniformLocation(mProgram, "cameraMat"); in onDrawFrame() 213 int sampler = GLES20.glGetUniformLocation(mProgram, "tex"); in onDrawFrame() 252 mProgram = buildShaderProgram(mVertexShader, mFragmentShader); in onSurfaceCreated() 253 if (mProgram == 0) { in onSurfaceCreated()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | UnrecognizedColumnsTest.java | 28 private Program mProgram; field in UnrecognizedColumnsTest 95 assertEquals(mProgram.id, cursor.getLong(0)); in testUnrecognizedColumns() 106 mProgram = new Program(1, MY_PACKAGE); in insertPrograms() 107 Utils.insertPrograms(mResolver, myChannelId, mProgram); in insertPrograms()
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 321 private final int mProgram; field in ColorsGLRenderer.Square 383 mProgram = buildProgram(vertexShaderCode, fragmentShaderCode); in Square() 386 glUseProgram(mProgram); in Square() 387 checkGlError("glUseProgram(" + mProgram + ")"); in Square() 390 mPositionHandle = glGetAttribLocation(mProgram, "a_position"); in Square() 401 mColorHandle = glGetAttribLocation(mProgram, "a_color"); in Square()
|
/packages/apps/TV/src/com/android/tv/ |
D | MediaSessionWrapper.java | 277 private final Program mProgram; field in MediaSessionWrapper.ProgramPosterArtCallback 287 mProgram = program; in ProgramPosterArtCallback() 293 if (((MainActivity) sessionWrapper.mContext).isNowPlayingProgram(mChannel, mProgram)) { in onBitmapLoaded() 294 sessionWrapper.updatePosterArt(mChannel, mProgram, mCardTitleText, posterArt, null); in onBitmapLoaded()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ChannelInfo.java | 229 private ProgramInfo mProgram; field in ChannelInfo.Builder 249 mProgram = other.program; in Builder() 303 mProgram = program; in setProgram() 344 mProgram, in build()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 218 private EitItem mProgram; field in TunerSessionWorkerExoV2 988 mProgram = null; in handleMessageScheduleOfPrograms() 997 if (mProgram != null && mProgram.compareTo(item) == 0) { in handleMessageScheduleOfPrograms() 1000 mProgram = item; in handleMessageScheduleOfPrograms() 1035 && mProgram == null) { in handleMessageProgramDataResult() 1764 mProgram = null; in prepareTune() 1919 && (mProgram == null in getCurrentProgram() 1920 || first.getStartTimeUtcMillis() < mProgram.getStartTimeUtcMillis())) { in getCurrentProgram()
|
D | TunerSessionWorker.java | 219 private EitItem mProgram; field in TunerSessionWorker 1008 mProgram = null; in handleMessageScheduleOfPrograms() 1017 if (mProgram != null && mProgram.compareTo(item) == 0) { in handleMessageScheduleOfPrograms() 1020 mProgram = item; in handleMessageScheduleOfPrograms() 1055 && mProgram == null) { in handleMessageProgramDataResult() 1830 mProgram = null; in prepareTune() 1996 && (mProgram == null in getCurrentProgram() 1997 || first.getStartTimeUtcMillis() < mProgram.getStartTimeUtcMillis())) { in getCurrentProgram()
|