|
|
|
@ -1235,7 +1235,7 @@ IDevice::timer_uid_t CPhoneDevice::RegisterTimer(unsigned int timerType, unsigne
|
|
|
|
|
context->uid = (unsigned long)timer;
|
|
|
|
|
ts.it_value.tv_sec = (timeout / 1000);
|
|
|
|
|
ts.it_value.tv_nsec = (timeout % 1000) * 1000;
|
|
|
|
|
if (times != 1)
|
|
|
|
|
if (times > 1)
|
|
|
|
|
{
|
|
|
|
|
ts.it_interval.tv_sec = ts.it_value.tv_sec;
|
|
|
|
|
ts.it_interval.tv_nsec = ts.it_value.tv_nsec;
|
|
|
|
@ -2924,7 +2924,7 @@ bool CPhoneDevice::PostProcessPhoto(const PHOTO_INFO& photoInfo, const vector<ID
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
textSize = ft2->getTextSize(it->text, fontSize, thickness, &baseline);
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_DEBUG, "%s font Size=%d height: %d baseline=%d", it->text.c_str(), fontSize, textSize.height, baseline);
|
|
|
|
|
// XYLOG(XYLOG_SEVERITY_DEBUG, "%s font Size=%d height: %d baseline=%d", it->text.c_str(), fontSize, textSize.height, baseline);
|
|
|
|
|
|
|
|
|
|
if (it->alignment == OSD_ALIGNMENT_TOP_LEFT)
|
|
|
|
|
{
|
|
|
|
|