Home
last modified time | relevance | path

Searched refs:ir (Results 1 – 18 of 18) sorted by relevance

/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
Dmath_err.rs54 float ir;
55 SET_FLOAT_WORD(ir, ibits);
57 ir -= 1.5f;
58 float ir2 = ir*ir;
60 (0.666666667f * ir) -
62 (0.098765432f * ir*ir2) -
64 (0.026337449f * ir*ir2*ir2) -
/frameworks/base/core/jni/android/graphics/
DRegion.cpp93 SkIRect ir; in Region_op0() local
95 ir.set(left, top, right, bottom); in Region_op0()
96 bool result = dst->op(ir, (SkRegion::Op)op); in Region_op0()
103 SkIRect ir; in Region_op1() local
104 GraphicsJNI::jrect_to_irect(env, rectObject, &ir); in Region_op1()
105 bool result = dst->op(ir, *region, (SkRegion::Op)op); in Region_op1()
145 SkIRect ir; in Region_quickRejectIIII() local
146 ir.set(left, top, right, bottom); in Region_quickRejectIIII()
147 bool result = GetSkRegion(env, region)->quickReject(ir); in Region_quickRejectIIII()
DGraphics.cpp232 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect() argument
236 ir->set(env->GetIntField(obj, gRect_leftFieldID), in jrect_to_irect()
240 return ir; in jrect_to_irect()
243 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect() argument
247 env->SetIntField(obj, gRect_leftFieldID, ir.fLeft); in irect_to_jrect()
248 env->SetIntField(obj, gRect_topFieldID, ir.fTop); in irect_to_jrect()
249 env->SetIntField(obj, gRect_rightFieldID, ir.fRight); in irect_to_jrect()
250 env->SetIntField(obj, gRect_bottomFieldID, ir.fBottom); in irect_to_jrect()
294 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint() argument
298 env->SetIntField(obj, gPoint_xFieldID, ir.fX); in ipoint_to_jpoint()
[all …]
DPaint.cpp351 SkIRect ir; in doTextBounds() local
361 r.roundOut(&ir); in doTextBounds()
362 GraphicsJNI::irect_to_jrect(ir, env, bounds); in doTextBounds()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java138 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument
140 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
169 mIccRecords = ir; in CatService()
200 IccRecords ir = null; in getInstance() local
208 ir = ca.getIccRecords(); in getInstance()
221 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
226 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance()
227 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
232 mIccRecords = ir; in getInstance()
1112 IccRecords ir = null; in update() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java537 IccRecords ir = app.getIccRecords(); in registerAllAppEvents() local
538 if (ir != null) { in registerAllAppEvents()
540 ir.registerForRecordsLoaded(mHandler, EVENT_RECORDS_LOADED, null); in registerAllAppEvents()
541 ir.registerForRecordsEvents(mHandler, EVENT_ICC_RECORD_EVENTS, null); in registerAllAppEvents()
551 IccRecords ir = app.getIccRecords(); in unregisterAllAppEvents() local
552 if (ir != null) { in unregisterAllAppEvents()
553 ir.unregisterForRecordsLoaded(mHandler); in unregisterAllAppEvents()
554 ir.unregisterForRecordsEvents(mHandler); in unregisterAllAppEvents()
1017 IccRecords ir = app.getIccRecords(); in areAllRecordsLoaded() local
1018 if (ir == null || !ir.isLoaded()) { in areAllRecordsLoaded()
[all …]
/frameworks/base/core/jni/
Dandroid_text_MeasuredParagraph.cpp128 SkIRect ir; in nGetBounds() local
129 r.roundOut(&ir); in nGetBounds()
130 GraphicsJNI::irect_to_jrect(ir, env, bounds); in nGetBounds()
Dandroid_graphics_Canvas.cpp154 SkIRect ir; in getClipBounds() local
160 r.round(&ir); in getClipBounds()
162 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds); in getClipBounds()
/frameworks/base/services/core/jni/
Dcom_android_server_ConsumerIrService.cpp29 using ::android::hardware::ir::V1_0::IConsumerIr;
30 using ::android::hardware::ir::V1_0::ConsumerIrFreqRange;
DAndroid.bp119 "android.hardware.ir@1.0",
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp202 llvm::IRBuilder<> ir(&*Func.getEntryBlock().begin()); in attachDebugInfo() local
223 ir.CreateAlloca(arg.getType(), nullptr, arg.getName() + ".var"); in attachDebugInfo()
224 llvm::StoreInst *argStore = ir.CreateStore(&arg, argVar); in attachDebugInfo()
225 llvm::LoadInst *loadedVar = ir.CreateLoad(argVar, arg.getName() + ".l"); in attachDebugInfo()
/frameworks/base/media/java/android/media/
DImageReader.java742 final ImageReader ir = weakSelf.get(); in postEventFromNative() local
743 if (ir == null) { in postEventFromNative()
748 synchronized (ir.mListenerLock) { in postEventFromNative()
749 handler = ir.mListenerHandler; in postEventFromNative()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java323 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays() local
325 assertEquals(1, ir.length); in testArrays()
326 assertEquals(34, ir[0]); in testArrays()
/frameworks/base/tools/apilint/
Dapilint.py691 ir = rank(f.typ)
692 if ir and ir < cr:
696 ir = rank(m.typ)
697 if ir and ir < cr:
700 ir = rank(arg)
701 if ir and ir < cr:
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py439 ir = IntermediateResult(self.__currentOp)
440 self.__currentOp = ir
/frameworks/rs/driver/runtime/
Drs_cl.c1350 float ir; in native_log2() local
1351 SET_FLOAT_WORD(ir, ibits); in native_log2()
1352 ir -= 1.5f; in native_log2()
1353 float ir2 = ir*ir; in native_log2()
1355 ((0.666666667f / 0.693147181f) * ir) - in native_log2()
1357 ((0.098765432f / 0.693147181f) * ir*ir2) - in native_log2()
1359 ((0.026337449f / 0.693147181f) * ir*ir2*ir2) - in native_log2()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password137 �+Dg�sE�Q%�6g���E��fcU�;e�f�+��c�k��/���ir]���B�˃NX�cqa��:a�ސ��kl��b�Mc,.�Vh��Q��n�R��7��…
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java21728 int ir = 0; in broadcastIntentLocked() local
21770 while (it < NT && ir < NR) { in broadcastIntentLocked()
21775 curr = registeredReceivers.get(ir); in broadcastIntentLocked()
21780 ir++; in broadcastIntentLocked()
21791 while (ir < NR) { in broadcastIntentLocked()
21795 receivers.add(registeredReceivers.get(ir)); in broadcastIntentLocked()
21796 ir++; in broadcastIntentLocked()