Searched refs:table (Results 1 - 25 of 38) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDatabaseModifier.java34 public abstract long insert(String table, String nullColumnHack, ContentValues values); argument
41 * Use this method to update a table which you would otherwise do using the
44 public abstract int update(String table, ContentValues values, argument
47 * Use this method to delete entries from a table which you would otherwise do using the
50 public abstract int delete(String table, String whereClause, String[] whereArgs); argument
H A DProfileDatabaseHelper.java34 // SQLite-standard table and columns for tracking autoincrement sequences.
68 for (String table : Tables.SEQUENCE_TABLES) {
70 values.put(SEQUENCE_NAME, table);
H A DDbModifierWithNotification.java98 public long insert(String table, String nullColumnHack, ContentValues values) { argument
100 long rowId = mDb.insert(table, nullColumnHack, values);
140 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { argument
143 int count = mDb.update(table, values, whereClause, whereArgs);
154 public int delete(String table, String whereClause, String[] whereArgs) { argument
156 int count = mDb.delete(table, whereClause, whereArgs);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTableDream.java22 * Example interactive screen saver: flick photos onto a table.
39 PhotoTable table = (PhotoTable) findViewById(R.id.table);
40 if (table != null) {
41 table.setDream(this);
51 setContentView(R.layout.table);
H A DEdgeSwipeDetector.java34 public EdgeSwipeDetector(Context context, PhotoTable table) { argument
35 mTable = table;
H A DDragGestureDetector.java36 public DragGestureDetector(Context context, PhotoTable table) { argument
39 mTable = table;
H A DKeyboardInterpreter.java33 public KeyboardInterpreter(PhotoTable table) { argument
35 mTable = table;
H A DPhotoTable.java461 private static View applyFrame(final PhotoTable table, final BitmapFactory.Options options, argument
463 LayoutInflater inflater = (LayoutInflater) table.getContext()
474 layers[0] = new BitmapDrawable(table.mResources, decodedPhoto);
475 layers[1] = table.mResources.getDrawable(R.drawable.frame);
477 layerList.setLayerInset(0, table.mInset, table.mInset,
478 table.mInset, table.mInset);
484 photo.setOnTouchListener(new PhotoTouchListener(table.getContext(),
485 table));
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
H A DMoreDatabaseUtils.java30 * Builds a CREATE INDEX ddl statement for a given table and field.
32 * @param table The table name.
36 public static String buildCreateIndexSql(String table, String field) { argument
37 return "CREATE INDEX " + buildIndexName(table, field) + " ON " + table
42 * Builds a DROP INDEX ddl statement for a given table and field.
44 * @param table The table name that was originally used to create the index.
49 public static String buildDropIndexSql(String table, Strin argument
58 buildIndexName(String table, String field) argument
[all...]
H A DContactsTableUtil.java34 * Methods for operating on the contacts table.
44 final String table = Tables.CONTACTS;
46 db.execSQL("CREATE INDEX contacts_has_phone_index ON " + table + " (" +
50 db.execSQL("CREATE INDEX contacts_name_raw_contact_id_index ON " + table + " (" +
54 db.execSQL(MoreDatabaseUtils.buildCreateIndexSql(table,
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java32 /** The table name */
69 protected static void createTable(SQLiteDatabase db, String table, String[][] columns) { argument
71 create.append(table).append('(');
92 protected static void dropTable(SQLiteDatabase db, String table) { argument
95 db.execSQL("drop table if exists " + table);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java293 String table = TABLE_PDU;
319 table = TABLE_PART;
323 table = TABLE_ADDR;
327 table = TABLE_RATE;
331 table = TABLE_DRM;
343 if (table.equals(TABLE_PDU)) {
386 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
392 } else if (table.equals(TABLE_ADDR)) {
396 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
402 } else if (table
671 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument
[all...]
H A DSmsProvider.java373 String table = TABLE_SMS;
411 table = "raw";
415 table = "sr_pending";
419 table = "attachments";
423 table = "canonical_addresses";
433 if (table.equals(TABLE_SMS)) {
525 rowID = db.insert(table, "body", values);
527 // Don't use a trigger for updating the words table because of a bug
530 if (table == TABLE_SMS) {
531 // Update the words table wit
[all...]
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoProvider.java71 * Internal database table used for account information
94 /** Internal database table used for basic photo information. */
133 /** Internal database table used album information. */
170 /** Internal database table used metadata information. */
295 String table = getTableFromMatch(match, uri);
298 long id = db.insert(table, null, values);
300 // uri already matches the table.
320 String table = getTableFromMatch(match, uri);
321 Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal);
339 String table
455 nestWhere(String matchColumn, String table, String nestedWhere) argument
518 query(String table, String[] columns, String selection, String[] selectionArgs, String orderBy, CancellationSignal cancellationSignal) argument
[all...]
H A DPhotoDatabase.java136 protected static void createTable(SQLiteDatabase db, String table, List<String[]> columns) { argument
138 create.append(table).append('(');
186 protected static void dropTable(SQLiteDatabase db, String table) { argument
189 db.execSQL("drop table if exists " + table);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DLevenshteinSuggestionFormatter.java83 final LevenshteinDistance table = new LevenshteinDistance(source, target);
84 table.calculate();
87 LevenshteinDistance.EditOperation[] ops = table.getTargetOperations();
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharMatcher.java367 @Override protected void setBits(LookupTable table) {
398 @Override protected void setBits(LookupTable table) {
399 table.set(match);
448 @Override protected void setBits(LookupTable table) {
449 table.set(match1);
450 table.set(match2);
465 @Override protected void setBits(LookupTable table) {
467 table.set(c);
495 @Override protected void setBits(LookupTable table) {
498 table
624 setBits(LookupTable table) argument
683 setBits(LookupTable table) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DResultActivity.java178 TableLayout table = (TableLayout)findViewById(R.id.table);
182 table.addView(row);
188 TableLayout table = (TableLayout)findViewById(R.id.table);
194 table.addView(separator);
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java394 String table = uri.getPathSegments().get(1);
395 if(table == null)
409 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) {
412 if (D) Log.w(TAG, "Unknown table name: " + table);
438 String table = uri.getLastPathSegment();
439 if(table == null){
453 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) {
458 Log.w(TAG, "Unknown table name: " + table);
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProvider.java121 String table = uri.getPath().substring(1);
123 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table)
130 sURIMatcher.addURI(AUTHORITY, table, TABLE);
131 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DTestProvider.java121 String table = uri.getPath().substring(1);
123 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table)
130 sURIMatcher.addURI(AUTHORITY, table, TABLE);
131 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java106 return "vnd.android.cursor.dir/" + args.table;
108 return "vnd.android.cursor.item/" + args.table;
118 qb.setTables(args.table);
128 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) {
132 return db.insert(table, nullColumnHack, values);
138 db.delete(args.table, args.where, args.args);
146 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
164 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) {
182 int count = db.delete(args.table, args.where, args.args);
193 int count = db.update(args.table, value
127 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument
1221 public final String table; field in class:LauncherProvider.SqlArguments
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java258 // entries for that storage from the files table.
828 // create image thumbnail table
967 // Cleans up album_art table entry when an album is deleted
1040 // Create bucket_id and bucket_display_name columns for the video table.
1053 // Create bookmark column for the video table.
1072 // Create is_podcast and bookmark columns for the audio table.
1186 // create video thumbnail table
1349 // table, so we need to create that if we're at 100 or lower. This means
1365 // Create a new table to manage all files in our storage.
1428 // Value of _id from the old media table
2115 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument
3839 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter
5118 getKeyIdForName(DatabaseHelper helper, SQLiteDatabase db, String table, String keyField, String nameField, String rawName, String cacheName, String path, int albumHash, String artist, HashMap<String, Long> cache, Uri srcuri) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java115 return "vnd.android.cursor.dir/" + args.table;
117 return "vnd.android.cursor.item/" + args.table;
127 qb.setTables(args.table);
137 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) {
144 helper.checkId(table, values);
145 return db.insert(table, nullColumnHack, values);
162 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
182 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) {
214 int count = db.delete(args.table, args.where, args.args);
226 int count = db.update(args.table, value
136 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument
1068 checkId(String table, ContentValues values) argument
1657 public final String table; field in class:LauncherProvider.SqlArguments
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DRomkanFullKatakana.java163 * @param table HashMap for Romaji-to-Kana conversion
166 public static boolean convert(ComposingText text, HashMap<String, String> table) { argument
187 String match = table.get(key.toString().toLowerCase());

Completed in 971 milliseconds

12