/cts/tests/openglperf2/jni/graphics/ |
Program.cpp | 17 Program::Program(GLuint programId) : 18 mProgramId(programId) {
|
PerspectiveProgram.cpp | 21 PerspectiveProgram::PerspectiveProgram(GLuint programId) : 22 Program(programId) { 27 mMVMatrixHandle = glGetUniformLocation(programId, "u_MVMatrix"); 28 mMVPMatrixHandle = glGetUniformLocation(programId, "u_MVPMatrix"); 29 mLightPosHandle = glGetUniformLocation(programId, "u_LightPos");
|
Program.h | 23 explicit Program(GLuint programId);
|
PerspectiveProgram.h | 26 explicit PerspectiveProgram(GLuint programId);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Program.cpp | 32 GLuint programId = glCreateProgram(); 33 glAttachShader(programId, vertexId); 34 glAttachShader(programId, fragmentId); 35 glBindAttribLocation(programId, position, "position"); 36 glBindAttribLocation(programId, texCoords, "texCoords"); 37 glLinkProgram(programId); 40 glGetProgramiv(programId, GL_LINK_STATUS, &status); 44 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); 47 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); 50 glDetachShader(programId, vertexId) [all...] |
/external/skia/src/gpu/gl/builders/ |
GrGLShaderStringBuilder.h | 18 GrGLuint programId,
|
GrGLProgramBuilder.h | 51 GrGLuint programId, 57 void bindProgramResourceLocations(GrGLuint programID); 58 bool checkLinkStatus(GrGLuint programID); 59 void resolveProgramResourceLocations(GrGLuint programID); 60 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 64 GrGLProgram* createProgram(GrGLuint programID);
|
GrGLShaderStringBuilder.cpp | 26 GrGLuint programId, 136 GR_GL_CALL(gli, AttachShader(programId, shaderId));
|
GrGLProgramBuilder.cpp | 73 GrGLuint programId, 80 programId, 106 GrGLuint programID; 107 GL_CALL_RET(programID, CreateProgram()); 108 if (0 == programID) { 121 if (!this->compileAndAttachShaders(fVS, programID, GR_GL_VERTEX_SHADER, &shadersToDelete, 123 this->cleanupProgram(programID, shadersToDelete); 133 GL_CALL(BindAttribLocation(programID, i, primProc.getAttrib(i).fName)); 138 !this->compileAndAttachShaders(fGS, programID, GR_GL_GEOMETRY_SHADER, &shadersToDelete, 140 this->cleanupProgram(programID, shadersToDelete) [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrDbSync.java | 82 Log.d(TAG, "onProgramUpdated: programId=" + ContentUris.parseId(uri)); 207 private void onProgramUpdated(long programId) { 208 addProgramIdToCheckIfNeeded(mDataManager.getScheduledRecordingForProgramId(programId)); 216 long programId = schedule.getProgramId(); 217 if (programId != ScheduledRecording.ID_NOT_SET 218 && !mProgramIdQueue.contains(programId) 221 if (DEBUG) Log.d(TAG, "Program ID enqueued: " + programId); 222 mProgramIdQueue.offer(programId); 246 void handleUpdateProgram(Program program, long programId) { 248 ScheduledRecording schedule = mDataManager.getScheduledRecordingForProgramId(programId); [all...] |
DvrDataManager.java | 179 * Returns the scheduled recording program with the given programId or null if is not found. 182 ScheduledRecording getScheduledRecordingForProgramId(long programId);
|
RecordingTask.java | 322 long programId = mScheduledRecording.getProgramId(); 323 mRecordingSession.startRecording(programId == ScheduledRecording.ID_NOT_SET ? null 324 : TvContract.buildProgramUri(programId));
|
DvrPlaybackMediaSessionHelper.java | 234 private void updateMediaMetadata(final long programId, final String title, 241 builder.putLong(MediaMetadata.METADATA_KEY_MEDIA_ID, programId)
|
DvrDataManagerImpl.java | 531 public ScheduledRecording getScheduledRecordingForProgramId(long programId) { 532 return mProgramId2ScheduledRecordings.get(programId); 681 long programId = r.getProgramId(); 682 if (oldScheduledRecording.getProgramId() != programId 691 if (programId != ScheduledRecording.ID_NOT_SET) { 692 mProgramId2ScheduledRecordings.put(programId, r); [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrPlaybackCardPresenter.java | 64 long programId = ((RecordedProgram) v.getTag()).getId(); 65 if (DEBUG) Log.d(TAG, "Play Related Recording:" + programId); 67 intent.putExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, programId);
|
DvrPlaybackOverlayFragment.java | 240 long programId = mProgram.getId(); 245 if (seriesId.equals(program.getSeriesId()) && programId != program.getId()) { 285 long programId = intent.getLongExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, -1); 286 return mDvrDataManager.getRecordedProgram(programId);
|
RecordedProgramPresenter.java | 75 public void onWatchedPositionChanged(long programId, long positionMs) { 76 if (programId == mProgram.getId()) {
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
FlockingScene.cpp | 48 GLuint programId = GLUtils::createProgram(&vertex, &fragment); 51 if (programId == 0) { 54 mMainProgram = new PerspectiveProgram(programId); 61 programId = GLUtils::createProgram(&vertex, &fragment); 64 if (programId == 0) { 67 mWaterProgram = new PerspectiveProgram(programId);
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
GlowingScene.cpp | 53 GLuint programId = GLUtils::createProgram(&vertex, &fragment); 56 if (programId == 0) { 59 mMainProgram = new PerspectiveProgram(programId); 66 programId = GLUtils::createProgram(&vertex, &fragment); 69 if (programId == 0) { 72 mBlurProgram = new Program(programId);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
SeriesScheduleRowAdapter.java | 119 for (long programId : mPrograms.keySet()) { 121 mDataManager.getScheduledRecordingForProgramId(programId))) { 216 private int findRowIndexByProgramId(long programId) { 220 if (((EpisodicProgramRow) item).getProgram().getId() == programId) {
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
DvrDbSyncTest.java | 113 private void addSchedule(long programId, ScheduledRecording schedule) { 114 when(mDataManager.getScheduledRecordingForProgramId(programId)).thenReturn(schedule);
|
DvrDataManagerInMemoryImpl.java | 261 public ScheduledRecording getScheduledRecordingForProgramId(long programId) { 263 if (r.getProgramId() == programId) {
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvContractTest.java | 556 private void verifyProgram(Uri programUri, ContentValues expectedValues, long programId) { 562 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(Programs._ID))); 589 long programId) { 595 assertEquals(programId, cursor.getLong(cursor.getColumnIndex(PreviewPrograms._ID))); 643 long programId) { 644 verifyPreviewProgram(programUri, expectedValues, programId); [all...] |
/external/deqp/modules/glshared/ |
glsLifetimeTests.cpp | 1008 GLuint programId = 0; 1018 programId = program.getProgram(); 1020 log() << TestLog::Message << "// Created and linked program " << programId 1022 GLU_CHECK_CALL_ERROR(glUseProgram(programId), gl().getError()); 1024 log() << TestLog::Message << "// Deleted program " << programId 1027 TCU_CHECK(glIsProgram(programId)); 1030 glGetProgramiv(programId, GL_DELETE_STATUS, &deleteFlagged); 1034 errors.check(!gl().isProgram(programId), [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
AsyncDbTask.java | 365 public AsyncQueryProgramTask(ContentResolver contentResolver, long programId) { 366 super(contentResolver, TvContract.buildProgramUri(programId), Program.PROJECTION, null,
|