INNER CODE UNIT · C

time

Qfusion/qfusion · source/android/android_input.c:174

		time = AMotionEvent_getEventTime( event ) / ( ( int64_t )1000000 );

		switch( source ) {
			case AINPUT_SOURCE_TOUCHSCREEN:
			{
				touchevent_t type;
				size_t i, pointerCount = 0, p;

				switch( action & AMOTION_EVENT_ACTION_MASK ) {
					case AMOTION_EVENT_ACTION_DOWN:
					case AMOTION_EVENT_ACTION_POINTER_DOWN:
						type = TOUCH_DOWN;
						pointerCount = 1;
						break;
					case AMOTION_EVENT_ACTION_POINTER_UP:
						type = TOUCH_UP;
						pointerCount = 1;
						break;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…