Searched refs:restorePersistedValue (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/com/android/internal/preference/ |
D | YesNoPreference.java | 89 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue() argument 90 setValue(restorePersistedValue ? getPersistedBoolean(mWasPositiveResult) : in onSetInitialValue()
|
/frameworks/base/core/java/android/preference/ |
D | RingtonePreference.java | 209 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValueObj) { in onSetInitialValue() argument 219 if (restorePersistedValue) { in onSetInitialValue()
|
D | Preference.java | 1409 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue() argument
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | settings.jd | 1037 логическое значение, <code>restorePersistedValue</code>, чтобы показать, было ли уже сохранено знач… 1045 <p>Если <code>restorePersistedValue</code> имеет значение <code>false</code>, вы 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 его значение всегда равно null, когда <code>restorePersistedValue</code> имеет значение <code>true<…
|
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/ |
D | settings.jd | 1037 方法传递一个布尔值 (<code>restorePersistedValue</code>),以指示是否已为该设置保留值。 1045 <p>如果 <code>restorePersistedValue</code> 为 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 <code>restorePersistedValue</code> 为 <code>true</code> 时,其值始终为 null。</p>
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
D | settings.jd | 1036 ….Preference#onSetInitialValue onSetInitialValue()} 方法會傳送布林值 <code>restorePersistedValue</code>,以指出… 1045 <p>如果 <code>restorePersistedValue</code> 是 <code>false</code>,則您應該使用在第二引數中傳送的預設值。 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1067 …>defaultValue</code> 作為 {@code getPersisted*()} 方法中的預設值,因為當 <code>restorePersistedValue</code> 為 <…
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
D | settings.jd | 1036 …eference#onSetInitialValue onSetInitialValue()} メソッドは、ブール値の <code>restorePersistedValue</code> を、そ… 1045 <p><code>restorePersistedValue</code> が <code>false</code> の場合、2 番目の引数で渡されたデフォルト値を使用する必要があります。 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1067 <p class="caution"><strong>警告:</strong> <code>defaultValue</code> は、<code>restorePersistedValue</co…
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
D | settings.jd | 1037 부울 값 <code>restorePersistedValue</code>를 전달하여 해당 설정에 대해 이미 어떤 값이 유지되었는지 1045 <p><code>restorePersistedValue</code>가 <code>false</code>인 경우, 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 <code>restorePersistedValue</code>가 <code>true</code>이면 항상 null이기 때문입니다.</p>
|
/frameworks/base/docs/html-intl/intl/in/guide/topics/ui/ |
D | settings.jd | 1037 boolean, <code>restorePersistedValue</code>, untuk menunjukkan apakah nilai dipertahankan 1045 <p>Jika <code>restorePersistedValue</code> adalah <code>false</code>, maka Anda 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 nilainya selalu nol bila <code>restorePersistedValue</code> adalah <code>true</code>.</p>
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | settings.jd | 1044 a boolean, <code>restorePersistedValue</code>, to indicate whether a value has already been persist… 1052 <p>If <code>restorePersistedValue</code> is <code>false</code>, then you 1057 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1058 if (restorePersistedValue) { 1076 its value is always null when <code>restorePersistedValue</code> is <code>true</code>.</p>
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | Preference.java | 1348 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue() argument
|
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/ |
D | settings.jd | 1037 um booleano, <code>restorePersistedValue</code>, para indicar se um valor já foi persistido 1045 <p>Se <code>restorePersistedValue</code> for <code>false</code>, deve-se 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 seu valor é sempre nulo quando <code>restorePersistedValue</code> é <code>true</code>.</p>
|
/frameworks/base/docs/html-intl/intl/vi/guide/topics/ui/ |
D | settings.jd | 1037 boolean, <code>restorePersistedValue</code>, để cho biết liệu giá trị đã được duy trì 1045 <p>Nếu <code>restorePersistedValue</code> là <code>false</code>, vậy bạn 1050 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { 1051 if (restorePersistedValue) { 1069 giá trị của nó luôn rỗng khi <code>restorePersistedValue</code> là <code>true</code>.</p>
|