- Posts: 962
- Thank you received: 87
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
work with thumbnails
IP: 212.97.62.176
6 years 4 months ago #14685
by nermeen
work with thumbnails was created by nermeen
You need to change PDFThumbView.OnPDFPageDisplayed
IP: 37.183.44.177
6 years 4 months ago #14688
by luca.f
Replied by luca.f on topic work with thumbnails
Dear user,
the behaviour you're describing is handled by the methods vOnFling() and vOnMoveEnd() of PDFViewThumb.java
the behaviour you're describing is handled by the methods vOnFling() and vOnMoveEnd() of PDFViewThumb.java
IP: 212.97.62.176
6 years 4 months ago #14692
by nermeen
Replied by nermeen on topic work with thumbnails
Dear User,
We cannot reproduce this flicker behavior.
But the rendering is done in PDFViewThumb.vDraw
We cannot reproduce this flicker behavior.
But the rendering is done in PDFViewThumb.vDraw
IP: 212.97.62.176
6 years 4 months ago #14705
by nermeen
Replied by nermeen on topic work with thumbnails
Thanks for the feedback.
We will test it and integrate in the demo.
We will test it and integrate in the demo.
IP: 37.183.44.177
6 years 3 months ago #14751
by nermeen
Replied by nermeen on topic work with thumbnails
The layout is measured in PDFViewThumb.vLayout, the default behavior is to calculate the scale factor based on the thumbnail max height and use the same scale factor for all pages.
You will need to calculate the landscape ones with different scale factor, and adjust the values passed to
You will need to calculate the landscape ones with different scale factor, and adjust the values passed to
Code:
m_pages[cur].SetRect(left, top, m_scale);
IP: 212.97.62.176
6 years 3 months ago #14779
by luca.f
Replied by luca.f on topic work with thumbnails
We aren't able to replicate the issue with our testing documents.
could you provide us the pdf file you're using?
could you provide us the pdf file you're using?
Time to create page: 0.392 seconds