Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java1061 final ViewItem curr = mViewItems[index]; in translateLeftViewItem() local
1063 if (curr == null || next == null) { in translateLeftViewItem()
1069 final int currCenterX = curr.getCenterX(); in translateLeftViewItem()
1074 curr.layoutWithTranslationX(mDrawArea, mCenterX, mScale); in translateLeftViewItem()
1075 curr.setAlpha(1f); in translateLeftViewItem()
1076 curr.setVisibility(VISIBLE); in translateLeftViewItem()
1079 curr.setTranslationX(translate * (mCenterX - currCenterX) / in translateLeftViewItem()
1082 curr.setTranslationX(translate); in translateLeftViewItem()
1160 final ViewItem curr = mViewItems[i]; in layoutViewItems() local
1161 if (curr == null) { in layoutViewItems()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DPyramid.cpp38 PyramidShort *curr, *last; in allocatePyramidPacked() local
41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked()
42 curr->width = width; in allocatePyramidPacked()
43 curr->height = height; in allocatePyramidPacked()
44 curr->border = border; in allocatePyramidPacked()
45 curr->pitch = (real) (width + border2); in allocatePyramidPacked()
46 curr->ptr = y + border; in allocatePyramidPacked()
49 for (int j = height + border2; j--; y++, position += curr->pitch) { in allocatePyramidPacked()
DDelaunay.cpp593 EdgePointer curr, src, nex; local
596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1);
601 orig(--curr) = src;
602 orig(--curr) = nex;
603 orig(--curr) = nex;
604 orig(--curr) = src;
/packages/modules/Bluetooth/system/service/
Dgatt_server.cc311 const btgatt_db_element_t& curr = svc[i]; in ServiceAddedCallback() local
313 << " handle: " << curr.attribute_handle; in ServiceAddedCallback()
314 if (curr.type == BTGATT_DB_CHARACTERISTIC) { in ServiceAddedCallback()
315 service.characteristics().push_back({curr.attribute_handle, in ServiceAddedCallback()
316 Uuid(curr.uuid), in ServiceAddedCallback()
317 curr.properties, in ServiceAddedCallback()
318 curr.permissions, in ServiceAddedCallback()
320 } else if (curr.type == BTGATT_DB_DESCRIPTOR) { in ServiceAddedCallback()
322 {curr.attribute_handle, Uuid(curr.uuid), curr.permissions}); in ServiceAddedCallback()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp488 const btgatt_db_element_t& curr = db[i]; in fillGattDbElementArray() local
495 env->SetIntField(element.get(), fid, curr.id); in fillGattDbElementArray()
498 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
502 uuid_msb(curr.uuid), uuid_lsb(curr.uuid))); in fillGattDbElementArray()
507 env->SetIntField(element.get(), fid, curr.type); in fillGattDbElementArray()
510 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
513 env->SetIntField(element.get(), fid, curr.start_handle); in fillGattDbElementArray()
516 env->SetIntField(element.get(), fid, curr.end_handle); in fillGattDbElementArray()
519 env->SetIntField(element.get(), fid, curr.properties); in fillGattDbElementArray()
1651 ApcfCommand curr{}; in gattClientScanFilterAddNative() local
[all …]
/packages/modules/Bluetooth/system/bta/sys/
Dbta_sys_conn.cc460 void bta_sys_add_cust_uuid(const tBTA_CUSTOM_UUID& curr) { in bta_sys_add_cust_uuid() argument
462 bta_sys_cb.cust_eir_cb(curr, true); in bta_sys_add_cust_uuid()
476 void bta_sys_remove_cust_uuid(const tBTA_CUSTOM_UUID& curr) { in bta_sys_remove_cust_uuid() argument
478 bta_sys_cb.cust_eir_cb(curr, false); in bta_sys_remove_cust_uuid()
Dbta_sys.h180 typedef void(tBTA_SYS_CUST_EIR_CBACK)(const tBTA_CUSTOM_UUID &curr, bool adding);
260 extern void bta_sys_add_cust_uuid(const tBTA_CUSTOM_UUID& curr);
261 extern void bta_sys_remove_cust_uuid(const tBTA_CUSTOM_UUID& curr);
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_sdp.cc190 tBTA_CUSTOM_UUID curr = {uuid, handle}; in add_sdp_by_uuid() local
191 bta_sys_add_cust_uuid(curr); in add_sdp_by_uuid()
471 const tBTA_CUSTOM_UUID curr = {Uuid::kEmpty, (uint32_t)handle}; in del_rfc_sdp_rec() local
472 bta_sys_remove_cust_uuid(curr); in del_rfc_sdp_rec()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_sys_conn.cc117 void bta_sys_add_cust_uuid(const tBTA_CUSTOM_UUID& curr) { in bta_sys_add_cust_uuid() argument
120 void bta_sys_remove_cust_uuid(const tBTA_CUSTOM_UUID& curr) { in bta_sys_remove_cust_uuid() argument
Dmock_bta_dm_act.h483 std::function<void(const tBTA_CUSTOM_UUID& curr, bool adding)> body{
484 [](const tBTA_CUSTOM_UUID& curr, bool adding) {}};
485 void operator()(const tBTA_CUSTOM_UUID& curr, bool adding) { in operator()
486 body(curr, adding); in operator()
Dmock_bta_dm_act.cc261 void bta_dm_eir_update_cust_uuid(const tBTA_CUSTOM_UUID& curr, bool adding) { in bta_dm_eir_update_cust_uuid() argument
263 test::mock::bta_dm_act::bta_dm_eir_update_cust_uuid(curr, adding); in bta_dm_eir_update_cust_uuid()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc3060 const Uuid& curr = bta_dm_cb.bta_custom_uuid[custom_uuid_idx].custom_uuid; in bta_dm_set_eir() local
3061 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes16) { in bta_dm_set_eir()
3063 UINT16_TO_STREAM(p, curr.As16Bit()); in bta_dm_set_eir()
3093 const Uuid& curr = bta_dm_cb.bta_custom_uuid[custom_uuid_idx].custom_uuid; in bta_dm_set_eir() local
3094 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes32) { in bta_dm_set_eir()
3096 UINT32_TO_STREAM(p, curr.As32Bit()); in bta_dm_set_eir()
3122 const Uuid& curr = bta_dm_cb.bta_custom_uuid[custom_uuid_idx].custom_uuid; in bta_dm_set_eir() local
3123 if (curr.GetShortestRepresentationSize() == Uuid::kNumBytes128) { in bta_dm_set_eir()
3125 ARRAY16_TO_STREAM(p, curr.To128BitBE().data()); in bta_dm_set_eir()
3225 tBTA_CUSTOM_UUID& curr = bta_dm_cb.bta_custom_uuid[c_uu_idx]; in bta_dm_update_cust_uuid() local
[all …]
Dbta_dm_int.h586 void bta_dm_eir_update_cust_uuid(const tBTA_CUSTOM_UUID &curr, bool adding);
/packages/modules/Bluetooth/system/profile/avrcp/
Dconnection_handler.cc91 auto curr = entry; in CleanUp() local
93 curr->second->DeviceDisconnected(); in CleanUp()
94 instance_->avrc_->Close(curr->first); in CleanUp()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1501 Rect curr = mPositionController.getPosition(0);
1504 if (curr.left > center && mPrevBound < 0) {
1506 int currDist = curr.left - center;
1511 } else if (curr.right < center && mNextBound > 0) {
1513 int currDist = center - curr.right;
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dsignalling_manager.cc36 size_t curr = 0; in GetCommandsFromPacketView() local
39 while (curr < end) { in GetCommandsFromPacketView()
40 auto sub_view = packet.GetLittleEndianSubview(curr, end); in GetCommandsFromPacketView()
46 curr += 1 + 1 + 2 + control.GetPayload().size(); in GetCommandsFromPacketView()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java1875 final ForwardedStats curr = new ForwardedStats(tetherStats); in updateQuotaAndStatsFromSnapshot() local
1877 final ForwardedStats diff = (base != null) ? curr.subtract(base) : curr; in updateQuotaAndStatsFromSnapshot()
1881 mStats.put(ifIndex, curr); in updateQuotaAndStatsFromSnapshot()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java992 RestrictionsPerSpeedRange curr = restrictions.get(i); in validateContinuousSpeedRange() local
994 if (Float.compare(curr.mSpeedRange.mMinSpeed, prev.mSpeedRange.mMaxSpeed) != 0) { in validateContinuousSpeedRange()
/packages/inputmethods/LatinIME/dictionaries/
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...