SYMBOL INDEX (150 symbols across 26 files) FILE: app/src/main/java/com/cundong/memory/App.java class App (line 6) | public class App extends Application { method getAppContext (line 10) | public static Context getAppContext() { method onCreate (line 14) | @Override FILE: app/src/main/java/com/cundong/memory/Constants.java class Constants (line 5) | public class Constants { FILE: app/src/main/java/com/cundong/memory/MainActivity.java class MainActivity (line 22) | public class MainActivity extends AppCompatActivity { method onCreate (line 28) | @Override method try2StartMonitor (line 81) | @TargetApi(Build.VERSION_CODES.M) method onResume (line 98) | @Override method onActivityResult (line 108) | @TargetApi(Build.VERSION_CODES.M) method isServiceRunning (line 130) | private boolean isServiceRunning(String className) { FILE: app/src/main/java/com/cundong/memory/demo/right/AsyncTaskOutOfMemoryActivity.java class AsyncTaskOutOfMemoryActivity (line 20) | public class AsyncTaskOutOfMemoryActivity extends Activity { method onCreate (line 24) | @Override class BitmapWorkerTask (line 35) | class BitmapWorkerTask extends AsyncTask { method BitmapWorkerTask (line 39) | public BitmapWorkerTask(ImageView imageView) { method doInBackground (line 45) | @Override method onPostExecute (line 52) | @Override FILE: app/src/main/java/com/cundong/memory/demo/right/HandlerOutOfMemoryActivity.java class HandlerOutOfMemoryActivity (line 18) | public class HandlerOutOfMemoryActivity extends Activity { class MyHandler (line 22) | private static class MyHandler extends Handler { method MyHandler (line 25) | public MyHandler(HandlerOutOfMemoryActivity activity) { method handleMessage (line 29) | @Override method run (line 39) | @Override method onCreate (line 45) | @Override FILE: app/src/main/java/com/cundong/memory/demo/right/OneStaticOutOfMemoryActivity.java class OneStaticOutOfMemoryActivity (line 16) | public class OneStaticOutOfMemoryActivity extends Activity { method onCreate (line 20) | @Override FILE: app/src/main/java/com/cundong/memory/demo/right/OneThreadOutOfMemoryActivity.java class OneThreadOutOfMemoryActivity (line 19) | public class OneThreadOutOfMemoryActivity extends Activity { method onCreate (line 23) | @Override method releaseZip (line 33) | private void releaseZip(WeakReference context){ class MyThread (line 37) | private class MyThread extends Thread { method run (line 38) | @Override FILE: app/src/main/java/com/cundong/memory/demo/right/TwoStaticOutOfMemoryActivity.java class TwoStaticOutOfMemoryActivity (line 17) | public class TwoStaticOutOfMemoryActivity extends Activity { method onCreate (line 21) | @Override method onDestroy (line 37) | @Override FILE: app/src/main/java/com/cundong/memory/demo/right/TwoThreadOutOfMemoryActivity.java class TwoThreadOutOfMemoryActivity (line 16) | public class TwoThreadOutOfMemoryActivity extends Activity { method onCreate (line 18) | @Override method releaseZip (line 26) | private static void releaseZip(Context context){ class MyThread (line 30) | private static class MyThread extends Thread { method MyThread (line 34) | public MyThread(TwoThreadOutOfMemoryActivity activity) { method run (line 38) | @Override FILE: app/src/main/java/com/cundong/memory/demo/wrong/AsyncTaskOutOfMemoryActivity.java class AsyncTaskOutOfMemoryActivity (line 31) | public class AsyncTaskOutOfMemoryActivity extends Activity { method onCreate (line 35) | @Override class BitmapWorkerTask (line 46) | class BitmapWorkerTask extends AsyncTask { method doInBackground (line 51) | @Override method onPostExecute (line 58) | @Override FILE: app/src/main/java/com/cundong/memory/demo/wrong/HandlerOutOfMemoryActivity.java class HandlerOutOfMemoryActivity (line 31) | public class HandlerOutOfMemoryActivity extends Activity { method handleMessage (line 35) | @Override method onCreate (line 41) | @Override FILE: app/src/main/java/com/cundong/memory/demo/wrong/MemoryChurnActivity.java class MemoryChurnActivity (line 24) | public class MemoryChurnActivity extends Activity { method onCreate (line 28) | @Override FILE: app/src/main/java/com/cundong/memory/demo/wrong/StaticOutOfMemoryActivity.java class StaticOutOfMemoryActivity (line 37) | public class StaticOutOfMemoryActivity extends Activity { method onCreate (line 41) | @Override FILE: app/src/main/java/com/cundong/memory/demo/wrong/ThreadOutOfMemoryActivity.java class ThreadOutOfMemoryActivity (line 32) | public class ThreadOutOfMemoryActivity extends Activity { method onCreate (line 36) | @Override method releaseZip (line 46) | private void releaseZip(WeakReference context){ class MyThread (line 50) | private class MyThread extends Thread { method run (line 51) | @Override FILE: app/src/main/java/com/cundong/memory/service/CoreService.java class CoreService (line 39) | public class CoreService extends Service implements IconCallback { method onCreate (line 55) | @Override method getIconView (line 100) | private View getIconView() { method onBind (line 105) | @Override method onStartCommand (line 110) | @Override method onDestroy (line 127) | @Override class RefreshTask (line 136) | class RefreshTask extends TimerTask { method run (line 138) | @Override method onFlingAway (line 173) | @Override method onMove (line 178) | @Override method onIconClick (line 183) | @Override method onIconDestroyed (line 192) | @Override class InnerHandler (line 198) | private static class InnerHandler extends Handler { method InnerHandler (line 202) | public InnerHandler(CoreService service) { method handleMessage (line 206) | @Override FILE: app/src/main/java/com/cundong/memory/service/EmptyService.java class EmptyService (line 10) | public class EmptyService extends Service { method EmptyService (line 12) | public EmptyService() { method onBind (line 15) | @Override method onCreate (line 20) | @Override FILE: app/src/main/java/com/cundong/memory/util/BitmapUtils.java class BitmapUtils (line 7) | public class BitmapUtils { method decodeSampledBitmapFromResource (line 9) | public static Bitmap decodeSampledBitmapFromResource(Resources res, in... method calculateInSampleSize (line 25) | public static int calculateInSampleSize( FILE: app/src/main/java/com/cundong/memory/util/Logger.java class Logger (line 5) | public class Logger { method Logger (line 20) | private Logger() { method getLogger (line 24) | public static Logger getLogger() { method getFunctionName (line 28) | private String getFunctionName() { method createMessage (line 54) | private String createMessage(String msg) { method i (line 63) | public void i(String msg) { method v (line 73) | public void v(String msg) { method d (line 83) | public void d(String msg) { method e (line 93) | public void e(String msg) { method error (line 103) | public void error(Exception e) { method w (line 129) | public void w(String msg) { method setTag (line 136) | public void setTag(String tag) { method setDebug (line 143) | public static void setDebug(boolean d) { method isDebug (line 147) | public static boolean isDebug() { FILE: app/src/main/java/com/cundong/memory/util/MemoryUtil.java class MemoryUtil (line 29) | public class MemoryUtil { method getTotalPss (line 37) | public static HashMap getTotalPss(ArrayList proc... method getTotalPss (line 86) | public static long getTotalPss(String processName) { method getUsedPercentValue (line 131) | public static String getUsedPercentValue() { method getAvailableMemory (line 156) | public static long getAvailableMemory() { method clearMemory (line 167) | public static void clearMemory(Context context) { FILE: app/src/main/java/com/cundong/memory/util/ViewUtils.java class ViewUtils (line 6) | public class ViewUtils { method unbindDrawables (line 8) | public static void unbindDrawables(View view) { FILE: magnet/src/androidTest/java/com/premnirmal/Magnet/ApplicationTest.java class ApplicationTest (line 9) | public class ApplicationTest extends ApplicationTestCase { method ApplicationTest (line 10) | public ApplicationTest() { FILE: magnet/src/main/java/com/premnirmal/Magnet/FlingListener.java class FlingListener (line 9) | class FlingListener extends GestureDetector.SimpleOnGestureListener { method onFling (line 13) | @Override FILE: magnet/src/main/java/com/premnirmal/Magnet/IconCallback.java type IconCallback (line 9) | public interface IconCallback { method onFlingAway (line 14) | public void onFlingAway(); method onMove (line 21) | public void onMove(float x, float y); method onIconClick (line 30) | public void onIconClick(View icon, float iconXPose, float iconYPose); method onIconDestroyed (line 36) | public void onIconDestroyed(); FILE: magnet/src/main/java/com/premnirmal/Magnet/Magnet.java class Magnet (line 20) | public class Magnet implements View.OnTouchListener { class Builder (line 44) | public static class Builder { method Builder (line 48) | public Builder(Context context) { method setIconView (line 57) | public Builder setIconView(View iconView) { method setIconView (line 68) | public Builder setIconView(int iconViewRes) { method setShouldStickToWall (line 79) | public Builder setShouldStickToWall(boolean shouldStick) { method setShouldFlingAway (line 89) | public Builder setShouldFlingAway(boolean shoudlFling) { method setIconCallback (line 99) | public Builder setIconCallback(IconCallback callback) { method setRemoveIconShouldBeResponsive (line 109) | public Builder setRemoveIconShouldBeResponsive(boolean shouldBeRespo... method setRemoveIconResId (line 119) | public Builder setRemoveIconResId(int removeIconResId) { method setRemoveIconShadow (line 129) | public Builder setRemoveIconShadow(int shadow) { method setInitialPosition (line 140) | public Builder setInitialPosition(int x, int y) { method build (line 146) | public Magnet build() { method Magnet (line 155) | protected Magnet(Context context) { method show (line 166) | public void show() { method addToWindow (line 176) | protected void addToWindow(View icon) { method updateSize (line 195) | protected void updateSize() { method onTouch (line 202) | @Override method flingAway (line 242) | protected void flingAway() { method showRemoveView (line 254) | protected void showRemoveView() { method hideRemoveView (line 260) | protected void hideRemoveView() { method goToWall (line 266) | protected void goToWall() { method move (line 278) | protected void move(float deltaX, float deltaY) { method destroy (line 298) | public void destroy() { method setPosition (line 318) | public void setPosition(int x, int y, boolean animate) { class MoveAnimator (line 331) | protected class MoveAnimator implements Runnable { method start (line 338) | protected void start(float x, float y) { method run (line 345) | @Override method stop (line 358) | protected void stop() { FILE: magnet/src/main/java/com/premnirmal/Magnet/RemoveView.java class RemoveView (line 18) | class RemoveView { method RemoveView (line 35) | RemoveView(Context context) { method setIconResId (line 51) | void setIconResId(int id) { method setShadowBG (line 55) | void setShadowBG(int shadowBG) { method show (line 59) | void show() { method hide (line 67) | void hide() { method onMove (line 89) | void onMove(final float x, final float y) { method destroy (line 101) | void destroy() { method addToWindow (line 109) | private void addToWindow(View layout) { FILE: magnet/src/main/java/com/premnirmal/Magnet/SimpleAnimator.java class SimpleAnimator (line 13) | class SimpleAnimator { method SimpleAnimator (line 18) | public SimpleAnimator(View view, int anim) { method startAnimation (line 23) | public void startAnimation() { method startAnimation (line 27) | public void startAnimation(Animation.AnimationListener listener) {