com.github.mikephil.charting.utils.ObjectPool Java Examples

The following examples show how to use com.github.mikephil.charting.utils.ObjectPool. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MoveViewJob.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new MoveViewJob(mViewPortHandler, xValue, yValue, mTrans, view);
}
 
Example #2
Source File: ObjectPoolTest.java    From android-kline with Apache License 2.0 4 votes vote down vote up
public static ObjectPool getPool(){
    return pool;
}
 
Example #3
Source File: ObjectPoolTest.java    From android-kline with Apache License 2.0 4 votes vote down vote up
protected ObjectPool.Poolable instantiate(){
    return new TestPoolable(0,0);
}
 
Example #4
Source File: MoveViewJob.java    From android-kline with Apache License 2.0 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new MoveViewJob(mViewPortHandler, xValue, yValue, mTrans, view);
}
 
Example #5
Source File: AnimatedZoomJob.java    From android-kline with Apache License 2.0 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedZoomJob(null,null,null,null,0,0,0,0,0,0,0,0,0,0);
}
 
Example #6
Source File: ZoomJob.java    From android-kline with Apache License 2.0 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new ZoomJob(null, 0, 0, 0, 0, null, null, null);
}
 
Example #7
Source File: AnimatedMoveViewJob.java    From android-kline with Apache License 2.0 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedMoveViewJob(null,0,0,null,null,0,0,0);
}
 
Example #8
Source File: ObjectPoolTest.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
public static ObjectPool getPool(){
    return pool;
}
 
Example #9
Source File: ObjectPoolTest.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
protected ObjectPool.Poolable instantiate(){
    return new TestPoolable(0,0);
}
 
Example #10
Source File: AnimatedMoveViewJob.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedMoveViewJob(null, 0, 0, null, null, 0, 0, 0);
}
 
Example #11
Source File: AnimatedZoomJob.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedZoomJob(null,null,null,null,0,0,0,0,0,0,0,0,0,0);
}
 
Example #12
Source File: ZoomJob.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new ZoomJob(null, 0, 0, 0, 0, null, null, null);
}
 
Example #13
Source File: AnimatedMoveViewJob.java    From Ticket-Analysis with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedMoveViewJob(null,0,0,null,null,0,0,0);
}
 
Example #14
Source File: ObjectPoolTest.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
public static ObjectPool getPool(){
    return pool;
}
 
Example #15
Source File: ObjectPoolTest.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate(){
    return new TestPoolable(0,0);
}
 
Example #16
Source File: MoveViewJob.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new MoveViewJob(mViewPortHandler, xValue, yValue, mTrans, view);
}
 
Example #17
Source File: AnimatedZoomJob.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new AnimatedZoomJob(null, null, null, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
 
Example #18
Source File: ZoomJob.java    From StockChart-MPAndroidChart with MIT License 4 votes vote down vote up
@Override
protected ObjectPool.Poolable instantiate() {
    return new ZoomJob(null, 0, 0, 0, 0, null, null, null);
}