HomeSort by relevance Sort by last modified time
    Searched refs:projection (Results 51 - 75 of 406) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
RawContactUtil.java 44 long rawContactId, String[] projection) {
47 Cursor cursor = resolver.query(uri, projection, null, null, null);
57 String[] projection) {
59 Cursor cursor = resolver.query(uri, projection, null, null, null);
73 String[] projection = new String[]{ local
77 projection);
CommonDatabaseUtils.java 99 * the provided projection.
101 * @param projection array of column names
103 * @return array of values, in the correct order as defined by the projection
105 public static Object[] getArrayFromContentValues(ContentValues values, String[] projection) {
106 final Object[] result = new Object[projection.length];
107 for (int i = 0; i < projection.length; i++) {
108 result[i] = values.get(projection[i]);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
ProjectionWidgetActivity.java 17 package com.android.cts.verifier.projection.widgets;
28 import com.android.cts.verifier.projection.ProjectionActivity;
29 import com.android.cts.verifier.projection.ProjectionPresentationType;
  /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
MyDocumentsProvider.java 53 private static String[] resolveRootProjection(String[] projection) {
54 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
57 private static String[] resolveDocumentProjection(String[] projection) {
58 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
68 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
69 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
208 public Cursor queryDocument(String documentId, String[] projection)
210 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
    [all...]
  /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) {
  /development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessageReceiver.java 46 String[] projection; local
54 projection = new String[] { ContactsContract.PhoneLookup.DISPLAY_NAME };
57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
XmlDocumentProvider.java 83 * <h2>Projection syntax</h2>
84 * For every selected node, the projection will then extract actual data from this node and its
88 * with a child of the selected node. The implicit root of this projection pattern is the selected
92 * nodes match the projection pattern, their texts are appended as a result.</p>
94 * A projection can also fetch any node attribute by appending a <code>@attribute_name</code>
98 * <p>If a projection does not match any node/attribute, its associated value will be an empty
157 * <p>The number of columns of the resulting Cursor is equal to the size of the projection
159 * Cursor to be used with a {@link CursorAdapter}). The other columns' names are the projection
163 * @param projection A set of patterns that will be used to extract data from each selected
173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs
362 String projection = projections[i + 1]; \/\/ +1 to skip the _ID column local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ProfileAndContactsLoader.java 47 public void setProjection(String[] projection) {
48 super.setProjection(projection);
49 mProjection = projection;
  /packages/apps/Settings/src/com/android/settings/search/
SettingsSearchIndexablesProvider.java 47 public Cursor queryXmlResources(String[] projection) {
65 public Cursor queryRawData(String[] projection) {
71 public Cursor queryNonIndexableKeys(String[] projection) {
  /packages/services/Telephony/src/com/android/phone/
PhoneSearchIndexablesProvider.java 51 public Cursor queryXmlResources(String[] projection) {
69 public Cursor queryRawData(String[] projection) {
74 public Cursor queryNonIndexableKeys(String[] projection) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
ColorChangeOnKeyView.java 17 package com.android.cts.verifier.projection.offscreen;
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactUtil.java 48 String[] projection = new String[]{ local
52 Cursor cursor = resolver.query(uri, projection, null, null, null);
60 String[] projection = new String[]{ local
65 Cursor cursor = resolver.query(uri, projection, null, null, null);
  /frameworks/base/core/java/android/provider/
SearchIndexablesProvider.java 104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
123 * @param projection list of {@link android.provider.SearchIndexablesContract.XmlResource}
127 public abstract Cursor queryXmlResources(String[] projection);
134 * @param projection list of {@link android.provider.SearchIndexablesContract.RawData} columns
138 public abstract Cursor queryRawData(String[] projection);
145 * @param projection list of {@link android.provider.SearchIndexablesContract.NonIndexableKey}
149 public abstract Cursor queryNonIndexableKeys(String[] projection);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 114 public Cursor query(Uri uri, String[] projection,
126 projection, selection, selectionArgs, sortOrder);
135 private Cursor queryPicasaItem(MediaObject image, String[] projection,
137 if (projection == null) projection = SUPPORTED_PICASA_COLUMNS;
138 Object[] columnValues = new Object[projection.length];
143 for (int i = 0, n = projection.length; i < n; ++i) {
144 String column = projection[i];
167 MatrixCursor cursor = new MatrixCursor(projection);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SqlInjectionDetectionTest.java 97 private void assertQueryValid(final Uri uri, final String[] projection,
99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
104 final String[] projection, final String selection, final String sortOrder) {
108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadStorageProvider.java 75 private static String[] resolveRootProjection(String[] projection) {
76 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
79 private static String[] resolveDocumentProjection(String[] projection) {
80 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
93 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
94 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
158 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException {
159 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsSmsProvider.java 57 * requested in the projection for a query. Its value is either "mms"
298 public Cursor query(Uri uri, String[] projection,
304 cursor = getCompleteConversations(projection, selection, sortOrder);
315 projection, selection, selectionArgs, sortOrder);
318 projection, selection, sortOrder);
322 cursor = getConversationMessages(uri.getPathSegments().get(1), projection,
327 uri.getPathSegments().get(1), projection, selection,
332 uri.getPathSegments().get(1), projection, selection,
337 uri.getPathSegments().get(2), projection, selection, sortOrder);
373 || projection != null)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
CubePresentation.java 17 package com.android.cts.verifier.projection.cube;
28 import com.android.cts.verifier.projection.ProjectedPresentation;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/
ListPresentation.java 17 package com.android.cts.verifier.projection.list;
27 import com.android.cts.verifier.projection.ProjectedPresentation;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/
VideoPresentation.java 17 package com.android.cts.verifier.projection.video;
29 import com.android.cts.verifier.projection.ProjectedPresentation;
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
BlurMeshNode.cpp 23 void BlurMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
55 void BlurMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AccountLoadCallbacks.java 39 final String[] projection = UIProvider.ACCOUNTS_PROJECTION; local
41 return new ObjectCursorLoader<Account>(mContext, mAccountUri, projection, factory);
  /frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
TestDocumentsProvider.java 93 private static String[] resolveRootProjection(String[] projection) {
95 return projection != null ? projection : DEFAULT_ROOT_PROJECTION;
98 private static String[] resolveDocumentProjection(String[] projection) {
100 return projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION;
112 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
145 public Cursor queryDocument(String documentId, String[] projection)
150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
    [all...]
  /frameworks/base/media/java/android/media/projection/
MediaProjectionManager.java 17 package android.media.projection;
24 import android.media.projection.IMediaProjection;
48 public static final String EXTRA_APP_TOKEN = "android.media.projection.extra.EXTRA_APP_TOKEN";
51 "android.media.projection.extra.EXTRA_MEDIA_PROJECTION";
99 IBinder projection = resultData.getIBinderExtra(EXTRA_MEDIA_PROJECTION); local
100 if (projection == null) {
103 return new MediaProjection(mContext, IMediaProjection.Stub.asInterface(projection));
114 Log.e(TAG, "Unable to get the active projection info", e);
120 * Stop the current projection if there is one.
127 Log.e(TAG, "Unable to stop the currently active media projection", e)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
MediaProjectionPermissionActivity.java 27 import android.media.projection.MediaProjectionManager;
28 import android.media.projection.IMediaProjectionManager;
29 import android.media.projection.IMediaProjection;
90 Log.e(TAG, "Error checking projection permissions", e);
130 Log.e(TAG, "Error granting projection permission", e);
147 IMediaProjection projection = mService.createProjection(uid, packageName, local
150 intent.putExtra(MediaProjectionManager.EXTRA_MEDIA_PROJECTION, projection.asBinder());

Completed in 788 milliseconds

1 23 4 5 6 7 8 91011>>