Home
last modified time | relevance | path

Searched refs:program (Results 1 – 14 of 14) sorted by relevance

/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
DGLToolbox.java49 int program = GLES20.glCreateProgram(); in createProgram() local
50 if (program != 0) { in createProgram()
51 GLES20.glAttachShader(program, vertexShader); in createProgram()
53 GLES20.glAttachShader(program, pixelShader); in createProgram()
55 GLES20.glLinkProgram(program); in createProgram()
57 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, in createProgram()
60 String info = GLES20.glGetProgramInfoLog(program); in createProgram()
61 GLES20.glDeleteProgram(program); in createProgram()
65 return program; in createProgram()
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
DGLToolbox.java49 int program = GLES20.glCreateProgram(); in createProgram() local
50 if (program != 0) { in createProgram()
51 GLES20.glAttachShader(program, vertexShader); in createProgram()
53 GLES20.glAttachShader(program, pixelShader); in createProgram()
55 GLES20.glLinkProgram(program); in createProgram()
57 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, in createProgram()
60 String info = GLES20.glGetProgramInfoLog(program); in createProgram()
61 GLES20.glDeleteProgram(program); in createProgram()
65 return program; in createProgram()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
DSyncAdapter.java96 for (ProgramInfo program : channelInfo.programs) { in insertPrograms()
97 durationSumSec += program.durationSec; in insertPrograms()
101 values.put(TvContract.Programs.COLUMN_TITLE, program.title); in insertPrograms()
102 values.put(TvContract.Programs.COLUMN_SHORT_DESCRIPTION, program.description); in insertPrograms()
104 TvContractUtils.contentRatingsToString(program.contentRatings)); in insertPrograms()
105 if (!TextUtils.isEmpty(program.posterArtUri)) { in insertPrograms()
106 values.put(TvContract.Programs.COLUMN_POSTER_ART_URI, program.posterArtUri); in insertPrograms()
112 TvContractUtils.convertVideoInfoToInternalProviderData(program.videoType, in insertPrograms()
113 program.videoUrl)); in insertPrograms()
131 ProgramInfo program = channelInfo.programs.get(j); in insertPrograms() local
[all …]
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
DOpenGLWatchFaceService.java258 private Gles2ColoredTriangleList createHand(Gles2ColoredTriangleList.Program program, in createHand() argument
267 return new Gles2ColoredTriangleList(program, triangleCoords, color); in createHand()
276 Gles2ColoredTriangleList.Program program) { in createMajorTicks() argument
284 return new Gles2ColoredTriangleList(program, trianglesCoords, in createMajorTicks()
300 Gles2ColoredTriangleList.Program program) { in createMinorTicks() argument
314 return new Gles2ColoredTriangleList(program, trianglesCoords, in createMinorTicks()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/watchface/
DOpenGLWatchFaceService.java258 private Gles2ColoredTriangleList createHand(Gles2ColoredTriangleList.Program program, in createHand() argument
267 return new Gles2ColoredTriangleList(program, triangleCoords, color); in createHand()
276 Gles2ColoredTriangleList.Program program) { in createMajorTicks() argument
284 return new Gles2ColoredTriangleList(program, trianglesCoords, in createMajorTicks()
300 Gles2ColoredTriangleList.Program program) { in createMinorTicks() argument
314 return new Gles2ColoredTriangleList(program, trianglesCoords, in createMinorTicks()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/playback/
DWatchNextAdapter.java49 WatchNextProgram program = createWatchNextProgram(channelId, entity, position, duration); in updateProgress() local
56 program.toContentValues()); in updateProgress()
68 program.toContentValues(), in updateProgress()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/util/
DGles2ColoredTriangleList.java82 public Gles2ColoredTriangleList(Program program, float[] triangleCoords, float[] color) { in Gles2ColoredTriangleList() argument
90 mProgram = program; in Gles2ColoredTriangleList()
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/util/
DGles2ColoredTriangleList.java82 public Gles2ColoredTriangleList(Program program, float[] triangleCoords, float[] color) { in Gles2ColoredTriangleList() argument
90 mProgram = program; in Gles2ColoredTriangleList()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java215 public SynthVoice createVoice(int program) { in createVoice() argument
217 if ((program & 1) == 1) { in createVoice()
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
DSynthEngine.java215 public SynthVoice createVoice(int program) { in createVoice() argument
217 if ((program & 1) == 1) { in createVoice()
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSynthEngine.java215 public SynthVoice createVoice(int program) { in createVoice() argument
217 if ((program & 1) == 1) { in createVoice()
/developers/build/prebuilts/gradle/DownloadableFonts/kotlinApp/
DREADME.md67 You can sign up for the beta program so that the beta version of Google Play Services is
68 downloaded to your device. https://developers.google.com/android/guides/beta-program
/developers/build/prebuilts/gradle/EmojiCompat/kotlinApp/
DREADME.md85 [4]: https://developers.google.com/android/guides/beta-program
/developers/build/prebuilts/gradle/EmojiCompat/
DREADME.md95 [4]: https://developers.google.com/android/guides/beta-program