/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | RomkanFullKatakana.java | 163 * @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 D | DatabaseModifier.java | 35 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 D | CallLogDatabaseHelper.java | 106 // The CALLS and VOICEMAIL_STATUS table used to be in the contacts2.db. So we need to 364 static boolean tableExists(SQLiteDatabase db, String table) { argument 366 "select count(*) from sqlite_master where type='table' and name=?", 367 new String[] {table}) > 0; 376 public ArraySet<String> selectDistinctColumn(String table, String column) { argument 381 + " FROM " + table, null);
|
H A D | DbModifierWithNotification.java | 101 public long insert(String table, String nullColumnHack, ContentValues values) { argument 106 long rowId = mDb.insert(table, nullColumnHack, values); 157 public int update(Uri uri, String table, ContentValues values, String whereClause, argument 170 updateLastModified(table, whereClause, whereArgs); 198 int count = mDb.update(table, values, whereClause, whereArgs); 216 private void updateLastModified(String table, String whereClause, String[] whereArgs) { argument 220 mDb.update(table, values, 226 public int delete(String table, String whereClause, String[] whereArgs) { argument 235 // removing the rows from the table. 244 count = mDb.update(table, value [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
H A D | DatabaseAnalyzer.java | 31 * Class to extract table/view/column names from databases. 43 * Find and return all table/view names in a db. 48 "SELECT name FROM sqlite_master WHERE type in (\"table\", \"view\")", null)) { 57 * Find all columns in a table/view. 59 private static List<String> findColumns(SQLiteDatabase db, String table) { argument 62 // Open the table/view but requests 0 rows. 63 final Cursor c = db.rawQuery("SELECT * FROM " + table + " WHERE 0 LIMIT 0", null); 76 * Return all table/view names that clients shouldn't use in their queries -- basically the 77 * result contains all table/view names, except for the names that are column names of any 86 final List<String> ret = new ArrayList<>(tables); // Start with the table/vie [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | EdgeSwipeDetector.java | 34 public EdgeSwipeDetector(Context context, PhotoTable table) { argument 35 mTable = table;
|
H A D | KeyboardInterpreter.java | 33 public KeyboardInterpreter(PhotoTable table) { argument 35 mTable = table;
|
H A D | DragGestureDetector.java | 36 public DragGestureDetector(Context context, PhotoTable table) { argument 39 mTable = table;
|
H A D | PhotoTouchListener.java | 55 public PhotoTouchListener(Context context, PhotoTable table) { argument 56 mTable = table;
|
H A D | PhotoTable.java | 461 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 D | MoreDatabaseUtils.java | 30 * 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 D | FilterStackDBHelper.java | 32 /** 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 D | PhotoDatabase.java | 136 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 D | PhotoProvider.java | 71 * 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 D | SyncMessageBatch.java | 181 // 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 D | DatabaseWrapper.java | 301 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 D | BugleDatabaseOperations.java | 409 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 D | CharMatcher.java | 367 @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 D | MmsProvider.java | 80 * 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 315 String table = TABLE_PDU; 341 table = TABLE_PART; 345 table = TABLE_ADDR; 349 table = TABLE_RATE; 353 table = TABLE_DRM; 365 if (table.equals(TABLE_PDU)) { 407 if ((rowId = db.insert(table, nul 731 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument [all...] |
H A D | TelephonyProvider.java | 385 // Try to access the table and create it if "no such table" 387 if (DBG) log("dbh.onOpen: ok, queried table=" + SIMINFO_TABLE); 390 if (e.getMessage().startsWith("no such table")) { 396 if (DBG) log("dbh.onOpen: ok, queried table=" + CARRIERS_TABLE); 399 if (e.getMessage().startsWith("no such table")) { 653 // Try to update the siminfo table. It might not be there. 661 " The table will get created in onOpen."); 668 // Try to update the siminfo table. It might not be there. 674 " The table wil 1442 mergeFieldsAndUpdateDb(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, ContentValues mergedValues, boolean onUpgrade, Context context) argument 1529 separateRowsNeeded(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, Context context, String[] oldTypes, String[] newTypes) argument 1623 selectConflictingRow(SQLiteDatabase db, String table, ContentValues row) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 112 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 D | LauncherProvider.java | 141 return "vnd.android.cursor.dir/" + args.table; 143 return "vnd.android.cursor.item/" + args.table; 179 qb.setTables(args.table); 189 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 196 helper.checkId(table, values); 197 return db.insert(table, nullColumnHack, values); 223 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); 310 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { 342 && Favorites.TABLE_NAME.equalsIgnoreCase(args.table)) { 345 int count = db.delete(args.table, arg 188 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument 1049 checkId(String table, ContentValues values) argument 1110 getMaxId(SQLiteDatabase db, String table) argument 1129 public final String table; field in class:LauncherProvider.SqlArguments [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnJAJP.java | 154 /** 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/TvProvider/src/com/android/providers/tv/ |
H A D | TvProvider.java | 101 // The internal column in the watched programs table to indicate whether the current log entry 978 private static void migrateIntegerColumnToTextColumn(SQLiteDatabase db, String table, argument 980 db.execSQL("ALTER TABLE " + table + " ADD " + textColumn + " TEXT;"); 981 db.execSQL("UPDATE " + table + " SET " + textColumn + " = CAST(" + integerColumn
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 174 * The cached copy of the CalendarMetaData database table. 576 * the timezone dependent fields in the Instances table if the timezone 602 * then the Instances table will be regenerated. 708 Log.v(TAG, "Could not update Events table with values " + values); 753 // Regenerate the Instances table for this month. Include events 795 * ALERT table is maintained locally so don't request a sync for changes in it 1043 * Fills the Instances table, if necessary, for the given range and then 1044 * queries the Instances table. 1302 * table. Acquires the database lock and calls 1327 * table 3308 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument 3465 updateEventRelatedTable(Uri uri, String table, boolean byId, ContentValues updateValues, String selection, String[] selectionArgs, boolean callerIsSyncAdapter) argument [all...] |