/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PhotoTableDream.java | 22 * Example interactive screen saver: flick photos onto a table. 39 PhotoTable table = (PhotoTable) findViewById(R.id.table); 40 if (table != null) { 41 table.setDream(this); 51 setContentView(R.layout.table);
|
H A D | EdgeSwipeDetector.java | 34 public EdgeSwipeDetector(Context context, 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 | KeyboardInterpreter.java | 33 public KeyboardInterpreter(PhotoTable table) { argument 35 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/ |
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 | ProfileDatabaseHelper.java | 34 // SQLite-standard table and columns for tracking autoincrement sequences. 68 for (String table : Tables.SEQUENCE_TABLES) { 70 values.put(SEQUENCE_NAME, table);
|
H A D | DbModifierWithNotification.java | 98 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/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...] |
H A D | ContactsTableUtil.java | 34 * Methods for operating on the contacts table. 44 final String table = Tables.CONTACTS; 46 db.execSQL("CREATE INDEX contacts_has_phone_index ON " + table + " (" + 50 db.execSQL("CREATE INDEX contacts_name_raw_contact_id_index ON " + table + " (" + 54 db.execSQL(MoreDatabaseUtils.buildCreateIndexSql(table,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseDatabaseHelperUpgradeTest.java | 193 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); 194 table.assertHasColumn("foo", INTEGER, false, null); 198 TableStructure table = new TableStructure(); 201 table.assertHasColumn("bar", INTEGER, false, null); 209 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); 212 table.assertHasColumn("bar", INTEGER, false, null); 220 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); 223 table.assertHasColumn("foo", TEXT, false, null); 231 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); 234 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/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 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 D | SmsProvider.java | 100 * Return the proper view of "sms" table for the current access status. 103 * @return the table/view name of the "sms" data 112 // First check if a restricted view of the "sms" table should be used based on the 425 // The raw table is used by the telephony layer for storing an sms before 427 // the default sms app of changes to this table. 444 // The raw table is used by the telephony layer for storing an sms before 446 // the default sms app of changes to this table. 461 String table = TABLE_SMS; 500 table = "raw"; 501 // The raw table i [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
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...] |
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);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | LevenshteinSuggestionFormatter.java | 83 final LevenshteinDistance table = new LevenshteinDistance(source, target); 84 table.calculate(); 87 LevenshteinDistance.EditOperation[] ops = table.getTargetOperations();
|
/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/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
H A D | BluetoothMapIMProvider.java | 200 String table = uri.getPathSegments().get(1); 201 if(table == null) 214 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) { 217 if (D) Log.w(TAG, "Unknown table name: " + table); 243 String table = uri.getLastPathSegment(); 244 if(table == null) 258 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) { 263 Log.w(TAG, "Unknown table name: " + table); [all...] |
H A D | BluetoothMapEmailProvider.java | 394 String table = uri.getPathSegments().get(1); 395 if(table == null) 409 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) { 412 if (D) Log.w(TAG, "Unknown table name: " + table); 438 String table = uri.getLastPathSegment(); 439 if(table == null){ 453 if(table.equals(BluetoothMapContract.TABLE_MESSAGE)) { 458 Log.w(TAG, "Unknown table name: " + table); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | ResultActivity.java | 178 TableLayout table = (TableLayout)findViewById(R.id.table); 182 table.addView(row); 188 TableLayout table = (TableLayout)findViewById(R.id.table); 194 table.addView(separator);
|
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProvider.java | 112 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/TelephonyProvider/tests/src/com/android/providers/telephony/ |
H A D | TelephonyBackupAgentTest.java | 335 List<ContentValues> table = new ArrayList<>(); 357 table.add(bodyPart); 360 return new FakeCursor(table, TelephonyBackupAgent.MMS_TEXT_PROJECTION); 365 List<ContentValues> table = new ArrayList<>(); 372 table.add(addr); 374 return new FakeCursor(table, TelephonyBackupAgent.MMS_ADDR_PROJECTION); 774 List<ContentValues> table = new ArrayList<>(); 777 table.add(row); 778 return new FakeCursor(table, projection); 784 List<ContentValues> table [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | TestProvider.java | 121 String table = uri.getPath().substring(1); 123 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) 130 sURIMatcher.addURI(AUTHORITY, table, TABLE); 131 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD);
|