/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/ |
depth_fs.glsl | 4 // Near and far planes from the projection
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/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...] |
/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)
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
GalleryProvider.java | 117 public Cursor query(Uri uri, String[] projection, 129 projection, selection, selectionArgs, sortOrder); 132 projection, selection, selectionArgs, sortOrder); 141 private Cursor queryMtpItem(MtpImage image, String[] projection, 143 Object[] columnValues = new Object[projection.length]; 144 for (int i = 0, n = projection.length; i < n; ++i) { 145 String column = projection[i]; 158 MatrixCursor cursor = new MatrixCursor(projection); 163 private Cursor queryPicasaItem(MediaObject image, String[] projection, 165 if (projection == null) projection = SUPPORTED_PICASA_COLUMNS [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreTest.java | 34 private static final String[] PROJECTION = new String[] { MediaStore.MEDIA_SCANNER_VOLUME }; 46 Cursor c = mContentResolver.query(mScannerUri, PROJECTION, null, null, null); 76 assertNull(mContentResolver.query(mScannerUri, PROJECTION, 85 Cursor c = mContentResolver.query(mScannerUri, PROJECTION, 94 assertNull(mContentResolver.query(mScannerUri, PROJECTION, null, null, null));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbum.java | 68 mProjection = LocalImage.PROJECTION; 75 mProjection = LocalVideo.PROJECTION; 145 String[] projection; local 149 projection = LocalImage.PROJECTION; 153 projection = LocalVideo.PROJECTION; 159 Cursor cursor = resolver.query(baseUri, projection, "_id BETWEEN ? AND ?", 197 String[] projection, int id) { 198 return resolver.query(uri, projection, "_id=?" [all...] |
/external/opencv/cvaux/src/ |
cvlevmartrif.cpp | 96 /* This is for function with 3 projection matrices */ 97 /* vector X consists of projection matrices and points3D */ 99 /* each projection matrices has 3x4 coeffs */ 147 /* fill derivate by projection matrix */ 169 /* Computers project points using 3 projection matrices and points 3D */ 171 /* vector X consists of projection matrices and points3D */ 172 /* each projection matrices has 3x4 coeffs */ 175 /* result of function is projection of N 3D points using 3 projection matrices */ 176 /* projected points store as (projection by matrix P1),(projection by matrix P2),(projection by matrix P3) * [all...] |
/external/chromium/chrome/browser/sync/sessions/ |
ordered_commit_set.h | 30 typedef std::vector<size_t> Projection; 63 // Get the projection of commit ids onto the space of commit ids 66 // indices contained in the returned Projection can be used. 67 const Projection& GetCommitIdProjection(browser_sync::ModelSafeGroup group) { 85 typedef std::map<browser_sync::ModelSafeGroup, Projection> Projections; 106 // projection. We could store it in commit_ids_, but sometimes we want
|
ordered_commit_set_unittest.cc | 49 // the set to a size of 4, so that the DB projection is wiped out and 64 OrderedCommitSet::Projection p1, p2, p3; 72 SCOPED_TRACE(::testing::Message("UI projection mismatch at i = ") << i); 78 SCOPED_TRACE(::testing::Message("PASSIVE projection mismatch at i = ") 85 SCOPED_TRACE(::testing::Message("DB projection mismatch at i = ") << i);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProjectionMap.java | 24 * A convenience wrapper for a projection map. Makes it easier to create and use projection maps. 66 * Returns a sorted array of all column names in the projection map.
|
/packages/apps/Email/src/com/android/email/data/ |
ThrottlingCursorLoader.java | 37 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, 39 this(context, uri, projection, selection, selectionArgs, sortOrder, 44 public ThrottlingCursorLoader(Context context, Uri uri, String[] projection, String selection, 46 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
ExchangeDirectoryProvider.java | 94 GalProjection(String[] projection) { 95 size = projection.length; 96 for (int i = 0; i < projection.length; i++) { 97 columnMap.put(projection[i], i); 107 GalContactRow(GalProjection projection, long contactId, String lookupKey, 109 this.mProjection = projection; 110 row = new Object[projection.size]; 155 static void addPhoneRow(MatrixCursor cursor, GalProjection projection, long contactId, 159 projection, contactId, lookupKey, accountName, displayName); 199 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs [all...] |
/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/Calendar/src/com/android/calendar/alerts/ |
DismissAllAlarmsService.java | 31 private static final String[] PROJECTION = new String[] { 53 values.put(PROJECTION[COLUMN_INDEX_STATE], CalendarAlerts.STATE_DISMISSED);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsProvider.java | 54 * requested in the projection for a query. Its value is either "mms" 284 public Cursor query(Uri uri, String[] projection, 290 cursor = getCompleteConversations(projection, selection, sortOrder); 301 projection, selection, selectionArgs, sortOrder); 304 projection, selection, sortOrder); 308 cursor = getConversationMessages(uri.getPathSegments().get(1), projection, 313 uri.getPathSegments().get(1), projection, selection, 318 uri.getPathSegments().get(1), projection, selection, 323 uri.getPathSegments().get(2), projection, selection, sortOrder); 360 || projection != null) [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
ContentCache.java | 47 * ContentCache cache = new ContentCache(name, projection, max); 50 * Cursor cursor = cache.getCursor(id, projection); 56 * Only cursors with the projection given in the definition of the cache can be cached 105 // The base projection (only queries in which all columns exist in this projection will be 406 * @param baseProjection the projection used for cached cursors; queries whose columns are not 430 * Return the base projection for cached rows 431 * Get the projection used for cached rows (typically, the largest possible projection) 466 * Try to cache a cursor for the given id and projection; returns a valid cursor, either [all...] |
/frameworks/base/docs/html/guide/topics/graphics/ |
opengl.jd | 19 <li><a href="#proj-es1">Projection and camera in ES 1.0</a></li> 20 <li><a href="#proj-es1">Projection and camera in ES 2.0</a></li> 225 on the right. To solve this problem, you can apply OpenGL projection modes and camera views to 228 <p>In order to apply projection and camera views, you create a projection matrix and a camera view 229 matrix and apply them to the OpenGL rendering pipeline. The projection matrix recalculates the 233 <h3 id="proj-es1">Projection and camera view in OpenGL ES 1.0</h3> 234 <p>In the ES 1.0 API, you apply projection and camera view by creating each matrix and then 238 <li><strong>Projection matrix</strong> - Create a projection matrix using the geometry of th [all...] |
/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);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
JoinContactLoader.java | 48 public void setProjection(String[] projection) { 49 super.setProjection(projection); 50 this.mProjection = projection;
|
ProfileAndContactsLoader.java | 47 public void setProjection(String[] projection) { 48 super.setProjection(projection); 49 mProjection = projection;
|
/cts/tests/appsecurity-tests/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
PermissionContentProviderPath.java | 35 public Cursor query(Uri uri, String[] projection, String selection,
|
/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixGrabber.java | 28 * Record the current modelView and projection matrix state. 47 * Record the current projection matrix state. Has the side effect of
|
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
VoicemailStatusHelperImpl.java | 48 /** Projection on the voicemail_status table used by this class. */ 49 public static final String[] PROJECTION = new String[NUM_COLUMNS]; 51 PROJECTION[SOURCE_PACKAGE_INDEX] = Status.SOURCE_PACKAGE; 52 PROJECTION[CONFIGURATION_STATE_INDEX] = Status.CONFIGURATION_STATE; 53 PROJECTION[DATA_CHANNEL_STATE_INDEX] = Status.DATA_CHANNEL_STATE; 54 PROJECTION[NOTIFICATION_CHANNEL_STATE_INDEX] = Status.NOTIFICATION_CHANNEL_STATE; 55 PROJECTION[SETTINGS_URI_INDEX] = Status.SETTINGS_URI; 56 PROJECTION[VOICEMAIL_ACCESS_URI_INDEX] = Status.VOICEMAIL_ACCESS_URI;
|
/frameworks/base/opengl/java/android/opengl/ |
Visibility.java | 54 * Given an OpenGL ES ModelView-Projection matrix (which implicitly 58 * A ModelView-Projection matrix can be computed by multiplying the 59 * a Projection matrix by the a ModelView matrix (in that order.). There 61 * Projection matrices. The most generally applicable way is to keep 80 * @param mvp a float array containing the mode-view-projection matrix
|