Searched defs:table (Results 1 - 25 of 30) sorted by relevance

12

/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());
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDatabaseModifier.java35 public abstract long insert(String table, String nullColumnHack, ContentValues values); argument
42 * Use this method to update a table which you would otherwise do using the
45 public abstract int update(Uri uri, String table, ContentValues values, argument
48 * Use this method to delete entries from a table which you would otherwise do using the
51 public abstract int delete(String table, String whereClause, String[] whereArgs); argument
H A DCallLogDatabaseHelper.java100 // The CALLS and VOICEMAIL_STATUS table used to be in the contacts2.db. So we need to
327 static boolean tableExists(SQLiteDatabase db, String table) { argument
329 "select count(*) from sqlite_master where type='table' and name=?",
330 new String[] {table}) > 0;
H A DDbModifierWithNotification.java98 public long insert(String table, String nullColumnHack, ContentValues values) { argument
103 long rowId = mDb.insert(table, nullColumnHack, values);
154 public int update(Uri uri, String table, ContentValues values, String whereClause, argument
184 int count = mDb.update(table, values, whereClause, whereArgs);
203 public int delete(String table, String whereClause, String[] whereArgs) { argument
212 // removing the rows from the table.
221 count = mDb.update(table, values, whereClause, whereArgs);
223 count = mDb.delete(table, whereClause, whereArgs);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DEdgeSwipeDetector.java34 public EdgeSwipeDetector(Context context, PhotoTable table) { argument
35 mTable = table;
H A DKeyboardInterpreter.java33 public KeyboardInterpreter(PhotoTable table) { argument
35 mTable = table;
H A DDragGestureDetector.java36 public DragGestureDetector(Context context, PhotoTable table) { argument
39 mTable = table;
H A DPhotoTouchListener.java55 public PhotoTouchListener(Context context, PhotoTable table) { argument
56 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...]
/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/apps/Gallery2/src/com/android/photos/data/
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);
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...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DSyncMessageBatch.java181 // Inserting sms content into messages table
271 // Inserting mms content into messages table
357 * @param table
362 private static int batchDelete(final DatabaseWrapper db, final String table, argument
376 table,
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DDatabaseWrapper.java301 public long queryNumEntries(final String table, final String selection, argument
309 DatabaseUtils.queryNumEntries(mDatabase, table, selection, selectionArgs);
313 String.format(Locale.US, "queryNumEntries %s with %s ==> %d", table,
337 public int update(final String table, final ContentValues values, argument
346 count = mDatabase.update(table, values, selection, selectionArgs);
353 table, selection, count));
358 public int delete(final String table, final String whereClause, final String[] whereArgs) { argument
366 count = mDatabase.delete(table, whereClause, whereArgs);
373 String.format(Locale.US, "delete from %s with %s ==> %d", table,
379 public long insert(final String table, fina argument
399 replace(final String table, final String nullColumnHack, final ContentValues values) argument
[all...]
H A DBugleDatabaseOperations.java409 LogUtil.e(TAG, "BugleDatabaseOperations : failed to insert conversation into table");
425 // if the participant already exists in the participant table. For example, say you have
428 // group conversation, we see that he's already in the participant table, therefore we
432 // hand, will fill out all the info for each participant from the participants table.
1159 * Insert a message and its parts into the table
1182 * Update a message and add its parts into the table
1562 // Now add draft to message table
1638 // Add the participant to the conversation participants table
1760 // Insert the participant into the participants table
1893 public static boolean updateRowIfExists(final DatabaseWrapper db, final String table, argument
[all...]
/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/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java80 * Return the proper view of "pdu" table for the current access status.
83 * @return the table/view name of the mms data
92 // First check if a restricted view of the "pdu" table should be used based on the
323 String table = TABLE_PDU;
349 table = TABLE_PART;
353 table = TABLE_ADDR;
357 table = TABLE_RATE;
361 table = TABLE_DRM;
373 if (table.equals(TABLE_PDU)) {
415 if ((rowId = db.insert(table, nul
700 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument
[all...]
H A DTelephonyProvider.java228 // Try to access the table and create it if "no such table"
230 if (DBG) log("dbh.onOpen: ok, queried table=" + SIMINFO_TABLE);
233 if (e.getMessage().startsWith("no such table")) {
239 if (DBG) log("dbh.onOpen: ok, queried table=" + CARRIERS_TABLE);
242 if (e.getMessage().startsWith("no such table")) {
562 // Try to update the siminfo table. It might not be there.
570 " The table will get created in onOpen.");
577 // Try to update the siminfo table. It might not be there.
583 " The table wil
1226 mergeFieldsAndUpdateDb(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, ContentValues mergedValues, boolean onUpgrade, Context context) argument
1300 separateRowsNeeded(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, Context context, String[] oldTypes, String[] newTypes) argument
1394 selectConflictingRow(SQLiteDatabase db, String table, ContentValues row) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java112 return "vnd.android.cursor.dir/" + args.table;
114 return "vnd.android.cursor.item/" + args.table;
124 qb.setTables(args.table);
134 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) {
138 return db.insert(table, nullColumnHack, values);
144 db.delete(args.table, args.where, args.args);
152 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
170 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) {
188 int count = db.delete(args.table, args.where, args.args);
199 int count = db.update(args.table, value
133 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument
1280 public final String table; field in class:LauncherProvider.SqlArguments
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java112 return "vnd.android.cursor.dir/" + args.table;
114 return "vnd.android.cursor.item/" + args.table;
150 qb.setTables(args.table);
160 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) {
167 helper.checkId(table, values);
168 return db.insert(table, nullColumnHack, values);
194 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
281 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) {
319 && Favorites.TABLE_NAME.equalsIgnoreCase(args.table)) {
338 int count = db.delete(args.table, arg
159 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument
1020 checkId(String table, ContentValues values) argument
1081 getMaxId(SQLiteDatabase db, String table) argument
1100 public final String table; field in class:LauncherProvider.SqlArguments
[all...]
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DTvProvider.java121 // The internal column in the watched programs table to indicate whether the current log entry
588 private static void migrateIntegerColumnToTextColumn(SQLiteDatabase db, String table, argument
590 db.execSQL("ALTER TABLE " + table + " ADD " + textColumn + " TEXT;");
591 db.execSQL("UPDATE " + table + " SET " + textColumn + " = CAST(" + integerColumn
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnJAJP.java154 /** H/W 12Keyboard keycode replace table */
2353 * @param table Table of toggle characters
2355 private void processSoftKeyboardToggleChar(String[] table) { argument
2356 if (table == null) {
2368 String c = searchToggleCharacter(prevChar, table, false);
2382 String str = table[0];
2385 char top = table[0].charAt(0);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java173 * The cached copy of the CalendarMetaData database table.
600 * the timezone dependent fields in the Instances table if the timezone
626 * then the Instances table will be regenerated.
732 Log.v(TAG, "Could not update Events table with values " + values);
777 // Regenerate the Instances table for this month. Include events
819 * ALERT table is maintained locally so don't request a sync for changes in it
1067 * Fills the Instances table, if necessary, for the given range and then
1068 * queries the Instances table.
1326 * table. Acquires the database lock and calls
1351 * table
3332 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument
3489 updateEventRelatedTable(Uri uri, String table, boolean byId, ContentValues updateValues, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java275 // entries for that storage from the files table.
856 // create image thumbnail table
995 // Cleans up album_art table entry when an album is deleted
1068 // Create bucket_id and bucket_display_name columns for the video table.
1081 // Create bookmark column for the video table.
1100 // Create is_podcast and bookmark columns for the audio table.
1214 // create video thumbnail table
1380 // table, so we need to create that if we're at 100 or lower. This means
1396 // Create a new table to manage all files in our storage.
1459 // Value of _id from the old media table
2146 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument
3975 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter
5294 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...]

Completed in 535 milliseconds

12