Home
last modified time | relevance | path

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

123

/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> {
214 private final WorkerRunnable<Params, Result> mWorker;
215 private final FutureTask<Result> mFuture;
281 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
282 public Result call() throws Exception { in AsyncTask()
291 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
308 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
315 private Result postResult(Result result) { in postResult()
318 new AsyncTaskResult<Result>(this, result)); in postResult()
348 protected abstract Result doInBackground(Params... params); in doInBackground()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
DarmCOMM.c502 OMX_S32 Result; in armSatAdd_S32() local
504 Result = Value1 + Value2; in armSatAdd_S32()
509 if( (Result^Value1) >= 0) in armSatAdd_S32()
512 return Result; in armSatAdd_S32()
532 return Result; in armSatAdd_S32()
555 OMX_S64 Result; in armSatAdd_S64() local
557 Result = Value1 + Value2; in armSatAdd_S64()
562 if( (Result^Value1) >= 0) in armSatAdd_S64()
565 return Result; in armSatAdd_S64()
572 Result = OMX_MAX_S64; in armSatAdd_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
DarmCOMM.c502 OMX_S32 Result; in armSatAdd_S32() local
504 Result = Value1 + Value2; in armSatAdd_S32()
509 if( (Result^Value1) >= 0) in armSatAdd_S32()
512 return Result; in armSatAdd_S32()
532 return Result; in armSatAdd_S32()
555 OMX_S64 Result; in armSatAdd_S64() local
557 Result = Value1 + Value2; in armSatAdd_S64()
562 if( (Result^Value1) >= 0) in armSatAdd_S64()
565 return Result; in armSatAdd_S64()
572 Result = OMX_MAX_S64; in armSatAdd_S64()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
DarmCOMM.c502 OMX_S32 Result; in armSatAdd_S32() local
504 Result = Value1 + Value2; in armSatAdd_S32()
509 if( (Result^Value1) >= 0) in armSatAdd_S32()
512 return Result; in armSatAdd_S32()
532 return Result; in armSatAdd_S32()
555 OMX_S64 Result; in armSatAdd_S64() local
557 Result = Value1 + Value2; in armSatAdd_S64()
562 if( (Result^Value1) >= 0) in armSatAdd_S64()
565 return Result; in armSatAdd_S64()
572 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()
72 public Result getProperty(Object objectView, String propertyName) { in getProperty()
78 public Result setProperty(Object objectView, String propertyName, String propertyValue) { in setProperty()
84 public Result render(long timeout) { in render()
100 public Result animate(Object targetObject, String animationName, in animate()
118 public Result insertChild(Object parentView, ILayoutPullParser childXml, int index, in insertChild()
141 public Result moveChild(Object parentView, Object childView, int index, in moveChild()
166 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;
26 import com.android.ide.common.rendering.api.Result;
27 import com.android.ide.common.rendering.api.Result.Status;
325 Result lastResult = SUCCESS.createResult(); in createSession()
354 public Result renderDrawable(DrawableParams params) { in renderDrawable()
356 Result lastResult = SUCCESS.createResult(); in renderDrawable()
389 public Result getViewParent(Object viewObject) { in getViewParent()
398 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;
26 import com.android.ide.common.rendering.api.Result;
93 public Result init(long timeout) { in init()
96 Result result = acquireLock(timeout); in init()
149 public Result acquire(long timeout) { in acquire()
156 Result result = acquireLock(timeout); in acquire()
179 private Result acquireLock(long timeout) { in acquireLock()
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;
164 public Result init(long timeout) { in init()
165 Result result = super.init(timeout); in init()
[all …]
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()
DRenderDrawable.java19 import static com.android.ide.common.rendering.api.Result.Status.ERROR_UNKNOWN;
23 import com.android.ide.common.rendering.api.Result;
24 import com.android.ide.common.rendering.api.Result.Status;
57 public Result render() { in render()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocationFactory.cpp49 typedef Result (*ApplyFunctionType)(Relocation& pReloc, in applyRelocation()
66 Result result = apply_functions[type].func(pRelocation, pLDInfo, *this); in applyRelocation()
394 ARMRelocationFactory::Result none(Relocation& pReloc, in none()
402 ARMRelocationFactory::Result abs32(Relocation& pReloc, in abs32()
442 ARMRelocationFactory::Result rel32(Relocation& pReloc, in rel32()
455 ARMRelocationFactory::Result base_prel(Relocation& pReloc, in base_prel()
466 ARMRelocationFactory::Result gotoff32(Relocation& pReloc, in gotoff32()
480 ARMRelocationFactory::Result got_brel(Relocation& pReloc, in got_brel()
496 ARMRelocationFactory::Result got_prel(Relocation& pReloc, in got_prel()
514 ARMRelocationFactory::Result call(Relocation& pReloc, in call()
[all …]
DARMRelocationFactory.h32 enum Result enum
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocationFactory.cpp38 typedef Result (*ApplyFunctionType)(Relocation&, in applyRelocation()
64 Result result = apply_functions[type].func(pRelocation, pLDInfo, *this); in applyRelocation()
215 MipsRelocationFactory::Result none(Relocation& pReloc, in none()
224 MipsRelocationFactory::Result abs32(Relocation& pReloc, in abs32()
246 MipsRelocationFactory::Result hi16(Relocation& pReloc, in hi16()
278 MipsRelocationFactory::Result lo16(Relocation& pReloc, in lo16()
305 MipsRelocationFactory::Result got16(Relocation& pReloc, in got16()
336 MipsRelocationFactory::Result call16(Relocation& pReloc, in call16()
350 MipsRelocationFactory::Result gprel32(Relocation& pReloc, in gprel32()
/frameworks/compile/mclinker/lib/Target/X86/
DX86RelocationFactory.cpp42 typedef Result (*ApplyFunctionType)(Relocation& pReloc, in applyRelocation()
68 Result result = apply_functions[type].func(pRelocation, pLDInfo, *this); in applyRelocation()
250 X86RelocationFactory::Result none(Relocation& pReloc, in none()
258 X86RelocationFactory::Result abs32(Relocation& pReloc, in abs32()
293 X86RelocationFactory::Result rel32(Relocation& pReloc, in rel32()
305 X86RelocationFactory::Result gotoff32(Relocation& pReloc, in gotoff32()
318 X86RelocationFactory::Result gotpc32(Relocation& pReloc, in gotpc32()
330 X86RelocationFactory::Result got32(Relocation& pReloc, in got32()
347 X86RelocationFactory::Result plt32(Relocation& pReloc, in plt32()
DX86RelocationFactory.h32 enum Result enum
/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/compile/slang/
Dslang_rs_spec_table.cpp385 int Result = 1; in main() local
388 Result = GenRSDataTypeEnums(DataTypes, NumDataTypes); in main()
390 Result = GenClangBuiltinEnum(ClangBuilitinsMap, NumClangBuilitins); in main()
392 Result = GenRSMatrixTypeEnums(DataTypes, NumDataTypes); in main()
394 Result = GenRSObjectTypeEnums(DataTypes, NumDataTypes); in main()
396 Result = GenRSDataElementEnums(DataElements, NumDataElements); in main()
410 return Result; in main()
Dllvm-rs-link.cpp98 bool Result = true; in GetExportSymbols() local
101 Result |= GetExportSymbolNames(EV, RS_EXPORT_VAR_NAME, Names); in GetExportSymbols()
104 Result |= GetExportSymbolNames(EF, RS_EXPORT_FUNC_NAME, Names); in GetExportSymbols()
105 return Result; in GetExportSymbols()
/frameworks/base/services/sensorservice/
Dtraits.h68 typedef T Result;
72 typedef U Result;
112 typedef typename Select<isStdArith || isPointer, T, const T&>::Result ParameterType;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_IDCT8x8blk_s.s52 Result RN 0 label
68 MOV Result, #OMX_Sts_NoErr
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_IDCT8x8blk_s.s52 Result RN 0 label
68 MOV Result, #OMX_Sts_NoErr
/frameworks/compile/mclinker/include/mcld/LD/
DResolver.h47 struct Result { struct
75 Result& pResult) { in resolveAgain()

123