Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f95f3070
Kaydet (Commit)
f95f3070
authored
Eki 21, 2014
tarafından
Tor Lillqvist
Kaydeden (comit)
Tomaž Vajngerl
Ara 04, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Log time since object creation, not since epoch
Change-Id: I43c7725b88c9326e269abc277f42e47c08acefb5
üst
83268481
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
LOKitTileProvider.java
...OAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
+8
-4
No files found.
android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
Dosyayı görüntüle @
f95f3070
...
...
@@ -28,6 +28,8 @@ public class LOKitTileProvider implements TileProvider {
private
float
mWidthTwip
;
private
float
mHeightTwip
;
private
long
objectCreationTime
=
System
.
currentTimeMillis
();
public
LOKitTileProvider
(
LayerController
layerController
,
String
input
)
{
mLayerController
=
layerController
;
mDPI
=
(
float
)
LOKitShell
.
getDpi
();
...
...
@@ -166,11 +168,13 @@ public class LOKitTileProvider implements TileProvider {
float
twipY
=
pixelToTwip
(
y
,
mDPI
)
/
zoom
;
float
twipWidth
=
mTileWidth
/
zoom
;
float
twipHeight
=
mTileHeight
/
zoom
;
long
start
=
System
.
currentTimeMillis
();
Log
.
i
(
LOGTAG
,
"paintTile TOP @ "
+
start
+
"("
+
tileSize
.
width
+
" "
+
tileSize
.
height
+
" "
+
(
int
)
twipX
+
" "
+
(
int
)
twipY
+
" "
+
(
int
)
twipWidth
+
" "
+
(
int
)
twipHeight
+
")"
);
long
start
=
System
.
currentTimeMillis
()
-
objectCreationTime
;
Log
.
i
(
LOGTAG
,
"paintTile >> @"
+
start
+
" ("
+
tileSize
.
width
+
" "
+
tileSize
.
height
+
" "
+
(
int
)
twipX
+
" "
+
(
int
)
twipY
+
" "
+
(
int
)
twipWidth
+
" "
+
(
int
)
twipHeight
+
")"
);
mDocument
.
paintTile
(
buffer
,
tileSize
.
width
,
tileSize
.
height
,
(
int
)
twipX
,
(
int
)
twipY
,
(
int
)
twipWidth
,
(
int
)
twipHeight
);
long
stop
=
System
.
currentTimeMillis
();
Log
.
i
(
LOGTAG
,
"paintTile TAIL @ "
+
stop
+
" - elapsed: "
+
(
stop
-
start
)
+
" "
);
long
stop
=
System
.
currentTimeMillis
()
-
objectCreationTime
;
Log
.
i
(
LOGTAG
,
"paintTile << @"
+
stop
+
" elapsed: "
+
(
stop
-
start
));
}
else
{
Log
.
e
(
LOGTAG
,
"Document is null!!"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment