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
08d71117
Kaydet (Commit)
08d71117
authored
Ock 12, 2015
tarafından
Tomaž Vajngerl
Kaydeden (comit)
Miklos Vajna
Ock 16, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: comments for new interfaces and methods
Change-Id: I742e232b3a9994f82423bc4bdfa1a5b656f8af87
üst
2d92cfd3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
Document.java
android/Bootstrap/src/org/libreoffice/kit/Document.java
+8
-0
Office.java
android/Bootstrap/src/org/libreoffice/kit/Office.java
+7
-0
TileProvider.java
...tal/LOAndroid3/src/java/org/libreoffice/TileProvider.java
+10
-0
No files found.
android/Bootstrap/src/org/libreoffice/kit/Document.java
Dosyayı görüntüle @
08d71117
...
...
@@ -85,7 +85,15 @@ public class Document {
public
native
void
initializeForRendering
();
/**
* Callback to retrieve messages from LOK
*/
public
interface
MessageCallback
{
/**
* Invoked when a message is retrieved from LOK
* @param signalNumber - signal type / number
* @param payload - retrieved for the signal
*/
void
messageRetrieved
(
int
signalNumber
,
String
payload
);
}
...
...
android/Bootstrap/src/org/libreoffice/kit/Office.java
Dosyayı görüntüle @
08d71117
...
...
@@ -12,6 +12,8 @@ package org.libreoffice.kit;
import
java.nio.ByteBuffer
;
public
class
Office
{
public
static
final
int
KEY_PRESS
=
0
;
public
static
final
int
KEY_RELEASE
=
1
;
private
ByteBuffer
handle
;
...
...
@@ -32,6 +34,11 @@ public class Office {
return
document
;
}
/**
* Post a key event to LibreOffice.
* @param type - type of key event
* @param code - key event code
*/
public
native
void
postKeyEvent
(
int
type
,
int
code
);
public
native
void
destroy
();
...
...
android/experimental/LOAndroid3/src/java/org/libreoffice/TileProvider.java
Dosyayı görüntüle @
08d71117
...
...
@@ -16,6 +16,9 @@ public interface TileProvider {
CairoImage
createTile
(
float
x
,
float
y
,
IntSize
tileSize
,
float
zoom
);
/**
* Rerender and overwrite tile's image buffer directly
*/
void
rerenderTile
(
CairoImage
image
,
float
x
,
float
y
,
IntSize
tileSize
,
float
zoom
);
void
changePart
(
int
partIndex
);
...
...
@@ -30,7 +33,14 @@ public interface TileProvider {
void
registerInvalidationCallback
(
TileProvider
.
TileInvalidationCallback
tileInvalidationCallback
);
/**
* Callback to retrieve invalidation calls
*/
public
interface
TileInvalidationCallback
{
/**
* Invoked when a region is invalidated.
* @param rect area in pixels which was invalidated and needs to be redrawn
*/
void
invalidate
(
RectF
rect
);
}
}
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