/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 | 34 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 D | DbModifierWithNotification.java | 102 public long insert(String table, String nullColumnHack, ContentValues values) { argument 104 long rowId = mDb.insert(table, nullColumnHack, values); 152 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { argument 167 int count = mDb.update(table, values, whereClause, whereArgs); 178 public int delete(String table, String whereClause, String[] whereArgs) { argument 187 // removing the rows from the table. 195 count = mDb.update(table, values, whereClause, whereArgs); 197 count = mDb.delete(table, whereClause, whereArgs);
|
/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. 1154 * Insert a message and its parts into the table 1177 * Update a message and add its parts into the table 1557 // Now add draft to message table 1633 // Add the participant to the conversation participants table 1755 // Insert the participant into the participants table 1888 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 | 78 * Return the proper view of "pdu" table for the current access status. 81 * @return the table/view name of the mms data 90 // First check if a restricted view of the "pdu" table should be used based on the 317 String table = TABLE_PDU; 343 table = TABLE_PART; 347 table = TABLE_ADDR; 351 table = TABLE_RATE; 355 table = TABLE_DRM; 367 if (table.equals(TABLE_PDU)) { 409 if ((rowId = db.insert(table, nul 694 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument [all...] |
H A D | TelephonyProvider.java | 180 // Try to access the table and create it if "no such table" 182 if (DBG) log("dbh.onOpen: ok, queried table=" + SIMINFO_TABLE); 185 if (e.getMessage().startsWith("no such table")) { 191 if (DBG) log("dbh.onOpen: ok, queried table=" + CARRIERS_TABLE); 194 if (e.getMessage().startsWith("no such table")) { 463 // Try to update the siminfo table. It might not be there. 471 " The table will get created in onOpen."); 478 // Try to update the siminfo table. It might not be there. 484 " The table wil 1067 mergeFieldsAndUpdateDb(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, ContentValues mergedValues, boolean onUpgrade, Context context) argument 1143 separateRowsNeeded(SQLiteDatabase db, String table, Cursor oldRow, ContentValues newRow, Context context, String[] oldTypes, String[] newTypes) argument 1246 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 | 110 return "vnd.android.cursor.dir/" + args.table; 112 return "vnd.android.cursor.item/" + args.table; 122 qb.setTables(args.table); 132 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 139 helper.checkId(table, values); 140 return db.insert(table, nullColumnHack, values); 158 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); 185 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { 217 int count = db.delete(args.table, args.where, args.args); 229 int count = db.update(args.table, value 131 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument 918 checkId(String table, ContentValues values) argument 1361 getMaxId(SQLiteDatabase db, String table) argument 1380 public final String table; field in class:LauncherProvider.SqlArguments [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider2.java | 383 static final String qualifyColumn(String table, String column) { argument 384 return table + "." + column + " AS " + column; 519 String table = BrowserProvider.TABLE_NAMES[BrowserProvider.URI_MATCH_BOOKMARKS]; 521 c = oldDb.query(table, 551 c = oldDb.query(table, 577 oldDb.delete(table, null, null); 1424 // Intercept and route to the correct table 1475 // Extract out the image values so they can be inserted into the images table 1502 // Extract out the image values so they can be inserted into the images table 1673 // Intercept and route to the correct table 1860 getUrlCount(SQLiteDatabase db, String table, String url) argument [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/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 173 * The cached copy of the CalendarMetaData database table. 598 * the timezone dependent fields in the Instances table if the timezone 624 * then the Instances table will be regenerated. 730 Log.v(TAG, "Could not update Events table with values " + values); 775 // Regenerate the Instances table for this month. Include events 817 * ALERT table is maintained locally so don't request a sync for changes in it 1065 * Fills the Instances table, if necessary, for the given range and then 1066 * queries the Instances table. 1324 * table. Acquires the database lock and calls 1349 * table 3330 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument 3487 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 D | MediaProvider.java | 265 // entries for that storage from the files table. 840 // create image thumbnail table 979 // Cleans up album_art table entry when an album is deleted 1052 // Create bucket_id and bucket_display_name columns for the video table. 1065 // Create bookmark column for the video table. 1084 // Create is_podcast and bookmark columns for the audio table. 1198 // create video thumbnail table 1364 // table, so we need to create that if we're at 100 or lower. This means 1380 // Create a new table to manage all files in our storage. 1443 // Value of _id from the old media table 2130 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument 3858 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter 5157 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/Email/provider_src/com/android/email/provider/ |
H A D | EmailProvider.java | 321 * Note that this isn't relevant for table creation strings, since they are used only once 418 * delete from <table> where <column> not in (select <foreignColumn> from <foreignTable>) 421 * @param table the table whose orphans are to be removed 423 * @param foreignColumn the column in the foreign table whose absence will trigger the deletion 424 * @param foreignTable the foreign table 426 public static void deleteUnlinked(SQLiteDatabase db, String table, String column, argument 428 int count = db.delete(table, column + " not in (select " + foreignColumn + " from " + 431 LogUtils.w(TAG, "Found " + count + " orphaned row(s) in " + table); 583 // We'll look at all of the items in the table; ther [all...] |