Skip to content

Commit 9069ee8

Browse files
committed
Fix typos/spacing with new APIs.
Change-Id: I26b772e8e29b12381042fb50c6dfa9df012b3f63
1 parent 5b79842 commit 9069ee8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

graphics/java/android/renderscript/Allocation.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2008 The Android Open Source Project
2+
* Copyright (C) 2008-2012 The Android Open Source Project
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -131,7 +131,7 @@ public class Allocation extends BaseObj {
131131
public static final int USAGE_GRAPHICS_RENDER_TARGET = 0x0010;
132132

133133
/**
134-
* USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
134+
* USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allocation will be
135135
* used with a SurfaceTexture object. This usage will cause the
136136
* allocation to be created read only.
137137
*
@@ -140,18 +140,18 @@ public class Allocation extends BaseObj {
140140
public static final int USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT_OPAQUE = 0x0020;
141141

142142
/**
143-
* USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
143+
* USAGE_IO_INPUT The allocation will be
144144
* used with a SurfaceTexture object. This usage will cause the
145145
* allocation to be created read only.
146146
*
147147
* @hide
148148
*/
149-
150149
public static final int USAGE_IO_INPUT = 0x0040;
150+
151151
/**
152-
* USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
152+
* USAGE_IO_OUTPUT The allocation will be
153153
* used with a SurfaceTexture object. This usage will cause the
154-
* allocation to be created read only.
154+
* allocation to be created write only.
155155
*
156156
* @hide
157157
*/

0 commit comments

Comments
 (0)