All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.badlogic.gdx.backends.android.AndroidInput.class Maven / Gradle / Ivy

The newest version!
????2?
???
?	???
?	???
?	??	??	??	??	??	??	??	???
?	??	??	??	??	??	??	??	??	??	??	??	??	??	??	??
??	??	??	??	??
??
??
??
??
??
??	????
0?
/?	??	??	??	??	??
???
9?	???
<???	???
???	??
??	??
??	?	?	??	??	???
L?
0??
O?	?
?	??
?
??	V?	V?	V?????	V???
???	_?	_?	_?	_?	_???????
???
???
??
??
??
??
??
?
?
?
?????
v?
B?
B?
B?
??
?
?

?	?_	?
?	?	?

?	?
?	?
?	?	
?	e	e	e	?	e	e	e 
?!"
??#
??
?$%
?&'
?(
?)*+
?(
?,-.
/012346SensorListenerInnerClasses
TouchEventKeyEvent
usedKeyEventsLcom/badlogic/gdx/utils/Pool;	SignatureXLcom/badlogic/gdx/utils/Pool;usedTouchEventsZLcom/badlogic/gdx/utils/Pool;	keyEventsLjava/util/ArrayList;PLjava/util/ArrayList;touchEventsRLjava/util/ArrayList;touchX[ItouchYdeltaXdeltaYtouched[ZrealId
hasMultitouchZkeysLcom/badlogic/gdx/utils/IntMap;3Lcom/badlogic/gdx/utils/IntMap;manager Landroid/hardware/SensorManager;accelerometerAvailableaccelerometerValues[FtextLjava/lang/String;textListener8TextInputListener*Lcom/badlogic/gdx/Input$TextInputListener;handleLandroid/os/Handler;app6Lcom/badlogic/gdx/backends/android/AndroidApplication;touchHandler7Lcom/badlogic/gdx/backends/android/AndroidTouchHandler;	sleepTimeI	catchBack	catchMenuvibratorLandroid/os/Vibrator;compassAvailablekeyboardAvailablemagneticFieldValuesazimuthFpitchrollinclinationjustTouched	processor!Lcom/badlogic/gdx/InputProcessor;configCLcom/badlogic/gdx/backends/android/AndroidApplicationConfiguration;nativeOrientation9Orientation$Lcom/badlogic/gdx/Input$Orientation;currentEventTimeStampJonscreenKeyboard;Lcom/badlogic/gdx/backends/android/AndroidOnscreenKeyboard;accelerometerListener&Landroid/hardware/SensorEventListener;compassListenerrequestFocusRorientation?(Lcom/badlogic/gdx/backends/android/AndroidApplication;Landroid/view/View;Lcom/badlogic/gdx/backends/android/AndroidApplicationConfiguration;)VCodeLineNumberTableLocalVariableTableithis0Lcom/badlogic/gdx/backends/android/AndroidInput;activityviewLandroid/view/View;
sdkVersionrotationmode:DisplayMode'Lcom/badlogic/gdx/Graphics$DisplayMode;
StackMapTable1;<=:getAccelerometerX()FgetAccelerometerYgetAccelerometerZgetTextInputQ(Lcom/badlogic/gdx/Input$TextInputListener;Ljava/lang/String;Ljava/lang/String;)VlistenertitlegetPlaceholderTextInputplaceholdergetX()I2>getY(I)Ipointer	isTouched(I)ZisKeyPressedkey()ZsetInputProcessor$(Lcom/badlogic/gdx/InputProcessor;)V?
processEvents()Ve9Lcom/badlogic/gdx/backends/android/AndroidInput$KeyEvent;;Lcom/badlogic/gdx/backends/android/AndroidInput$TouchEvent;len??onTouch0(Landroid/view/View;Landroid/view/MotionEvent;)Z Ljava/lang/InterruptedException;eventLandroid/view/MotionEvent;?onKey.(Landroid/view/View;ILandroid/view/KeyEvent;)Z	characterCvkeyCodeLandroid/view/KeyEvent;@setOnscreenKeyboardVisible(Z)VvisiblesetCatchBackKeysetCatchMenuKeyvibrate(I)Vmilliseconds([JI)Vpattern[Jrepeat
cancelVibrateisButtonPressedbuttonupdateOrientationgetRotationMatrix([F)Vmatrix
getAzimuthgetPitchgetRollregisterSensorListeners
accelerometerLandroid/hardware/Sensor;sensor
unregisterSensorListenersgetInputProcessor#()Lcom/badlogic/gdx/InputProcessor;isPeripheralAvailableA
Peripheral&(Lcom/badlogic/gdx/Input$Peripheral;)Z
peripheral#Lcom/badlogic/gdx/Input$Peripheral;getFreePointerIndextmplookUpPointerIndex	pointerIdbufLjava/lang/StringBuffer;"getRotationgetNativeOrientation&()Lcom/badlogic/gdx/Input$Orientation;setCursorCatchedcatchedisCursorCatched	getDeltaX	getDeltaYsetCursorPosition(II)VxygetCurrentEventTime()J
SourceFileAndroidInput.java10com/badlogic/gdx/backends/android/AndroidInput$1B??0com/badlogic/gdx/backends/android/AndroidInput$2??java/util/ArrayList????????????????com/badlogic/gdx/utils/IntMap??????????????????????????????CD~????????<EFGHIGJG?,K,??9com/badlogic/gdx/backends/android/AndroidOnscreenKeyboardandroid/os/HandlerL??????=M?OQ?RST:com/badlogic/gdx/backends/android/AndroidMultiTouchHandler??;com/badlogic/gdx/backends/android/AndroidSingleTouchHandlerUVW??;XYandroid/os/Vibrator??q"Z[\]^_?`?a???b?0com/badlogic/gdx/backends/android/AndroidInput$3cde0com/badlogic/gdx/backends/android/AndroidInput$4f?g)??f"hi7com/badlogic/gdx/backends/android/AndroidInput$KeyEventj?k?C??l)m)nAopqrs9com/badlogic/gdx/backends/android/AndroidInput$TouchEvent{?|?'?tuvuwxy18z{|}java/lang/InterruptedException@~""???"?,?????i????10com/badlogic/gdx/backends/android/AndroidInput$5?K}KN?1(,V??????U1??android/hardware/SensorManager?????android/hardware/Sensor=com/badlogic/gdx/backends/android/AndroidInput$SensorListener??????????????AndroidInputsensor listener setup?????sensor listener tear down?i?i?i???i?i?i??java/lang/StringBufferjava/lang/StringBuilder??:?? ????Pointer ID lookup failed: , ???????".com/badlogic/gdx/backends/android/AndroidInputjava/lang/Objectcom/badlogic/gdx/Inputandroid/view/View$OnKeyListener
OnKeyListener!android/view/View$OnTouchListenerOnTouchListener(com/badlogic/gdx/Input$TextInputListener"com/badlogic/gdx/Input$Orientation%com/badlogic/gdx/Graphics$DisplayMode4com/badlogic/gdx/backends/android/AndroidApplicationandroid/view/ViewAcom/badlogic/gdx/backends/android/AndroidApplicationConfigurationjava/lang/Throwablecom/badlogic/gdx/InputProcessorandroid/view/KeyEvent!com/badlogic/gdx/Input$Peripheral5(Lcom/badlogic/gdx/backends/android/AndroidInput;II)Vjava/lang/SystemnanoTimesetOnKeyListener$(Landroid/view/View$OnKeyListener;)VsetOnTouchListener&(Landroid/view/View$OnTouchListener;)VsetFocusablesetFocusableInTouchModerequestFocusFromTouch`(Landroid/content/Context;Landroid/os/Handler;Lcom/badlogic/gdx/backends/android/AndroidInput;)VtouchSleepTime?android/os/Build$VERSIONVERSIONSDKjava/lang/IntegerparseInt(Ljava/lang/String;)I5com/badlogic/gdx/backends/android/AndroidTouchHandlersupportsMultitouch9(Lcom/badlogic/gdx/backends/android/AndroidApplication;)ZgetSystemService&(Ljava/lang/String;)Ljava/lang/Object;graphics3Lcom/badlogic/gdx/backends/android/AndroidGraphics;1com/badlogic/gdx/backends/android/AndroidGraphicsgetDesktopDisplayMode)()Lcom/badlogic/gdx/Graphics$DisplayMode;widthheight	LandscapePortrait?(Lcom/badlogic/gdx/backends/android/AndroidInput;Ljava/lang/String;Ljava/lang/String;Lcom/badlogic/gdx/Input$TextInputListener;)Vpost(Ljava/lang/Runnable;)ZsizecontainsKeyget(I)Ljava/lang/Object;	timeStamptypekeyDownkeyUpkeyCharkeyTyped(C)Zcom/badlogic/gdx/utils/Poolfree(Ljava/lang/Object;)V	touchDown(IIII)ZtouchUptouchDragged(III)ZclearM(Landroid/view/MotionEvent;Lcom/badlogic/gdx/backends/android/AndroidInput;)Vjava/lang/Threadsleep(J)VgetUnicodeChar	getActionobtain()Ljava/lang/Object;
getKeyCodeisAltPressedadd(Ljava/lang/Object;)Zput'(ILjava/lang/Object;)Ljava/lang/Object;removegetGraphics()Lcom/badlogic/gdx/Graphics;com/badlogic/gdx/GraphicsrequestRendering4(Lcom/badlogic/gdx/backends/android/AndroidInput;Z)Vcancel([F[F[F[F)ZgetOrientation([F[F)[Fjava/lang/Math	toDegrees(D)DuseAccelerometer
getSensorList(I)Ljava/util/List;java/util/List[(Lcom/badlogic/gdx/backends/android/AndroidInput;Lcom/badlogic/gdx/Input$Orientation;[F[F)VregisterListenerC(Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;I)Z
useCompassgetDefaultSensor(I)Landroid/hardware/Sensor;com/badlogic/gdx/GdxLcom/badlogic/gdx/Application;com/badlogic/gdx/Applicationlog'(Ljava/lang/String;Ljava/lang/String;)VunregisterListener)(Landroid/hardware/SensorEventListener;)V
AccelerometerCompassHardwareKeyboardOnscreenKeyboardVibratorMultitouchScreen	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)Vappend(I)Ljava/lang/StringBuilder;-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;,(Ljava/lang/String;)Ljava/lang/StringBuffer;getWindowManager()Landroid/view/WindowManager;android/view/WindowManagergetDefaultDisplay()Landroid/view/Display;android/view/Displayandroid/os/Build1?????*??????????????????????????????????????????????????????????????????????????????????????????????.a?*?*?Y*??*?Y*??*?Y?	?
*?Y?	?*?
?*?
?
*?
?*?
?*??*
?
?*?Y??*?*??*?*?*?*?*?*?*??*?*?*? *?!*?"*?#?$*?%*	??&*??',*?(,*?),?*,?+,?,W,?-W*-?.*?/Y+?0Y?1*?2?36*???*?O????*?0Y?1?4*+?5*-?6??7?86?*?9Y?:?;?*???*+@?A?B?C*?D6*?5?E?F:????G?H?Z???G?H?
*?I?J?
*?K?J??8~KQ&W1X<YDZL[T\\]d^l`wb|c?d?e?i?j?k?m?o?p?q?r?s?t?x?|?????????????????? ?(?.?9?>?F?N?T?b?m?~?????????????R?????	
???N???T??H
*
???3
?<	1*?0??1*?0??1*?0??`*?4?LY*,-+?M?NW?
??*????`*?4?OY*,-+?P?NW?
??*?? ?!"l*YL?*?.+ìM+?,?



?
#$%"l*YL?*?
.+ìM+?,?


	

?
#$!&w*YM?*?.,ìN,?-?



'??
#$%&w*YM?*?
.,ìN,?-?



'??
#$()w*YM?*?3,ìN,?-?



'??
#$*)?+*YM??*??Q??,ì*??R,ìN,?-?&%&&)&$%	&(&)+++??#@J$(,l*YL?*?3+ìM+?,?


./
0?
#$-.?*YM?*+?S,çN,?-??45	67???/#$?01??*YL?*?"*?S?0*?SM*?
?T>6?r*?
?U?V:*?W?$?X?D)8,?Y?ZW?,?Y?[W?,?\?]W*??^????*??T>6??*??U?_:*?`?$?a?i9S,?b?c?d?eW*?"?3,?b?c?d?fW?,?b?c?d?gW*??^???i?_*??T=>?,*??U?_:?a?*?"*??^????*?
?T=>?*?*?
?U?^????*??T?"=*???*?O*?O????*?
?h*??h+ç
:+?????????1:;	=>@A&B4C=D\FhGkIwJzL?N?A?Q?R?S?T?U?W?X?Y?[\^+`4R:b=cEdLeYffgoduj}k?l?k?p?q?r?s?q?w?x?y?zz4[23 u???24???%??5?Y24G.??ET5????^? #/?;6??
?;7?#?	?7??	???R$?89?6*?%?+?,W+?-W*?%*?;,*?i*??*???j?N?(03k*
?????!?(?0?3?4?*42:66	
6;<\=>??W*Y:?-?l?6C?6:-?m??m*??n?V:?\-?o?Y?X?-?p?
?=?Y*?
?qW*??Y?rW??*??n?V:?\-?o?Y?X?-?p?
?=?Y*?
?qW*??n?V:?\?Y?X*?
?qW??*???sW?*?-?o?sW*?5?t?uç:?????*??
??*??R???$'','?%?????8?D?J?S?Y?e?i?o?y?????????????????????????????????	??!?/?8?F?U?>@A;3WWB
WC?W2D3?#?!666?G?E#$?
FGJ*?4?vY*?w?NW?
??H?IG>*??
????JG>*??
????KLB
*?C??x?
?	?

M?KNL
*?C+?y?
?	? 

OP
Q?R16*?C?z?
???,/*?"??S)P?*?{????	T?	U1?M*?&*?*??|?<*?&*?'?}W**?'0??~??**?'0??~??**?'0??~?? ?	.
=L
M?LVWG+*?*??|W?
X?YM*???*?*??	
	ZM*???*?*??"	$
%	[M*???*?*? ?*	,
-	\1??*?.???i**?5??A????*???????*??F*????????L*??Y**?J*?*?????**??*??+????*?*?.???j*???**?5??A????*????L+?>**??*??4*??Y**?J*?*?????**??*??+????*??*????????Z1
23*426D7\8m:p<u>??@?A?B?C?D?E?H?J?K?L?M D)]^?D_^?2= ?G`?a1?G*???6*???*??*????*??*???*??*????*??*?????????*
PQRSU%V0W5Y:[F\Gbc/*?S?`dg?O+???*??+???*??+???*???+????+???*?C???+???*????efg$h-iAjMkOOhi@j"?B*??<=?*?.??????*??`?
M*?,*????*,?,?d?"op
qpt)u8v=w*?B<5?)k???l&$?*??=>?*?.???????Y??N6?1-??Y???????*?.?????????W???ϲ????Y??????????-?????????*
{|
}|?'?0?X?^???>?*4???m??5?'bno???
p?3q"??*?5??????<?,!$(?Z???????0?2?5?9?=??/??
?0rs/*?J??tG5??u?v,,??w"1*?.??w&;*?.??'?x"1*?.??x&;*?.??'?yz??? {?|?}~/*?$????z???_??V?????	???@?	e?f@LOv??5	??7	?NP	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy