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

/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.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 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);
H A DContactsDatabaseHelper.java165 * 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
3854 upgradeToVersion626_findAccountsWithDataSets( Set<AccountWithDataSet> result, SQLiteDatabase db, String table) argument
3867 upgradeToVersion626_fillAccountId(SQLiteDatabase db, String table) argument
4253 updateIndexStats(SQLiteDatabase db, String table, String index, String stats) argument
[all...]
H A DContactsProvider2.java1086 // 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 DMoreDatabaseUtils.java27 * 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 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/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/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java364 private void insertAddingDefaults(SQLiteDatabase db, String table, ContentValues row) { argument
H A DMmsProvider.java283 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 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/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/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java104 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 DLauncherProvider.java110 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 DBrowserProvider2.java383 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 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.java172 * 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
1061 * Fills the Instances table, if necessary, for the given range and then
1062 * queries the Instances table.
1324 * table. Acquires the database lock and calls
1349 * table. The database lock must be held when calling this method.
1374 // if we end up having to expand events into the instances table, expan
3301 deleteFromEventRelatedTable(String table, Uri uri, String selection, String[] selectionArgs) argument
3458 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.java249 // entries for that storage from the files table.
792 // create image thumbnail table
931 // Cleans up album_art table entry when an album is deleted
1004 // Create bucket_id and bucket_display_name columns for the video table.
1017 // Create bookmark column for the video table.
1036 // Create is_podcast and bookmark columns for the audio table.
1150 // create video thumbnail table
1313 // table, so we need to create that if we're at 100 or lower. This means
1329 // Create a new table to manage all files in our storage.
1392 // Value of _id from the old media table
2066 queryThumbnail(SQLiteQueryBuilder qb, Uri uri, String table, String column, boolean hasThumbnailId) argument
3787 public String table; field in class:MediaProvider.GetTableAndWhereOutParameter
5027 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 DEmailProvider.java292 * Note that this isn't relevant for table creation strings, since they are used only once
369 * delete from <table> where <column> not in (select <foreignColumn> from <foreignTable>)
371 * @param table the table whose orphans are to be removed
373 * @param foreignColumn the column in the foreign table whose absence will trigger the deletion
374 * @param foreignTable the foreign table
376 private static void deleteUnlinked(SQLiteDatabase db, String table, String column, argument
378 int count = db.delete(table, column + " not in (select " + foreignColumn + " from " +
381 LogUtils.w(TAG, "Found " + count + " orphaned row(s) in " + table);
522 // We'll look at all of the items in the table; ther
[all...]

Completed in 437 milliseconds