Home
last modified time | relevance | path

Searched refs:integer (Results 1 – 25 of 269) sorted by relevance

1234567891011

/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
DOverlayBaseTest.java204 XmlResourceParser parser = mResources.getXml(R.xml.integer); in testAppXml()
273 final int resId = R.integer.matrix_100000; in testMatrix100000()
279 final int resId = R.integer.matrix_100001; in testMatrix100001()
285 final int resId = R.integer.matrix_100010; in testMatrix100010()
291 final int resId = R.integer.matrix_100011; in testMatrix100011()
297 final int resId = R.integer.matrix_100100; in testMatrix100100()
303 final int resId = R.integer.matrix_100101; in testMatrix100101()
309 final int resId = R.integer.matrix_100110; in testMatrix100110()
315 final int resId = R.integer.matrix_100111; in testMatrix100111()
321 final int resId = R.integer.matrix_101000; in testMatrix101000()
[all …]
/frameworks/rs/scriptc/
Drs_value_types.rsh28 * Unsigned integer: uchar, uint8_t ushort, uint16_t uint, uint32_t ulong, uint64_t
134 * int8_t: 8 bit signed integer
136 * 8 bit signed integer type.
141 * int16_t: 16 bit signed integer
143 * A 16 bit signed integer type.
148 * int32_t: 32 bit signed integer
150 * A 32 bit signed integer type.
155 * int64_t: 64 bit signed integer
157 * A 64 bit signed integer type.
168 * uint8_t: 8 bit unsigned integer
[all …]
Drs_object_types.rsh142 RS_TYPE_SIGNED_8 = 4, // An 8 bit signed integer.
143 RS_TYPE_SIGNED_16 = 5, // A 16 bit signed integer.
144 RS_TYPE_SIGNED_32 = 6, // A 32 bit signed integer.
145 RS_TYPE_SIGNED_64 = 7, // A 64 bit signed integer.
146 RS_TYPE_UNSIGNED_8 = 8, // An 8 bit unsigned integer.
147 RS_TYPE_UNSIGNED_16 = 9, // A 16 bit unsigned integer.
148 RS_TYPE_UNSIGNED_32 = 10, // A 32 bit unsigned integer.
149 RS_TYPE_UNSIGNED_64 = 11, // A 64 bit unsigned integer.
151 …RS_TYPE_UNSIGNED_5_6_5 = 13, // A 16 bit unsigned integer packing graphical data in 5, 6, and 5 bi…
152 …RS_TYPE_UNSIGNED_5_5_5_1 = 14, // A 16 bit unsigned integer packing graphical data in 5, 5, 5, and…
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd19 <dd>XML resource that carries an integer value.</dd>
333 element, the Android developer tools create a unique integer in your project's {@code
336 or a unique integer for use in your application code (for example, as an ID for a dialog or a
344 as a unique integer in your application.</p>
444 <p>An integer defined in XML.</p>
446 <p class="note"><strong>Note:</strong> An integer is a simple resource that is referenced
448 such, you can combine integer resources with other simple resources in the one XML file,
455 The filename is arbitrary. The {@code <integer>} element's {@code name} will be used as the
460 In Java: <code>R.integer.<em>integer_name</em></code><br/>
461 In XML: <code>@[<em>package</em>:]integer/<em>integer_name</em></code>
[all …]
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java269 com.android.internal.R.integer.config_bluetooth_idle_cur_ma, in readPowerValuesFromXml()
270 com.android.internal.R.integer.config_bluetooth_rx_cur_ma, in readPowerValuesFromXml()
271 com.android.internal.R.integer.config_bluetooth_tx_cur_ma, in readPowerValuesFromXml()
272 com.android.internal.R.integer.config_bluetooth_operating_voltage_mv, in readPowerValuesFromXml()
273 com.android.internal.R.integer.config_wifi_idle_receive_cur_ma, in readPowerValuesFromXml()
274 com.android.internal.R.integer.config_wifi_active_rx_cur_ma, in readPowerValuesFromXml()
275 com.android.internal.R.integer.config_wifi_tx_cur_ma, in readPowerValuesFromXml()
276 com.android.internal.R.integer.config_wifi_operating_voltage_mv, in readPowerValuesFromXml()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp98 ASSERT_EQ(base::R::integer::number1, val.data); in TEST()
118 ASSERT_EQ(base::R::integer::number1, val.data); in TEST()
146 ssize_t block = table.getResource(base::R::integer::number2, &val, MAY_NOT_BE_BAG); in TEST()
162 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
176 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
190 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
203 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
222 ASSERT_LT(table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG), 0); in TEST()
314 ssize_t block = sharedTable.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
332 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
[all …]
DAppAsLib_test.cpp36 ssize_t block = table.getResource(appaslib::R::app::integer::number1, &val); in TEST()
49 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val); in TEST()
62 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java77 ? getInt("doze.pulse.duration.in.pickup", R.integer.doze_pulse_duration_in_pickup) in getPulseInDuration()
78 : getInt("doze.pulse.duration.in", R.integer.doze_pulse_duration_in); in getPulseInDuration()
82 return getInt("doze.pulse.duration.visible", R.integer.doze_pulse_duration_visible); in getPulseVisibleDuration()
86 return getInt("doze.pulse.duration.out", R.integer.doze_pulse_duration_out); in getPulseOutDuration()
126 return getInt("doze.pulse.schedule.resets", R.integer.doze_pulse_schedule_resets); in getPulseScheduleResets()
130 return getInt("doze.pickup.vibration.threshold", R.integer.doze_pickup_vibration_threshold); in getPickupVibrationThreshold()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java85 com.android.internal.R.integer.db_journal_size_limit)); in getJournalSizeLimit()
112 com.android.internal.R.integer.db_wal_autocheckpoint)); in getWALAutoCheckpoint()
122 com.android.internal.R.integer.db_connection_pool_size)); in getWALConnectionPoolSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DViewFocusAnimator.java55 res.getValue(R.integer.unselected_scale, out, true); in ViewFocusAnimator()
57 res.getValue(R.integer.selected_scale, out, true); in ViewFocusAnimator()
67 mAnimDuration = res.getInteger(R.integer.item_scale_anim_duration); in ViewFocusAnimator()
75 mDismissIconAlpha = res.getFloat(R.integer.dismiss_unselected_alpha); in ViewFocusAnimator()
DDismissAnimationsHolder.java57 mShortDuration = res.getInteger(R.integer.dismiss_short_duration); in DismissAnimationsHolder()
58 mLongDuration = res.getInteger(R.integer.dismiss_long_duration); in DismissAnimationsHolder()
59 mDismissIconNotInDismissStateAlpha = res.getFloat(R.integer.dismiss_unselected_alpha); in DismissAnimationsHolder()
DHomeRecentsEnterExitAnimationHolder.java43 mDelay = mContext.getResources().getInteger(R.integer.recents_home_delay); in HomeRecentsEnterExitAnimationHolder()
44 mDuration = mContext.getResources().getInteger(R.integer.recents_home_duration); in HomeRecentsEnterExitAnimationHolder()
/frameworks/base/libs/androidfw/tests/data/appaslib/
DR.h23 namespace integer {
37 namespace integer {
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd14 <tr><td>Unsigned integer:</td> <td>uchar, <a href='rs_value_types.html#android_rs:uint8_t'>uint8_t…
201 16 bit signed integer
225 32 bit signed integer
241 64 bit signed integer
249 8 bit signed integer
353 8 bit unsigned integer
385 32 bit unsigned integer
393 16 bit unsigned integer
417 32 bit unsigned integer
433 64 bit unsigned integer
[all …]
Drs_object_types.jd211 <tr><th>RS_TYPE_SIGNED_8 = 4</th><td>An 8 bit signed integer.</td></tr>
212 <tr><th>RS_TYPE_SIGNED_16 = 5</th><td>A 16 bit signed integer.</td></tr>
213 <tr><th>RS_TYPE_SIGNED_32 = 6</th><td>A 32 bit signed integer.</td></tr>
214 <tr><th>RS_TYPE_SIGNED_64 = 7</th><td>A 64 bit signed integer.</td></tr>
215 <tr><th>RS_TYPE_UNSIGNED_8 = 8</th><td>An 8 bit unsigned integer.</td></tr>
216 <tr><th>RS_TYPE_UNSIGNED_16 = 9</th><td>A 16 bit unsigned integer.</td></tr>
217 <tr><th>RS_TYPE_UNSIGNED_32 = 10</th><td>A 32 bit unsigned integer.</td></tr>
218 <tr><th>RS_TYPE_UNSIGNED_64 = 11</th><td>A 64 bit unsigned integer.</td></tr>
220 …<tr><th>RS_TYPE_UNSIGNED_5_6_5 = 13</th><td>A 16 bit unsigned integer packing graphical data in 5,…
221 …<tr><th>RS_TYPE_UNSIGNED_5_5_5_1 = 14</th><td>A 16 bit unsigned integer packing graphical data in …
[all …]
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java159 com.android.internal.R.integer.config_criticalBatteryWarningLevel); in BatteryService()
161 com.android.internal.R.integer.config_lowBatteryWarningLevel); in BatteryService()
163 com.android.internal.R.integer.config_lowBatteryCloseWarningBump); in BatteryService()
165 com.android.internal.R.integer.config_shutdownBatteryTemperature); in BatteryService()
226 com.android.internal.R.integer.config_lowBatteryWarningLevel); in updateBatteryWarningLevelLocked()
236 com.android.internal.R.integer.config_lowBatteryCloseWarningBump); in updateBatteryWarningLevelLocked()
810 com.android.internal.R.integer.config_notificationsBatteryLowARGB); in Led()
812 com.android.internal.R.integer.config_notificationsBatteryMediumARGB); in Led()
814 com.android.internal.R.integer.config_notificationsBatteryFullARGB); in Led()
816 com.android.internal.R.integer.config_notificationsBatteryLedOn); in Led()
[all …]
DNetworkTimeUpdateService.java110 com.android.internal.R.integer.config_ntpPollingInterval); in NetworkTimeUpdateService()
112 com.android.internal.R.integer.config_ntpPollingIntervalShorter); in NetworkTimeUpdateService()
114 com.android.internal.R.integer.config_ntpRetry); in NetworkTimeUpdateService()
116 com.android.internal.R.integer.config_ntpThreshold); in NetworkTimeUpdateService()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java274 com.android.internal.R.integer.config_screenBrightnessSettingMinimum)); in DisplayPowerController()
277 com.android.internal.R.integer.config_screenBrightnessDoze)); in DisplayPowerController()
280 com.android.internal.R.integer.config_screenBrightnessDim)); in DisplayPowerController()
283 com.android.internal.R.integer.config_screenBrightnessDark)); in DisplayPowerController()
309 com.android.internal.R.integer.config_brightness_ramp_rate_fast); in DisplayPowerController()
312 com.android.internal.R.integer.config_autoBrightnessLightSensorRate); in DisplayPowerController()
314 com.android.internal.R.integer.config_autoBrightnessBrighteningLightDebounce); in DisplayPowerController()
316 com.android.internal.R.integer.config_autoBrightnessDarkeningLightDebounce); in DisplayPowerController()
320 com.android.internal.R.integer.config_autoBrightnessAmbientLightHorizon); in DisplayPowerController()
331 com.android.internal.R.integer.config_lightSensorWarmupTime); in DisplayPowerController()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java886 R.integer.def_user_rotation); // should be zero degrees in onUpgrade()
947 R.integer.def_long_press_timeout_millis); in onUpgrade()
1612 R.integer.def_low_battery_sound_timeout); in onUpgrade()
1641 R.integer.def_heads_up_enabled); in onUpgrade()
1726 R.integer.def_lock_screen_show_notifications); in onUpgrade()
1870 R.integer.def_sleep_timeout); in onUpgrade()
2140 R.integer.def_screen_off_timeout); in upgradeScreenTimeout()
2366 R.integer.def_screen_off_timeout); in loadSystemSettings()
2378 R.integer.def_screen_brightness); in loadSystemSettings()
2396 R.integer.def_pointer_speed); in loadSystemSettings()
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp113 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F() local
114 ASSERT_NE(nullptr, integer); in TEST_F()
115 EXPECT_EQ(uint16_t(android::Res_value::TYPE_REFERENCE), integer->value.dataType); in TEST_F()
116 EXPECT_EQ(0u, integer->value.data); in TEST_F()
123 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F() local
124 ASSERT_NE(nullptr, integer); in TEST_F()
125 EXPECT_EQ(uint16_t(android::Res_value::TYPE_NULL), integer->value.dataType); in TEST_F()
126 EXPECT_EQ(uint32_t(android::Res_value::DATA_NULL_EMPTY), integer->value.data); in TEST_F()
622 std::string input = R"EOF(<item name="foo" type="integer" format="float">0.3</item>)EOF"; in TEST_F()
/frameworks/base/docs/html/training/animation/
Dcardflip.jd119 android:duration="@integer/card_flip_time_full" /&gt;
126 android:startOffset="@integer/card_flip_time_half"
143 android:duration="@integer/card_flip_time_full" /&gt;
150 android:startOffset="@integer/card_flip_time_half"
174 android:duration="@integer/card_flip_time_full" /&gt;
181 android:startOffset="@integer/card_flip_time_half"
198 android:duration="@integer/card_flip_time_full" /&gt;
205 android:startOffset="@integer/card_flip_time_half"
/frameworks/base/libs/androidfw/tests/data/system/
DR.h36 namespace integer {
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java81 com.android.internal.R.integer.config_criticalBatteryWarningLevel); in updateBatteryWarningLevels()
85 com.android.internal.R.integer.config_lowBatteryWarningLevel); in updateBatteryWarningLevels()
99 com.android.internal.R.integer.config_lowBatteryCloseWarningBump); in updateBatteryWarningLevels()
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DR$integer.class ... android.layoutlib.test.myapplication.R$integer extends java.lang.Object { public static final ...
/frameworks/base/core/res/
DMakeJavaSymbols.sed10 s|.*R.integer.\([a-zA-Z0-9_]*\).*| <java-symbol type="integer" name="\1" />|gp

1234567891011