final class LensView extends View
View.Capability, View.EventHandler
Modifier and Type | Field and Description |
---|---|
private static int |
multiClickMaxX |
private static int |
multiClickMaxY |
private static long |
multiClickTime |
private long |
nativePtr |
private int |
x |
private int |
y |
GESTURE_NO_DOUBLE_VALUE, GESTURE_NO_VALUE, IME_ATTR_CONVERTED, IME_ATTR_INPUT, IME_ATTR_INPUT_ERROR, IME_ATTR_TARGET_CONVERTED, IME_ATTR_TARGET_NOTCONVERTED
Modifier | Constructor and Description |
---|---|
protected |
LensView() |
Modifier and Type | Method and Description |
---|---|
protected void |
_begin(long ptr)
Assuming this is used to lock the surface for painting
|
protected boolean |
_close(long ptr) |
protected long |
_create(java.util.Map caps)
Native methods
|
private long |
_createNativeView(java.util.Map caps) |
protected void |
_enableInputMethodEvents(long ptr,
boolean enable) |
protected void |
_end(long ptr)
Assuming this is used to unlock the surface after painting is
done
|
protected boolean |
_enterFullscreen(long ptr,
boolean animate,
boolean keepRatio,
boolean hideCursor) |
protected void |
_exitFullscreen(long ptr,
boolean animate) |
protected static int |
_getMultiClickMaxX() |
protected static int |
_getMultiClickMaxY() |
protected static long |
_getMultiClickTime() |
protected int |
_getNativeFrameBuffer(long ptr) |
protected long |
_getNativeView(long ptr) |
protected int |
_getX(long ptr) |
protected int |
_getY(long ptr) |
protected void |
_notifyDragDrop(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
_notifyDragEnter(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
_notifyDragLeave() |
protected void |
_notifyDragOver(int x,
int y,
int absx,
int absy,
int recommendedDropAction) |
protected void |
_notifyKey(int type,
int keyCode,
char[] keyChars,
int modifiers) |
protected void |
_notifyMenu(int x,
int y,
int xAbs,
int yAbs,
boolean isKeyboardTrigger) |
protected void |
_notifyMouse(int type,
int button,
int x,
int y,
int xAbs,
int yAbs,
int modifiers,
boolean isPopupTrigger,
boolean isSynthesized) |
protected void |
_notifyMove(int x,
int y)
Events
|
protected void |
_notifyRepaint(int x,
int y,
int width,
int height) |
protected void |
_notifyResize(int width,
int height) |
protected void |
_notifyScroll(int x,
int y,
int xAbs,
int yAbs,
double deltaX,
double deltaY,
int modifiers,
int lines,
int chars,
int defaultLines,
int defaultChars,
double xMultiplier,
double yMultiplier) |
protected void |
_notifyViewEvent(int viewEvent) |
private void |
_paintByte(long ptr,
int w,
int h,
java.nio.ByteBuffer bytes,
byte[] array,
int offset) |
private void |
_paintInt(long ptr,
int w,
int h,
java.nio.IntBuffer ints,
int[] array,
int offset) |
private void |
_paintIntDirect(long ptr,
int w,
int h,
java.nio.Buffer buffer) |
protected void |
_scheduleRepaint(long ptr) |
protected void |
_setParent(long ptr,
long parentPtr) |
protected void |
_uploadPixels(long nativeViewPtr,
Pixels pixels) |
java.lang.String |
toString() |
_finishInputMethodComposition, close, enableInputMethodEvents, enterFullscreen, exitFullscreen, finishInputMethodComposition, getEventHandler, getHeight, getMultiClickMaxX, getMultiClickMaxY, getMultiClickTime, getNativeFrameBuffer, getNativeRemoteLayerId, getNativeView, getWidth, getWindow, getX, getY, handleBeginTouchEvent, handleEndTouchEvent, handleNextTouchEvent, handleRotateGestureEvent, handleScrollGestureEvent, handleSwipeGestureEvent, handleZoomGestureEvent, isClosed, isInFullscreen, lock, notifyBeginTouchEvent, notifyDragDrop, notifyDragEnd, notifyDragEnter, notifyDragLeave, notifyDragOver, notifyDragStart, notifyEndTouchEvent, notifyInputMethod, notifyInputMethodCandidatePosRequest, notifyKey, notifyMenu, notifyMouse, notifyNextTouchEvent, notifyRepaint, notifyResize, notifyRotateGestureEvent, notifyScroll, notifyScrollGestureEvent, notifySwipeGestureEvent, notifyView, notifyZoomGestureEvent, scheduleRepaint, setEventHandler, toggleFullscreen, unlock, uploadPixels
private static long multiClickTime
private static int multiClickMaxX
private static int multiClickMaxY
private int x
private int y
private long nativePtr
protected static long _getMultiClickTime()
protected static int _getMultiClickMaxX()
protected static int _getMultiClickMaxY()
private void _paintInt(long ptr, int w, int h, java.nio.IntBuffer ints, int[] array, int offset)
private void _paintByte(long ptr, int w, int h, java.nio.ByteBuffer bytes, byte[] array, int offset)
private void _paintIntDirect(long ptr, int w, int h, java.nio.Buffer buffer)
protected void _enableInputMethodEvents(long ptr, boolean enable)
_enableInputMethodEvents
in class View
protected long _getNativeView(long ptr)
_getNativeView
in class View
protected void _scheduleRepaint(long ptr)
_scheduleRepaint
in class View
protected void _uploadPixels(long nativeViewPtr, Pixels pixels)
_uploadPixels
in class View
protected void _notifyMove(int x, int y)
protected void _notifyKey(int type, int keyCode, char[] keyChars, int modifiers)
protected void _notifyMouse(int type, int button, int x, int y, int xAbs, int yAbs, int modifiers, boolean isPopupTrigger, boolean isSynthesized)
protected void _notifyScroll(int x, int y, int xAbs, int yAbs, double deltaX, double deltaY, int modifiers, int lines, int chars, int defaultLines, int defaultChars, double xMultiplier, double yMultiplier)
protected void _notifyRepaint(int x, int y, int width, int height)
protected void _notifyResize(int width, int height)
protected void _notifyViewEvent(int viewEvent)
protected void _notifyDragEnter(int x, int y, int absx, int absy, int recommendedDropAction)
protected void _notifyDragLeave()
protected void _notifyDragDrop(int x, int y, int absx, int absy, int recommendedDropAction)
protected void _notifyDragOver(int x, int y, int absx, int absy, int recommendedDropAction)
protected void _notifyMenu(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger)
protected int _getNativeFrameBuffer(long ptr)
_getNativeFrameBuffer
in class View
protected long _create(java.util.Map caps)
private long _createNativeView(java.util.Map caps)
protected void _begin(long ptr)
protected void _end(long ptr)
protected void _setParent(long ptr, long parentPtr)
_setParent
in class View
protected boolean _enterFullscreen(long ptr, boolean animate, boolean keepRatio, boolean hideCursor)
_enterFullscreen
in class View
protected void _exitFullscreen(long ptr, boolean animate)
_exitFullscreen
in class View
public java.lang.String toString()
toString
in class java.lang.Object