Home
last modified time | relevance | path

Searched refs:projection (Results 1 – 25 of 122) sorted by relevance

12345

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDummyGalProvider.java82 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
89 return handleDirectories(projection); in query()
93 return handleFilter(uri, projection); in query()
128 private Cursor handleDirectories(String[] projection) { in handleDirectories() argument
131 cursor = new MatrixCursor(projection); in handleDirectories()
133 row = new Object[projection.length]; in handleDirectories()
135 for (int i = 0; i < projection.length; i++) { in handleDirectories()
136 String column = projection[i]; in handleDirectories()
166 private Cursor handleFilter(Uri uri, String[] projection) throws JSONException { in handleFilter() argument
195 if (projection == null) { in handleFilter()
[all …]
DDeletedContactUtil.java36 String[] projection = new String[]{ in queryDeletedTimestampForContactId() local
40 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryDeletedTimestampForContactId()
53 String[] projection = new String[] { in getCount() local
56 Cursor cursor = resolver.query(URI, projection, null, null, null); in getCount()
69 public static List<String[]> query(ContentResolver resolver, String[] projection) { in query() argument
70 Cursor cursor = resolver.query(URI, projection, null, null, null); in query()
79 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, in querySinceTimestamp() argument
83 Cursor cursor = resolver.query(URI, projection, selection, args, null); in querySinceTimestamp()
DRawContactUtil.java65 long rawContactId, String[] projection) { in queryByRawContactId() argument
67 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryByRawContactId()
77 String[] projection) { in queryByContactId() argument
79 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryByContactId()
93 String[] projection = new String[]{ in queryContactIdByRawContactId() local
97 projection); in queryContactIdByRawContactId()
DContactsContract_AllUriTest.java283 String[] projection, String selection, in checkQueryExecutable() argument
286 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() argument
295 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() argument
307 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
322 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
331 String[] projection, String selection, in checkQueryNotExecutable() argument
334 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryNotExecutable() argument
493 final String[] projection = {getColumns(uri)[0]}; in testSelectWithAllArgs() local
496 projection, // projection in testSelectWithAllArgs()
551 private void checkColumnNotAccessibleInner(Uri uri, String[] projection, String selection, in checkColumnNotAccessibleInner() argument
[all …]
DDataUtil.java35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection, in queryById() argument
38 Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, null); in queryById()
42 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) { in queryById() argument
43 return queryById(resolver, dataId, projection, null, null); in queryById()
DContactUtil.java48 String[] projection = new String[]{ in recordExistsForContactId() local
52 Cursor cursor = resolver.query(uri, projection, null, null, null); in recordExistsForContactId()
60 String[] projection = new String[]{ in queryContactLastUpdatedTimestamp() local
65 Cursor cursor = resolver.query(uri, projection, null, null, null); in queryContactLastUpdatedTimestamp()
/cts/tests/openglperf2/jni/graphics/
DProgramNode.cpp21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() argument
22 program.before(model, view, projection); in before()
25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() argument
26 program.after(model, view, projection); in after()
29 void ProgramNode::drawProgram(Matrix& model, Matrix& view, Matrix& projection) { in drawProgram() argument
30 SceneGraphNode::draw(mProgram, model, view, projection); in drawProgram()
DSceneGraphNode.cpp26 void SceneGraphNode::draw(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in draw() argument
27 before(program, model, view, projection); in draw()
29 mChildren[i]->draw(program, model, view, projection); in draw()
31 after(program, model, view, projection); in draw()
DProgramNode.h25 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);
DSceneGraphNode.h27 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);
DPerspectiveMeshNode.cpp23 void PerspectiveMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection)… in before() argument
52 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
64 void PerspectiveMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() argument
DProgram.cpp21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { in before() argument
25 void Program::after(Matrix& model, Matrix& view, Matrix& projection) { in after() argument
DProgram.h25 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
26 virtual void after(Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DProjectionTouchActivity.java17 package com.android.cts.verifier.projection.touch;
23 import com.android.cts.verifier.projection.ProjectionActivity;
24 import com.android.cts.verifier.projection.ProjectionPresentationType;
25 import com.android.cts.verifier.projection.cube.ProjectionCubeActivity;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/
DProjectionListActivity.java17 package com.android.cts.verifier.projection.list;
23 import com.android.cts.verifier.projection.ProjectionActivity;
24 import com.android.cts.verifier.projection.ProjectionPresentationType;
25 import com.android.cts.verifier.projection.cube.ProjectionCubeActivity;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java17 package com.android.cts.verifier.projection;
32 import com.android.cts.verifier.projection.cube.CubePresentation;
33 import com.android.cts.verifier.projection.list.ListPresentation;
34 import com.android.cts.verifier.projection.offscreen.OffscreenPresentation;
35 import com.android.cts.verifier.projection.touch.TouchPresentation;
36 import com.android.cts.verifier.projection.video.VideoPresentation;
37 import com.android.cts.verifier.projection.widgets.WidgetPresentation;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
DWidgetPresentation.java17 package com.android.cts.verifier.projection.widgets;
24 import com.android.cts.verifier.projection.ProjectedPresentation;
25 import com.android.cts.verifier.projection.ProjectionPresentationType;
DProjectionWidgetActivity.java17 package com.android.cts.verifier.projection.widgets;
28 import com.android.cts.verifier.projection.ProjectionActivity;
29 import com.android.cts.verifier.projection.ProjectionPresentationType;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DProjectionCubeActivity.java17 package com.android.cts.verifier.projection.cube;
24 import com.android.cts.verifier.projection.ProjectionActivity;
25 import com.android.cts.verifier.projection.ProjectionPresentationType;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/
DProjectionVideoActivity.java17 package com.android.cts.verifier.projection.video;
23 import com.android.cts.verifier.projection.ProjectionActivity;
24 import com.android.cts.verifier.projection.ProjectionPresentationType;
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java108 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
115 final MatrixCursor cursor = new MatrixCursor(projection); in query()
121 final Object[] row = new Object[projection.length]; in query()
122 for (int i = 0; i < projection.length; i++) { in query()
123 final String column = projection[i]; in query()
160 final MatrixCursor cursor = new MatrixCursor(projection); in query()
161 final Object[] row = new Object[projection.length]; in query()
162 for (int i = 0; i < projection.length; i++) { in query()
163 String column = projection[i]; in query()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtils_InsertHelperTest.java88 final String[] projection = new String[] { in testInsert() local
100 Cursor cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testInsert()
125 cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testInsert()
157 cursor = mDatabase.query(TEST_TABLE_NAME, projection, "_id = " + id, in testInsert()
190 final String[] projection = new String[] { in testReplace() local
202 Cursor cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testReplace()
221 cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testReplace()
240 cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testReplace()
267 cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); in testReplace()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java68 private static String[] resolveRootProjection(String[] projection) { in resolveRootProjection() argument
69 return projection != null ? projection : DEFAULT_ROOT_PROJECTION; in resolveRootProjection()
72 private static String[] resolveDocumentProjection(String[] projection) { in resolveDocumentProjection() argument
73 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION; in resolveDocumentProjection()
85 public Cursor queryRoots(String[] projection) throws FileNotFoundException { in queryRoots() argument
86 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection)); in queryRoots()
338 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
340 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in querySearchDocuments()
352 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
354 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection)); in queryDocument()
[all …]
/cts/tests/openglperf2/jni/reference/scene/flocking/
DWaterMeshNode.cpp23 void WaterMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() argument
56 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
68 void WaterMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() argument

12345