91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 535KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2021-05-13
  • 語(yǔ)言: Java
  • 標(biāo)簽: Androi??

資源簡(jiǎn)介

本文件中的文件,只需要替換Android的framework層的源文件,重新編譯燒錄進(jìn)開發(fā)版就可以使項(xiàng)目實(shí)現(xiàn)雙屏異觸的功能。

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(C)?2010?The?Android?Open?Source?Project
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/

#define?LOG_TAG?“InputDispatcher“
#define?ATRACE_TAG?ATRACE_TAG_INPUT

#define?LOG_NDEBUG?1

//?Log?detailed?debug?messages?about?each?inbound?event?notification?to?the?dispatcher.
#define?DEBUG_INBOUND_EVENT_DETAILS?0

//?Log?detailed?debug?messages?about?each?outbound?event?processed?by?the?dispatcher.
#define?DEBUG_OUTBOUND_EVENT_DETAILS?0

//?Log?debug?messages?about?the?dispatch?cycle.
#define?DEBUG_DISPATCH_CYCLE?0

//?Log?debug?messages?about?registrations.
#define?DEBUG_REGISTRATION?0

//?Log?debug?messages?about?input?event?injection.
#define?DEBUG_INJECTION?0

//?Log?debug?messages?about?input?focus?tracking.
#define?DEBUG_FOCUS?0

//?Log?debug?messages?about?the?app?switch?latency?optimization.
#define?DEBUG_APP_SWITCH?0

//?Log?debug?messages?about?hover?events.
#define?DEBUG_HOVER?0

#include?“InputDispatcher.h“

#include?
#include?
#include?
#include?

#include?
#include?
#include?
#include?
#include?

#define?INDENT?“??“
#define?INDENT2?“????“
#define?INDENT3?“??????“
#define?INDENT4?“????????“

namespace?android?{

//?Default?input?dispatching?timeout?if?there?is?no?focused?application?or?paused?window
//?from?which?to?determine?an?appropriate?dispatching?timeout.
const?nsecs_t?DEFAULT_INPUT_DISPATCHING_TIMEOUT?=?5000?*?1000000LL;?//?5?sec

//?Amount?of?time?to?allow?for?all?pending?events?to?be?processed?when?an?app?switch
//?key?is?on?the?way.??This?is?used?to?preempt?input?dispatch?and?drop?input?events
//?when?an?application?takes?too?long?to?respond?and?the?user?has?pressed?an?app?switch?key.
const?nsecs_t?APP_SWITCH_TIMEOUT?=?500?*?1000000LL;?//?0.5sec

//?Amount?of?time?to?allow?for?an?event?to?be?dispatched?(measured?since?its?eventTime)
//?before?considering?it?stale?and?dropping?it.
const?nsecs_t?STALE_EVENT_TIMEOUT?=?10000?*?1000000LL;?//?10sec

//?Amount?of?time?to?allow?touch?events?to?be?streamed?out?to?a?connection?before?requiring
//?that?the?first?event?be?finished.??This?value?extends?the?ANR?timeout?by?the?specified
//?amount.??For?example?if?streaming?is?allowed?to?get?ahead?by?one?second?relative?to?the
//?queue?of?waiting?unfinished?events?then?ANRs?will?similarly?be?delayed?by?one?second.
const?nsecs_t?STREAM_AHEAD_EVENT_TIMEOUT?=?500?*?1000000LL;?//?0.5sec

//?Log?a?warning?when?a

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-04-26?10:13??RX3399開發(fā)板雙屏異觸解決C++文件\
?????文件??????183409??2019-04-26?10:12??RX3399開發(fā)板雙屏異觸解決C++文件\InputDispatcher.cpp
?????文件?????1000279??2019-04-26?10:13??RX3399開發(fā)板雙屏異觸解決C++文件\RK3399開發(fā)版android7.1雙屏異觸解決方式?-?簡(jiǎn)書.mhtml

評(píng)論

共有 條評(píng)論