Lines Matching refs:locale
125 private static native void nativeRegisterLocalizedCollators(long connectionPtr, String locale);
360 final String newLocale = mConfiguration.locale.toString();
371 execute("CREATE TABLE IF NOT EXISTS android_metadata (locale TEXT)", null, null);
373 // Check whether the locale was actually changed.
374 final String oldLocale = executeForString("SELECT locale FROM android_metadata "
375 + "UNION SELECT NULL ORDER BY locale DESC LIMIT 1", null, null);
380 // Go ahead and update the indexes using the new locale.
385 execute("INSERT INTO android_metadata (locale) VALUES(?)",
393 throw new SQLiteException("Failed to change locale for db '" + mConfiguration.label
416 boolean localeChanged = !configuration.locale.equals(mConfiguration.locale);
434 // Update locale.