Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 12 of 12) sorted by relevance

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java62 long delta = timeNow - mEventTime; in updateNetworkStats() local
65 if (LDEBUG) Logger.out.println("Adding to mobile: " + delta); in updateNetworkStats()
66 mMobileElapsedTime += delta; in updateNetworkStats()
69 if (LDEBUG) Logger.out.println("Adding to wifi: " + delta); in updateNetworkStats()
70 mWifiElapsedTime += delta; in updateNetworkStats()
73 if (LDEBUG) Logger.out.println("Unaccounted for: " + delta); in updateNetworkStats()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java283 int delta = Math.round(mIsHorizontal ? ((float) w) / ((float) mNumberOfFolds) : in prepareFold() local
292 int deltap = (x + 1) * delta > w ? w - x * delta : delta; in prepareFold()
293 mFoldRectArray[x] = new Rect(x * delta, 0, x * delta + deltap, h); in prepareFold()
295 int deltap = (x + 1) * delta > h ? h - x * delta : delta; in prepareFold()
296 mFoldRectArray[x] = new Rect(0, x * delta, w, x * delta + deltap); in prepareFold()
302 mFoldMaxWidth = delta; in prepareFold()
304 mFoldMaxHeight = delta; in prepareFold()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java219 int delta = newHeight - oldHeight;
221 mTranslate = getTopAndBottomTranslations(oldTop, oldBottom, delta, true);
281 int delta = old[0] < oldTop ? -yTranslateTop : yTranslateBottom;
282 animations.add(getAnimation(v, delta, delta));
286 int delta = i > index ? yTranslateBottom : -yTranslateTop;
287 animations.add(getAnimation(v, delta, delta));
467 int delta = i > index ? yTranslateBottom : -yTranslateTop;
468 v.setTop(v.getTop() + delta);
469 v.setBottom(v.getBottom() + delta);
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java207 int delta = startTop - top; in animateRemoval()
208 child.setTranslationY(delta); in animateRemoval()
227 int delta = startTop - top; in animateRemoval()
228 child.setTranslationY(delta); in animateRemoval()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DDrawPoints.java46 final float delta = SIZE / SEGS; in buildPoints() local
52 value += delta; in buildPoints()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java178 long delta = time - mLastTime; in onDrawFrame() local
179 Log.w("time", Long.toString(delta)); in onDrawFrame()
211 long delta = time - mStartTime; in drawMsPF() local
213 mMsPerFrame = (int) (delta * SAMPLE_FACTOR); in drawMsPF()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java202 int delta = startTop - top; in addRow()
204 View.TRANSLATION_Y, delta, 0); in addRow()
212 int delta = startTop - top; in addRow()
214 View.TRANSLATION_Y, delta, 0); in addRow()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java300 int delta = startTop - top; in animateOtherViews()
301 if (delta != 0) { in animateOtherViews()
313 moveView(child, 0, 0, delta, 0, endAction); in animateOtherViews()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java277 public void onUpdateVolume(int delta) { in onUpdateVolume() argument
278 Log.d(TAG, mRouteId + ": Update volume by " + delta); in onUpdateVolume()
280 setVolumeInternal(mVolume + delta); in onUpdateVolume()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java358 int delta = switchViewStartTop - switchViewNewTop; in handleCellSwitch()
360 switchView.setTranslationY(delta); in handleCellSwitch()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java1139 long delta = expr - System.currentTimeMillis(); in onPasswordExpiring() local
1140 boolean expired = delta < 0L; in onPasswordExpiring()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv689 …830,platform/cts,fake_RbxZHO0QQ_mTcefdD3jXfw@fakeemail.com,CameraITS: add delta on saturation valu…
5222 …ke_GXODyrWJQQ29rUizEM8-6A@fakeemail.com,[var] Implement DeltaSetIndexMap and advance delta fetching
5810 …bugS92H5Fn8s4znQA@fakeemail.com,storaged: fix excessive accounting when io usage has negative delta
7149 …m/system/core,fake_XLbexbugS92H5Fn8s4znQA@fakeemail.com,storaged: handle negative delta in io usage
7277 …tem/core,fake_DtPVO23lSSi6WbAAsuhKNQ@fakeemail.com,ueventd: only relabel devices if there's a delta
13209 …ternal/freetype,fake_GXODyrWJQQ29rUizEM8-6A@fakeemail.com,[truetype] Fix gxvar delta interpolation.
13520 …ah bug #25781. We now simply check for a valid `offset', no longer handling `delta = 1' specially."
14516 …orm/external/freetype,fake_hb1tlTPbSwaYXsM9HKSO0g@fakeemail.com,[truetype] Limit delta shift range.
15122 …com,- added FT_Get_SubGlyph_Info API to freetype.h - small fix to lsb/rsb delta computations - cle…
17032 …atform/external/freetype,fake_cGJR-E_kQja09VzCsNPRHQ@fakeemail.com,[truetype] Fix GX delta tracing.
[all …]