/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
UIProviderValidator.java | 35 * Validates and returns the projection that can be used for an account query. 37 public static String[] validateAccountProjection(String[] projection) { 38 return getValidProjection(projection, UIProvider.ACCOUNTS_PROJECTION); 42 * Validates and returns the projection that can be used for a folder query. 44 public static String[] validateFolderProjection(String[] projection) { 45 return getValidProjection(projection, UIProvider.FOLDERS_PROJECTION); 49 * Validates and returns the projection that can be used for a account cookie query. 51 public static String[] validateAccountCookieProjection(String[] projection) { 52 return getValidProjection(projection, UIProvider.ACCOUNT_COOKIE_PROJECTION); 56 * Validates and returns the projection that can be used for a conversation query [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCursorLoader.java | 14 private String[] projection; field in class:ShadowCursorLoader 23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 26 this.projection = projection; 44 return projection; 48 public void setProjection(String[] projection) { 49 this.projection = projection;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, 38 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, 50 cursor = new EmptyCursor(projectionCookie.projection); 58 * Class to add projection to an existing cookie. 62 public final String[] projection; field in class:NoNullCursorAsyncQueryHandler.CookieWithProjection 64 public CookieWithProjection(Object cookie, String[] projection) { 66 this.projection = projection;
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
ProgramNode.cpp | 21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 22 program.before(model, view, projection); 25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 26 program.after(model, view, projection); 29 void ProgramNode::drawProgram(Matrix& model, Matrix& view, Matrix& projection) { 30 SceneGraphNode::draw(mProgram, model, view, projection);
|
SceneGraphNode.cpp | 26 void SceneGraphNode::draw(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 27 before(program, model, view, projection); 29 mChildren[i]->draw(program, model, view, projection); 31 after(program, model, view, projection);
|
Program.cpp | 21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { 25 void Program::after(Matrix& model, Matrix& view, Matrix& projection) {
|
Program.h | 25 virtual void before(Matrix& model, Matrix& view, Matrix& projection); 26 virtual void after(Matrix& model, Matrix& view, Matrix& projection);
|
ProgramNode.h | 25 void drawProgram(Matrix& model, Matrix& view, Matrix& projection); 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection); 28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
SceneGraphNode.h | 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 29 void draw(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
PerspectiveMeshNode.cpp | 23 void PerspectiveMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 50 // This multiplies the modelview matrix by the projection matrix, and stores the result in 51 // the MVP matrix (which now contains model * view * projection). 52 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); 64 void PerspectiveMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CursorLoaderTest.java | 18 String[] projection = new String[] { "_id", "TestColumn" }; local 24 projection, 30 assertThat(cursorLoader.getProjection(), equalTo(projection)); 39 String[] projection = new String[] { "_id", "TestColumn" }; local 45 cursorLoader.setProjection(projection); 51 assertThat(cursorLoader.getProjection(), equalTo(projection));
|
/frameworks/base/docs/html/training/graphics/opengl/ |
projection.jd | 1 page.title=Applying Projection and Camera Views 8 next.title=Applying Projection and Camera Views 9 next.link=projection.html 18 <li><a href="#projection">Define a Projection</a></li> 20 <li><a href="#transform">Apply Projection and Camera Transformations</a></li> 37 <p>In the OpenGL ES environment, projection and camera views allow you to display drawn objects in a 42 <li><em>Projection</em> - This transformation adjusts the coordinates of drawn objects based on 45 window. A projection transformation typically only has to be calculated when the proportions of the 60 <p>This lesson describes how to create a projection and camera view and apply it to shapes drawn i [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DeletedContactUtil.java | 36 String[] projection = new String[]{ local 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 48 String[] projection = new String[] { local 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 64 public static List<String[]> query(ContentResolver resolver, String[] projection) { 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 74 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, 78 Cursor cursor = resolver.query(URI, projection, selection, args, null);
|
ContactUtil.java | 45 String[] projection = new String[]{ local 49 Cursor cursor = resolver.query(uri, projection, null, null, null); 57 String[] projection = new String[]{ local 62 Cursor cursor = resolver.query(uri, projection, null, null, null);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DeletedContactUtil.java | 36 String[] projection = new String[]{ local 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 48 String[] projection = new String[] { local 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 64 public static List<String[]> query(ContentResolver resolver, String[] projection) { 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 74 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, 78 Cursor cursor = resolver.query(URI, projection, selection, args, null);
|
ContactUtil.java | 45 String[] projection = new String[]{ local 49 Cursor cursor = resolver.query(uri, projection, null, null, null); 57 String[] projection = new String[]{ local 62 Cursor cursor = resolver.query(uri, projection, null, null, null);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 10 public String[] projection; field in class:SimpleTestCursor 20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 22 this.projection = projection;
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/ |
depth_fs.glsl | 4 // Near and far planes from the projection
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoPagerLoader.java | 35 Context context, Uri photosUri, String[] projection) { 38 mProjection = projection != null ? projection : PhotoContract.PhotoQuery.PROJECTION;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/ |
SharedImageProvider.java | 86 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 91 if (projection == null) { 92 projection = new String[] { 105 MatrixCursor cursor = new MatrixCursor(projection); 106 Object[] columns = new Object[projection.length]; 107 for (int i = 0; i < projection.length; i++) { 108 if (projection[i].equalsIgnoreCase(BaseColumns._ID)) { 110 } else if (projection[i].equalsIgnoreCase(MediaStore.MediaColumns.DATA)) { 112 } else if (projection[i].equalsIgnoreCase(OpenableColumns.DISPLAY_NAME)) { 114 } else if (projection[i].equalsIgnoreCase(OpenableColumns.SIZE)) [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockContentProvider.java | 67 public Query withProjection(String... projection) { 68 mProjection = projection; 72 public Query withDefaultProjection(String... projection) { 73 mDefaultProjection = projection; 123 public boolean equals(Uri uri, String[] projection, String selection, 129 if (!mAnyProjection && !equals(projection, mProjection)) { 178 public Cursor getResult(String[] projection) { 181 columnNames = projection; 192 Object[] columns = new Object[projection.length]; 193 for (int i = 0; i < projection.length; i++) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
FileProvider.java | 48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 57 // If projection is null, return all columns. 58 if (projection == null) { 59 projection = new String[] { 64 for (int i = 0; i < projection.length; i++) { 65 if (OpenableColumns.DISPLAY_NAME.equals(projection[i])) { 68 if (OpenableColumns.SIZE.equals(projection[i])) { 73 MatrixCursor cursor = new MatrixCursor(projection); 74 Object[] result = new Object[projection.length];
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/ |
Sky.vert | 19 // now find projection
|
/frameworks/base/core/java/android/content/ |
EventLogTags.logtags | 5 52002 content_query_sample (uri|3),(projection|3),(selection|3),(sortorder|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
WaterMeshNode.cpp | 23 void WaterMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { 54 // This multiplies the modelview matrix by the projection matrix, and stores the result in 55 // the MVP matrix (which now contains model * view * projection). 56 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); 68 void WaterMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
|