Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java47 abstract class ModernAsyncTask<Params, Progress, Result> {
78 private final WorkerRunnable<Params, Result> mWorker;
79 private final FutureTask<Result> mFuture;
118 mWorker = new WorkerRunnable<Params, Result>() { in ModernAsyncTask()
119 public Result call() throws Exception { in ModernAsyncTask()
127 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask()
131 final Result result = get(); in ModernAsyncTask()
149 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
156 private Result postResult(Result result) { in postResult()
158 new AsyncTaskResult<Result>(this, result)); in postResult()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java177 public abstract class AsyncTask<Params, Progress, Result> {
215 private final WorkerRunnable<Params, Result> mWorker;
216 private final FutureTask<Result> mFuture;
286 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
287 public Result call() throws Exception { in AsyncTask()
296 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
313 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
320 private Result postResult(Result result) { in postResult()
323 new AsyncTaskResult<Result>(this, result)); in postResult()
353 protected abstract Result doInBackground(Params... params); in doInBackground()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
DarmCOMM.c517 OMX_S32 Result; in armSatAdd_S32() local
519 Result = Value1 + Value2; in armSatAdd_S32()
524 if( (Result^Value1) >= 0) in armSatAdd_S32()
527 return Result; in armSatAdd_S32()
547 return Result; in armSatAdd_S32()
570 OMX_S64 Result; in armSatAdd_S64() local
572 Result = Value1 + Value2; in armSatAdd_S64()
577 if( (Result^Value1) >= 0) in armSatAdd_S64()
580 return Result; in armSatAdd_S64()
587 Result = OMX_MAX_S64; in armSatAdd_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
DarmCOMM.c517 OMX_S32 Result; in armSatAdd_S32() local
519 Result = Value1 + Value2; in armSatAdd_S32()
524 if( (Result^Value1) >= 0) in armSatAdd_S32()
527 return Result; in armSatAdd_S32()
547 return Result; in armSatAdd_S32()
570 OMX_S64 Result; in armSatAdd_S64() local
572 Result = Value1 + Value2; in armSatAdd_S64()
577 if( (Result^Value1) >= 0) in armSatAdd_S64()
580 return Result; in armSatAdd_S64()
587 Result = OMX_MAX_S64; in armSatAdd_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
DarmCOMM.c517 OMX_S32 Result; in armSatAdd_S32() local
519 Result = Value1 + Value2; in armSatAdd_S32()
524 if( (Result^Value1) >= 0) in armSatAdd_S32()
527 return Result; in armSatAdd_S32()
547 return Result; in armSatAdd_S32()
570 OMX_S64 Result; in armSatAdd_S64() local
572 Result = Value1 + Value2; in armSatAdd_S64()
577 if( (Result^Value1) >= 0) in armSatAdd_S64()
580 return Result; in armSatAdd_S64()
587 Result = OMX_MAX_S64; in armSatAdd_S64()
[all …]
/frameworks/base/core/java/android/database/
DCursorJoiner.java46 implements Iterator<CursorJoiner.Result>, Iterable<CursorJoiner.Result> {
50 private Result mCompareResult;
58 public enum Result { enum in CursorJoiner
98 public Iterator<Result> iterator() { in iterator()
156 public Result next() { in next()
171 mCompareResult = Result.LEFT; in next()
174 mCompareResult = Result.BOTH; in next()
177 mCompareResult = Result.RIGHT; in next()
181 mCompareResult = Result.LEFT; in next()
184 mCompareResult = Result.RIGHT; in next()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java23 import com.android.ide.common.rendering.api.Result;
44 private Result mLastResult;
47 public Result getResult() { in getResult()
77 public Result getProperty(Object objectView, String propertyName) { in getProperty()
83 public Result setProperty(Object objectView, String propertyName, String propertyValue) { in setProperty()
89 public Result render(long timeout) { in render()
105 public Result animate(Object targetObject, String animationName, in animate()
123 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, in insertChild()
146 public Result moveChild(Object parentView, Object childView, int index, in moveChild()
171 public Result removeChild(Object childView, IAnimationListener listener) { in removeChild()
[all …]
DBridge.java19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_UNKNOWN;
20 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
28 import com.android.ide.common.rendering.api.Result;
29 import com.android.ide.common.rendering.api.Result.Status;
315 Result lastResult = SUCCESS.createResult(); in createSession()
344 public Result renderDrawable(DrawableParams params) { in renderDrawable()
346 Result lastResult = SUCCESS.createResult(); in renderDrawable()
379 public Result getViewParent(Object viewObject) { in getViewParent()
388 public Result getViewIndex(Object viewObject) { in getViewIndex()
/frameworks/base/graphics/java/android/graphics/
DInterpolator.java111 public enum Result { enum in Interpolator
121 public Result timeToValues(float[] values) { in timeToValues()
136 public Result timeToValues(int msec, float[] values) { in timeToValues()
141 case 0: return Result.NORMAL; in timeToValues()
142 case 1: return Result.FREEZE_START; in timeToValues()
143 default: return Result.FREEZE_END; in timeToValues()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_LOCK_INTERRUPTED;
20 import static com.android.ide.common.rendering.api.Result.Status.ERROR_TIMEOUT;
21 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
28 import com.android.ide.common.rendering.api.Result;
95 public Result init(long timeout) { in init()
98 Result result = acquireLock(timeout); in init()
155 public Result acquire(long timeout) { in acquire()
162 Result result = acquireLock(timeout); in acquire()
185 private Result acquireLock(long timeout) { in acquireLock()
DPlayAnimationThread.java20 import com.android.ide.common.rendering.api.Result;
21 import com.android.ide.common.rendering.api.Result.Status;
37 public Result preAnimation() { in preAnimation()
DRenderSessionImpl.java19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_ANIM_NOT_FOUND;
20 import static com.android.ide.common.rendering.api.Result.Status.ERROR_INFLATION;
21 import static com.android.ide.common.rendering.api.Result.Status.ERROR_NOT_INFLATED;
22 import static com.android.ide.common.rendering.api.Result.Status.ERROR_UNKNOWN;
23 import static com.android.ide.common.rendering.api.Result.Status.ERROR_VIEWGROUP_NO_CHILDREN;
24 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
35 import com.android.ide.common.rendering.api.Result;
36 import com.android.ide.common.rendering.api.Result.Status;
187 public Result init(long timeout) { in init()
188 Result result = super.init(timeout); in init()
[all …]
DRenderDrawable.java19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_UNKNOWN;
24 import com.android.ide.common.rendering.api.Result;
25 import com.android.ide.common.rendering.api.Result.Status;
58 public Result render() { in render()
/frameworks/support/v4/java/android/support/v4/os/
DAsyncTaskCompat.java36 public static <Params, Progress, Result> AsyncTask<Params, Progress, Result> executeParallel( in executeParallel()
37 AsyncTask<Params, Progress, Result> task, in executeParallel()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp154 typedef Relocator::Result (*ApplyFunctionType)(MipsRelocationInfo&,
184 Relocator::Result
202 Result res = triple.func(info, *this); in applyRelocation()
795 MipsRelocator::Result none(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in none()
802 MipsRelocator::Result abs32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in abs32()
833 MipsRelocator::Result rel26(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in rel26()
857 MipsRelocator::Result hi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in hi16()
881 MipsRelocator::Result lo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in lo16()
907 MipsRelocator::Result gprel16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in gprel16()
928 MipsRelocator::Result got16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) in got16()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java21 import com.android.ide.common.rendering.api.Result;
22 import com.android.ide.common.rendering.api.Result.Status;
80 public abstract Result preAnimation(); in preAnimation()
105 Result result = preAnimation(); in run()
/frameworks/support/v4/honeycomb/android/support/v4/os/
DAsyncTaskCompatHoneycomb.java26 static <Params, Progress, Result> void executeParallel( in executeParallel()
27 AsyncTask<Params, Progress, Result> task, in executeParallel()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Relocator.cpp34 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc,
73 Relocator::Result AArch64Relocator::applyRelocation(Relocation& pRelocation) in applyRelocation()
413 Relocator::Result none(Relocation& pReloc, AArch64Relocator& pParent) in none()
418 Relocator::Result unsupport(Relocation& pReloc, AArch64Relocator& pParent) in unsupport()
426 Relocator::Result abs(Relocation& pReloc, AArch64Relocator& pParent) in abs()
474 Relocator::Result rel(Relocation& pReloc, AArch64Relocator& pParent) in rel()
508 Relocator::Result add_abs_lo12(Relocation& pReloc, AArch64Relocator& pParent) in add_abs_lo12()
522 Relocator::Result
543 Relocator::Result call(Relocation& pReloc, AArch64Relocator& pParent) in call()
574 Relocator::Result condbr(Relocation& pReloc, AArch64Relocator& pParent) in condbr()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp322 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc,
351 Relocator::Result
833 ARMRelocator::Result none(Relocation& pReloc, ARMRelocator& pParent) in none()
839 ARMRelocator::Result abs32(Relocation& pReloc, ARMRelocator& pParent) in abs32()
876 ARMRelocator::Result rel32(Relocation& pReloc, ARMRelocator& pParent) in rel32()
901 ARMRelocator::Result base_prel(Relocation& pReloc, ARMRelocator& pParent) in base_prel()
910 ARMRelocator::Result gotoff32(Relocation& pReloc, ARMRelocator& pParent) in gotoff32()
924 ARMRelocator::Result got_brel(Relocation& pReloc, ARMRelocator& pParent) in got_brel()
943 ARMRelocator::Result got_prel(Relocation& pReloc, ARMRelocator& pParent) in got_prel()
963 ARMRelocator::Result thm_jump8(Relocation& pReloc, ARMRelocator& pParent) in thm_jump8()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DResolver.h45 struct Result { struct
69 Result& pResult) const { in resolveAgain() argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_IDCT8x8blk_s.s66 Result RN 0 label
82 MOV Result, #OMX_Sts_NoErr
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_IDCT8x8blk_s.s66 Result RN 0 label
82 MOV Result, #OMX_Sts_NoErr
/frameworks/compile/libbcc/tools/bcc_strip_attr/
Dbcc_strip_attr.cpp96 Module* Result = ParseIRFile(FN, Err, Context); in LoadFile() local
97 if (Result) { in LoadFile()
98 return std::unique_ptr<Module>(Result); // Load successful! in LoadFile()
/frameworks/native/services/sensorservice/
Dtraits.h68 typedef T Result;
72 typedef U Result;
112 typedef typename Select<isStdArith || isPointer, T, const T&>::Result ParameterType;
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp152 typedef Relocator::Result (*X86_32ApplyFunctionType)(Relocation& pReloc,
303 Relocator::Result
874 Relocator::Result none(Relocation& pReloc, X86_32Relocator& pParent) in none()
882 Relocator::Result abs(Relocation& pReloc, X86_32Relocator& pParent) in abs()
923 Relocator::Result rel(Relocation& pReloc, X86_32Relocator& pParent) in rel()
959 Relocator::Result gotoff32(Relocation& pReloc, X86_32Relocator& pParent) in gotoff32()
970 Relocator::Result gotpc32(Relocation& pReloc, X86_32Relocator& pParent) in gotpc32()
980 Relocator::Result got32(Relocation& pReloc, X86_32Relocator& pParent) in got32()
1002 Relocator::Result plt32(Relocation& pReloc, X86_32Relocator& pParent) in plt32()
1017 Relocator::Result tls_gd(Relocation& pReloc, X86_32Relocator& pParent) in tls_gd()
[all …]

1234