Home
last modified time | relevance | path

Searched refs:div (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java264 float x[], float u[], int div[], int source, int target) { in stretch() argument
269 for (int i = 0, n = div.length; i < n; i += 2) { in stretch()
270 stretch += div[i + 1] - div[i]; in stretch()
280 for (int i = 0, n = div.length; i < n; i += 2) { in stretch()
284 x[i + 1] = lastX + (div[i] - lastU) + 0.5f; in stretch()
285 u[i + 1] = Math.min((div[i] + 0.5f) / textureSize, textureBound); in stretch()
288 float partU = div[i + 1] - div[i]; in stretch()
294 lastU = div[i + 1]; in stretch()
299 x[div.length + 1] = target; in stretch()
300 u[div.length + 1] = textureBound; in stretch()
[all …]
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_keys.cc172 void smp_compute_csrk(uint16_t div, tSMP_CB* p_cb) { in smp_compute_csrk() argument
177 p_cb->div = div; in smp_compute_csrk()
179 SMP_TRACE_DEBUG("%s: div=%x", __func__, p_cb->div); in smp_compute_csrk()
182 UINT16_TO_STREAM(p, p_cb->div); in smp_compute_csrk()
197 div_status = btm_get_local_div(p_cb->pairing_bda, &p_cb->div); in smp_generate_csrk()
199 smp_compute_csrk(p_cb->div, p_cb); in smp_generate_csrk()
204 uint16_t div; in smp_generate_csrk() local
205 STREAM_TO_UINT16(div, rand); in smp_generate_csrk()
206 smp_compute_csrk(div, p_cb); in smp_generate_csrk()
474 p_cb->ediv = p_cb->div ^ y; in smp_process_ediv()
[all …]
Dsmp_act.cc391 .div = p_cb->div, in smp_send_enc_info()
433 .div = p_cb->div, in smp_send_csrk_info()
Dsmp_int.h298 uint16_t div; member
Dsmp_utils.cc1518 .div = 0, in smp_save_secure_connections_long_term_key()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc_up_sample.cc40 uint8_t div; member
71 a2dp_sbc_ups_cb.div = 1; in a2dp_sbc_init_up_sample()
74 a2dp_sbc_ups_cb.div = 2; in a2dp_sbc_init_up_sample()
80 a2dp_sbc_ups_cb.div = 2; in a2dp_sbc_init_up_sample()
83 a2dp_sbc_ups_cb.div = 4; in a2dp_sbc_init_up_sample()
120 src = src_samples / a2dp_sbc_ups_cb.div; in a2dp_sbc_up_sample()
121 dst = dst_samples / a2dp_sbc_ups_cb.div; in a2dp_sbc_up_sample()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_1/
Ddiv.example.cpp7 namespace generated_tests::div { namespace
74 namespace generated_tests::div { namespace
209 namespace generated_tests::div { namespace
276 namespace generated_tests::div { namespace
411 namespace generated_tests::div { namespace
478 namespace generated_tests::div { namespace
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_camera.h106 double temp,div; in db_DeHomogenizeImagePoint() local
111 div=1.0/temp; in db_DeHomogenizeImagePoint()
112 xd[0]=xs[0]*div;xd[1]=xs[1]*div; in db_DeHomogenizeImagePoint()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java248 final int div = pointerUp ? count - 1 : count; in onTouchEvent() local
249 float x = sumX / div; in onTouchEvent()
250 float y = sumY / div; in onTouchEvent()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble.cc1080 if (p_dev_rec && p_dev_rec->ble.keys.div) { in btm_get_local_div()
1082 *p_div = p_dev_rec->ble.keys.div; in btm_get_local_div()
1176 p_rec->ble.keys.div = p_keys->lenc_key.div; /* update DIV */ in btm_sec_save_le_key()
1184 p_rec->ble.key_type, p_rec->ble.keys.div, p_rec->ble.keys.key_size, in btm_sec_save_le_key()
1190 p_rec->ble.keys.div = p_keys->lcsrk_key.div; /* update DIV */ in btm_sec_save_le_key()
1197 p_rec->ble.key_type, p_rec->ble.keys.div, in btm_sec_save_le_key()
Dsecurity_device_record.h84 uint16_t div; /* local DIV to generate local LTK=d1(ER,DIV,0) and member
/packages/modules/Bluetooth/system/stack/include/
Dbtm_ble_api_types.h536 uint16_t div; member
544 uint16_t div; member
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp136 const auto div = [](const int64_t& l, const int64_t& r) -> int32_t { in calculateOveruseAndForgivenBytes() local
148 int32_t foregroundOveruses = div(writtenBytes.foregroundBytes, threshold.foregroundBytes); in calculateOveruseAndForgivenBytes()
149 int32_t backgroundOveruses = div(writtenBytes.backgroundBytes, threshold.backgroundBytes); in calculateOveruseAndForgivenBytes()
150 int32_t garageModeOveruses = div(writtenBytes.garageModeBytes, threshold.garageModeBytes); in calculateOveruseAndForgivenBytes()
/packages/services/Car/tools/telemetry/lua-interpreter/static/css/
Dindex.css114 /** Modifies the scrollbar for the published data header div ONLY. */
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java401 String div = ""; in updatePhysicalChannelConfiguration() local
405 sb.append(div).append(c); in updatePhysicalChannelConfiguration()
406 div = ","; in updatePhysicalChannelConfiguration()
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12