Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java43 public abstract class ModernAsyncTask<Params, Progress, Result> {
74 private final WorkerRunnable<Params, Result> mWorker;
75 private final FutureTask<Result> mFuture;
114 mWorker = new WorkerRunnable<Params, Result>() { in ModernAsyncTask()
115 public Result call() throws Exception { in ModernAsyncTask()
123 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask()
127 final Result result = get(); in ModernAsyncTask()
145 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
152 private Result postResult(Result result) { in postResult()
154 new AsyncTaskResult<Result>(this, result)); in postResult()
[all …]
/frameworks/compile/libbcc/lib/CodeGen/
DCodeEmitter.cpp180 llvm::GenericValue &Result) { in GetConstantValue() argument
194 GetConstantValue(Op0, Result); in GetConstantValue()
195 Result.PointerVal = in GetConstantValue()
196 static_cast<uint8_t*>(Result.PointerVal) + Offset; in GetConstantValue()
204 GetConstantValue(Op0, Result); in GetConstantValue()
205 Result.IntVal = Result.IntVal.trunc(BitWidth); in GetConstantValue()
213 GetConstantValue(Op0, Result); in GetConstantValue()
214 Result.IntVal = Result.IntVal.zext(BitWidth); in GetConstantValue()
222 GetConstantValue(Op0, Result); in GetConstantValue()
223 Result.IntVal = Result.IntVal.sext(BitWidth); in GetConstantValue()
[all …]
DCodeEmitter.h274 void GetConstantValue(const llvm::Constant *C, llvm::GenericValue &Result);
/frameworks/base/core/java/android/os/
DAsyncTask.java156 public abstract class AsyncTask<Params, Progress, Result> {
193 private final WorkerRunnable<Params, Result> mWorker;
194 private final FutureTask<Result> mFuture;
259 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
260 public Result call() throws Exception { in AsyncTask()
268 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
272 final Result result = get(); in AsyncTask()
290 private void postResultIfNotInvoked(Result result) { in postResultIfNotInvoked()
297 private Result postResult(Result result) { in postResult()
299 new AsyncTaskResult<Result>(this, result)); in postResult()
[all …]
/frameworks/base/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/base/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/base/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;
28 import com.android.ide.common.rendering.api.Result.Status;
316 Result lastResult = SUCCESS.createResult(); in createSession()
345 public Result renderDrawable(DrawableParams params) { in renderDrawable()
347 Result lastResult = SUCCESS.createResult(); in renderDrawable()
380 public Result getViewParent(Object viewObject) { in getViewParent()
389 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()
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;
38 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 …]
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/slang/
Dslang_rs_spec_table.cpp440 int Result = 1; in main() local
443 Result = GenRSDataTypeEnums(DataTypes, NumDataTypes); in main()
445 Result = GenClangBuiltinEnum(ClangBuilitinsMap, NumClangBuilitins); in main()
447 Result = GenRSMatrixTypeEnums(DataTypes, NumDataTypes); in main()
449 Result = GenRSObjectTypeEnums(DataTypes, NumDataTypes); in main()
451 Result = GenRSDataKindEnums(DataKinds, NumDataKinds); in main()
453 Result = GenRSDataElementEnums(DataElements, NumDataElements); in main()
469 return Result; in main()
Dllvm-rs-link.cpp95 bool Result = true; in GetExportSymbols() local
98 Result |= GetExportSymbolNames(EV, RS_EXPORT_VAR_NAME, Names); in GetExportSymbols()
101 Result |= GetExportSymbolNames(EF, RS_EXPORT_FUNC_NAME, Names); in GetExportSymbols()
102 return Result; in GetExportSymbols()
/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()
99 Result result = preAnimation(); in run()
/frameworks/base/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/base/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/base/services/sensorservice/
Dtraits.h68 typedef T Result;
72 typedef U Result;
112 typedef typename Select<isStdArith || isPointer, T, const T&>::Result ParameterType;
/frameworks/base/docs/html/guide/appendix/
Dmarket-filters.jd169 <strong>Result</strong>: Android Market will not show the app to a user of a
176 <strong>Result</strong>: Android Market will show the app to users on all
181 <strong>Result</strong>: Android Market will show the app to all users,
200 … on a device that does not have a five-way navigational control. <strong>Result</strong>: Android …
202 …s not include a <code>&lt;uses-configuration&gt;</code> element. <strong>Result</strong>: Android …
221 <strong>Result</strong>: Android Market will not show the app to the user. </p>
224 element. <strong>Result</strong>: Android Market will show the app to all users,
248 …manifest. <strong>Result</strong>: Market assumes that the app requires the highest of the indica…
251 …rching for apps on a device that supports OpenGL-ES version 2.0. <strong>Result</strong>: Android …
257 … version (for example, a device running Android 1.5 or earlier). <strong>Result</strong>: Android …
[all …]
Dg-app-intents.jd20 <th scope="col">Result</th>
/frameworks/base/core/jni/android/graphics/
DInterpolator.cpp60 SkInterpolatorBase::Result result; in Interpolator_timeToValues()
/frameworks/base/docs/html/resources/articles/
Dpainless-threading.jd134 …eveloper.android.com/reference/android/os/AsyncTask.html#onPostExecute%28Result%29">onPostExecute(…
135 …eveloper.android.com/reference/android/os/AsyncTask.html#onPostExecute%28Result%29">onPostExecute(…

12