/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 | 98 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);
|
H A D | ContactsDatabaseHelper.java | 165 * For {@link ContactsContract.DataUsageFeedback}. The table structure itself 277 * Join string intended to be used with the GROUPS table/view. The main table must be named 674 * Private table for calculating per-contact-method ranking. 731 /** In-memory cache the packages table */ 957 // Create the properties table first so the create time is available as soon as possible. 993 // deleted_contacts table 996 // Raw_contacts table 1089 // Package name mapping table 1095 // Mimetype mapping table 3862 upgradeToVersion626_findAccountsWithDataSets( Set<AccountWithDataSet> result, SQLiteDatabase db, String table) argument 3875 upgradeToVersion626_fillAccountId(SQLiteDatabase db, String table) argument 4261 updateIndexStats(SQLiteDatabase db, String table, String index, String stats) argument [all...] |
H A D | ContactsProvider2.java | 1086 // where clause to update the status_updates table 1117 // Contacts URI matching table 2624 * Inserts an item in the contacts table 2634 * Inserts an item in the raw contacts table 2734 * Inserts an item in the data table 2774 * Inserts an item in the stream_items table. The account is checked against the 2794 // Don't attempt to insert accounts params - they don't exist in the stream items table. 2815 * Inserts an item in the stream_item_photos table. The account is checked against 2833 // photos table. 2850 * the resulting photo file ID will be added to the values for insert/update in the table 4936 removeStaleAccountRows(String table, String accountNameColumn, String accountTypeColumn, Account[] systemAccounts) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
H A D | MoreDatabaseUtils.java | 27 * Builds a CREATE INDEX ddl statement for a given table and field. 29 * @param table The table name. 33 public static String buildCreateIndexSql(String table, String field) { argument 34 return "CREATE INDEX " + buildIndexName(table, field) + " ON " + table 39 * Builds a DROP INDEX ddl statement for a given table and field. 41 * @param table The table name that was originally used to create the index. 46 public static String buildDropIndexSql(String table, Strin argument 55 buildIndexName(String table, String field) argument [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/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/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | TelephonyProvider.java | 364 private void insertAddingDefaults(SQLiteDatabase db, String table, ContentValues row) { argument
|
H A D | MmsProvider.java | 283 String table = TABLE_PDU; 309 table = TABLE_PART; 313 table = TABLE_ADDR; 317 table = TABLE_RATE; 321 table = TABLE_DRM; 333 if (table.equals(TABLE_PDU)) { 367 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 374 } else if (table.equals(TABLE_ADDR)) { 378 if ((rowId = db.insert(table, null, finalValues)) <= 0) { 384 } else if (table 653 deleteDataRows(SQLiteDatabase db, String table, String selection, String[] selectionArgs) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/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/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/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherProvider.java | 104 return "vnd.android.cursor.dir/" + args.table; 106 return "vnd.android.cursor.item/" + args.table; 116 qb.setTables(args.table); 126 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 130 return db.insert(table, nullColumnHack, values); 136 db.delete(args.table, args.where, args.args); 144 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); 162 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { 180 int count = db.delete(args.table, args.where, args.args); 191 int count = db.update(args.table, value 125 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument 1163 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) { 136 return db.insert(table, nullColumnHack, values); 142 db.delete(args.table, args.where, args.args); 151 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); 200 int count = db.update(args.table, value 131 dbInsertAndCheck(DatabaseHelper helper, SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) argument 1422 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 | 172 * The cached copy of the CalendarMetaData database table. 605 * the timezone dependent fields in the Instances table if the timezone 631 * then the Instances table will be regenerated. 737 Log.v(TAG, "Could not update Events table with values " + values); 782 // Regenerate the Instances table for this month. Include events 824 * ALERT table is maintained locally so don't request a sync for changes in it 1072 * Fills the Instances table, if necessary, for the given range and then 1073 * queries the Instances table. 1335 * table. Acquires the database lock and calls 1360 * table 3312 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument 3469 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 | 253 // entries for that storage from the files table. 798 // create image thumbnail table 937 // Cleans up album_art table entry when an album is deleted 1010 // Create bucket_id and bucket_display_name columns for the video table. 1023 // Create bookmark column for the video table. 1042 // Create is_podcast and bookmark columns for the audio table. 1156 // create video thumbnail table 1319 // table, so we need to create that if we're at 100 or lower. This means 1335 // Create a new table to manage all files in our storage. 1398 // Value of _id from the old media table 2072 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument 3793 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter 5043 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/src/com/android/email/provider/ |
H A D | EmailProvider.java | 293 * Note that this isn't relevant for table creation strings, since they are used only once 370 * delete from <table> where <column> not in (select <foreignColumn> from <foreignTable>) 372 * @param table the table whose orphans are to be removed 374 * @param foreignColumn the column in the foreign table whose absence will trigger the deletion 375 * @param foreignTable the foreign table 377 private static void deleteUnlinked(SQLiteDatabase db, String table, String column, argument 379 int count = db.delete(table, column + " not in (select " + foreignColumn + " from " + 382 LogUtils.w(TAG, "Found " + count + " orphaned row(s) in " + table); 523 // We'll look at all of the items in the table; ther [all...] |