Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

work with thumbnails 4 years 5 months ago #14685

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You need to change PDFThumbView.OnPDFPageDisplayed
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 4 years 5 months ago #14688

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
Dear user,
the behaviour you're describing is handled by the methods vOnFling() and vOnMoveEnd() of PDFViewThumb.java
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 4 years 4 months ago #14692

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Dear User,

We cannot reproduce this flicker behavior.

But the rendering is done in PDFViewThumb.vDraw
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 4 years 4 months ago #14705

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Thanks for the feedback.

We will test it and integrate in the demo.

Please Log in or Create an account to join the conversation.

work with thumbnails 4 years 4 months ago #14751

  • nermeen
  • nermeen's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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
m_pages[cur].SetRect(left, top, m_scale);
The following user(s) said Thank You: ShadMaxim

Please Log in or Create an account to join the conversation.

work with thumbnails 4 years 4 months ago #14779

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
We aren't able to replicate the issue with our testing documents.
could you provide us the pdf file you're using?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum