/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 581 public void verifyPendingInstall(int id, int verificationCode) { argument 586 public void extendVerificationTimeout(int id, int verificationCodeAtTimeout, argument
|
H A D | MockResources.java | 51 public CharSequence getText(int id) throws NotFoundException { argument 56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument 61 public String getString(int id) throws NotFoundException { argument 66 public String getString(int id, Object... formatArgs) throws NotFoundException { argument 71 public String getQuantityString(int id, int quantity, Object... formatArgs) argument 77 public String getQuantityString(int id, int quantity) throws NotFoundException { argument 82 public CharSequence getText(int id, CharSequence def) { argument 87 public CharSequence[] getTextArray(int id) throws NotFoundException { argument 92 public String[] getStringArray(int id) throws NotFoundException { argument 97 public int[] getIntArray(int id) throw argument 102 obtainTypedArray(int id) argument 107 getDimension(int id) argument 112 getDimensionPixelOffset(int id) argument 117 getDimensionPixelSize(int id) argument 122 getDrawable(int id) argument 127 getMovie(int id) argument 132 getColor(int id) argument 137 getColorStateList(int id) argument 142 getInteger(int id) argument 147 getLayout(int id) argument 152 getAnimation(int id) argument 157 getXml(int id) argument 162 openRawResource(int id) argument 167 openRawResourceFd(int id) argument 172 getValue(int id, TypedValue outValue, boolean resolveRefs) argument [all...] |
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestActivity.java | 39 private static final String KEY_FRAGMENT_ID = "id"; 45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 46 onListItemClick((ListView)parent, v, position, id); 50 private void onListItemClick(ListView lv, View v, int position, long id) { argument 63 ft.replace(R.id.testframe, fragment); 78 mList = (ListView) findViewById(R.id.testlist); 84 new int[]{android.R.id.text1}); 102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic); 104 addItem(result, "Canvas", BiDiTestCanvas.class, R.id.canvas); 105 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 453 * @param id Status code of the error 456 public void error(int id, String description) { argument 458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id + 468 if (expectErrorId == id) { 472 " got:"+id); 519 expectDetails.append("SslCertificateError id expected:"+
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 214 private Bitmap loadAndPrintDpi(int id, boolean scale) { argument 217 bitmap = BitmapFactory.decodeResource(getResources(), id); 221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | CallbackProxy.java | 145 int id = args.getInt("id"); 146 mEventSender.updateTouchPoint(id, x, y); 331 public void updateTouchPoint(int id, int x, int y) { argument 335 map.putInt("id", id); 350 public void releaseTouchPoint(int id) { argument 351 obtainMessage(EVENT_RELEASE_TOUCH_POINT, id, 0).sendToTarget(); 367 public void cancelTouchPoint(int id) { argument 368 obtainMessage(EVENT_CANCEL_TOUCH_POINT, id, [all...] |
H A D | EventSender.java | 34 public void updateTouchPoint(int id, int x, int y); argument 36 public void releaseTouchPoint(int id); argument 38 public void cancelTouchPoint(int id); argument
|
H A D | FileList.java | 121 protected void onListItemClick(ListView l, View v, int position, long id) argument 177 new int[] {android.R.id.text1}));
|
H A D | WebViewEventSender.java | 294 public void cancelTouchPoint(int id) { argument 295 TouchPoint tp = mTouchPoints.get(id); 305 int id; 307 id = 0; 309 id = mTouchPoints.get(numPoints - 1).getId() + 1; 312 mTouchPoints.add(new TouchPoint(id, contentsToWindowX(x), contentsToWindowY(y))); 342 public void releaseTouchPoint(int id) { argument 343 TouchPoint tp = mTouchPoints.get(id); 380 public TouchPoint(int id, int x, int y) { argument 381 mId = id; [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | EventSender.java | 79 public void updateTouchPoint(int id, int x, int y) { argument 80 mEventSenderImpl.updateTouchPoint(id, x, y); 91 public void releaseTouchPoint(int id) { argument 92 mEventSenderImpl.releaseTouchPoint(id); 107 public void cancelTouchPoint(int id) { argument 108 mEventSenderImpl.cancelTouchPoint(id);
|
H A D | EventSenderImpl.java | 88 public TouchPoint(int id, Point point) { argument 89 mId = id; 215 int id; 217 id = 0; 219 id = getTouchPoints().get(numPoints - 1).getId() + 1; 222 new TouchPoint(id, createViewPointFromContentCoordinates(msg.arg1, msg.arg2))); 238 int index = bundle.getInt("id"); 403 public void updateTouchPoint(int id, int x, int y) { argument 405 bundle.putInt("id", id); 415 cancelTouchPoint(int id) argument 425 releaseTouchPoint(int id) argument [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
H A D | DirListActivity.java | 172 TextView label = (TextView)row.findViewById(R.id.label); 175 ImageView icon = (ImageView)row.findViewById(R.id.icon); 196 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 210 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { 248 case R.id.run_all: 282 protected Dialog onCreateDialog(int id, final Bundle args) { argument 286 switch (id) {
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 164 mFgSpinner = (Spinner) findViewById(R.id.fgspinner); 170 mBgSpinner = (Spinner) findViewById(R.id.bgspinner); 176 mLimitSpinner = (Spinner) findViewById(R.id.limitspinner); 183 mTestTime = (TextView)findViewById(R.id.testtime); 184 mLimitLabel = (TextView)findViewById(R.id.limitlabel); 186 mStartButton = (Button)findViewById(R.id.start); 192 mStopButton = (Button)findViewById(R.id.stop); 199 mLocalCheckBox = (CheckBox)findViewById(R.id.local); 201 mLog = (TextView)findViewById(R.id.log); 209 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewPropertyAlphaActivity.java | 53 startAnim(R.id.button); 54 startAnim(R.id.textview); 55 startAnim(R.id.spantext); 56 startAnim(R.id.edittext); 57 startAnim(R.id.selectedtext); 58 startAnim(R.id.textviewbackground); 59 startAnim(R.id.layout); 60 startAnim(R.id.imageview); 63 EditText selectedText = (EditText) findViewById(R.id.selectedtext); 68 Button invalidator = (Button) findViewById(R.id 112 startAnim(int id) argument [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | DialogActivity.java | 81 protected Dialog onCreateDialog(int id) argument 83 switch (id) 91 return super.onCreateDialog(id);
|
H A D | EditTextActivityDialog.java | 77 protected Dialog onCreateDialog(int id) { argument 78 switch (id) { 85 return super.onCreateDialog(id);
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsRS.java | 70 private Allocation loadTexture(int id) { argument 73 id, Allocation.MipmapControl.MIPMAP_NONE, 135 public void newTouchPosition(float x, float y, float pressure, int id) { argument 136 mPhysicsScript.invoke_touch(x, y, pressure, id);
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 57 if (id >= holdingColor.length) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); 66 holdingColor[id] = true; 68 holdingColor[id] = false;
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
H A D | FountainFboRS.java | 82 public void newTouchPosition(float x, float y, float pressure, int id) { argument 83 if (id >= holdingColor.length) { 91 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); 92 holdingColor[id] = true; 94 holdingColor[id] = false;
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 57 if (id >= holdingColor.length) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]); 66 holdingColor[id] = true; 68 holdingColor[id] = false;
|
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 99 mPreviewView = (TextureView) findViewById(R.id.preview_view); 100 mFormatView = (ImageView) findViewById(R.id.format_view); 109 mCameraSpinner = (Spinner) findViewById(R.id.cameras_selection); 115 mResolutionSpinner = (Spinner) findViewById(R.id.resolution_selection); 161 View view, int pos, long id) { 176 View view, int position, long id) { 190 private void setUpCamera(int id) { argument 193 mCurrentCameraId = id; 194 mCamera = Camera.open(id);
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsRenderStatesRS.java | 298 private Allocation loadTextureRGB(int id) { argument 299 return Allocation.createFromBitmapResource(mRS, mRes, id, 304 private Allocation loadTextureARGB(int id) { argument 305 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | A3DSelector.java | 87 protected void onListItemClick(ListView l, View v, int position, long id) { argument
|
H A D | SgTransform.java | 37 TransformType(int id) { argument 38 mID = id;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | FillTest.java | 131 private Allocation loadTextureARGB(int id) { argument 132 Bitmap b = BitmapFactory.decodeResource(mRes, id, mOptionsARGB); 138 private Allocation loadTextureRGB(int id) { argument 139 return Allocation.createFromBitmapResource(mRS, mRes, id,
|