Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 52) sorted by relevance

123

/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java175 public void onSensorChanged(SensorEvent event) { in onSensorChanged() argument
178 final int nArgs = event.values.length; in onSensorChanged()
181 val = String.format(mTextFmt, event.values[0], event.values[1], event.values[2]); in onSensorChanged()
183 val = String.format(mTextFmt, event.values[0], event.values[1]); in onSensorChanged()
185 val = String.format(mTextFmt, event.values[0]); in onSensorChanged()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java23 import java.awt.event.ActionEvent;
24 import java.awt.event.ActionListener;
25 import java.awt.event.MouseAdapter;
26 import java.awt.event.MouseEvent;
27 import java.awt.event.MouseMotionAdapter;
28 import java.awt.event.MouseWheelEvent;
29 import java.awt.event.MouseWheelListener;
49 import javax.swing.event.ChangeEvent;
50 import javax.swing.event.ChangeListener;
141 public void stateChanged(ChangeEvent event) { in buildViewerAndControls()
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/
DMultiTouchView.java195 public void constructEventMessage(ByteBuffer bb, MotionEvent event, int ptr_index) { in constructEventMessage() argument
196 bb.putInt(event.getPointerId(ptr_index)); in constructEventMessage()
198 bb.putInt((int) (event.getX(ptr_index) / mDx)); in constructEventMessage()
199 bb.putInt((int) (event.getY(ptr_index) / mDy)); in constructEventMessage()
201 bb.putInt((int) (event.getY(ptr_index) / mDy)); in constructEventMessage()
202 bb.putInt((int) (getWidth() - event.getX(ptr_index) / mDx)); in constructEventMessage()
206 int pressure = (int) (event.getPressure(ptr_index) * 100); in constructEventMessage()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMultiTouchActivity.java166 public boolean onTouch(View v, MotionEvent event) { in onTouch() argument
168 final int action = event.getAction(); in onTouch()
179 event.getPointerCount() * ProtocolConstants.MT_EVENT_ENTRY_SIZE); in onTouch()
181 for (int n = 0; n < event.getPointerCount(); n++) { in onTouch()
182 mImageView.constructEventMessage(bb, event, n); in onTouch()
191 mImageView.constructEventMessage(bb, event, action_pid_index); in onTouch()
199 bb.putInt(event.getPointerId(action_pid_index)); in onTouch()
207 mImageView.constructEventMessage(bb, event, action_pid_index); in onTouch()
215 bb.putInt(event.getPointerId(action_pid_index)); in onTouch()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/action/
DDumpDisplayListAction.java21 import java.awt.event.KeyEvent;
22 import java.awt.event.ActionEvent;
DRefreshWindowsAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DStartServerAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DStopServerAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DRequestLayoutAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DInvalidateAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DCaptureLayersAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DCaptureNodeAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DSaveSceneAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
DLoadGraphAction.java22 import java.awt.event.KeyEvent;
23 import java.awt.event.ActionEvent;
/sdk/testapps/jarCheckTests2/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/libsAndJarTest/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/app/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

123