Home
last modified time | relevance | path

Searched refs:trans (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp100 Transaction trans{*this}; in LogController() local
101 Status<int> status = trans.Send<int>(DVR_POSE_LOG_CONTROLLER, &enable, in LogController()
113 Transaction trans{*this}; in Freeze() local
114 Status<int> status = trans.Send<int>(DVR_POSE_FREEZE, &frozen_state, in Freeze()
123 Transaction trans{*this}; in SetMode() local
125 trans.Send<int>(DVR_POSE_SET_MODE, &mode, sizeof(mode), nullptr, 0); in SetMode()
134 Transaction trans{*this}; in GetMode() local
136 trans.Send<int>(DVR_POSE_GET_MODE, nullptr, 0, &mode, sizeof(mode)); in GetMode()
146 Transaction trans{*this}; in GetTangoReaderHandle() local
147 Status<LocalChannelHandle> status = trans.Send<LocalChannelHandle>( in GetTangoReaderHandle()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp266 Transaction trans{*this}; in GetServiceId() local
267 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_SERVICE_ID)); in GetServiceId()
272 Transaction trans{*this}; in SetTestChannel() local
273 return ReturnStatusOrError(trans.Send<int>(TEST_OP_SET_TEST_CHANNEL)); in SetTestChannel()
284 Transaction trans{*this}; in SendAsync() local
290 Transaction trans{*this}; in GetThisChannelId() local
291 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_THIS_CHANNEL_ID)); in GetThisChannelId()
296 Transaction trans{*this}; in GetTestChannelId() local
297 return ReturnStatusOrError(trans.Send<int>(TEST_OP_GET_TEST_CHANNEL_ID)); in GetTestChannelId()
303 Transaction trans{*this}; in CheckChannelIdArgument() local
[all …]
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java250 float trans; field in EpicenterTranslateClipReveal.State
254 public State(int lower, int upper, float trans) { in State() argument
257 this.trans = trans; in State()
268 mTemp.trans = startValue.trans + (int) ((endValue.trans - startValue.trans) * fraction); in evaluate()
296 tempState.trans = object.getTranslationX(); in get()
297 tempState.lower = tempRect.left + (int) tempState.trans; in get()
298 tempState.upper = tempRect.right + (int) tempState.trans; in get()
300 tempState.trans = object.getTranslationY(); in get()
301 tempState.lower = tempRect.top + (int) tempState.trans; in get()
302 tempState.upper = tempRect.bottom + (int) tempState.trans; in get()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dremote_method.h338 Transaction trans{client};
339 rpc::ClientPayload<rpc::SendBuffer> payload{trans};
342 return trans.Send<R>(Opcode, payload.Data(), payload.Size(), nullptr, 0);
348 Transaction trans{client};
350 rpc::ClientPayload<rpc::SendBuffer> send_payload{trans};
354 rpc::ClientPayload<rpc::ReplyBuffer> reply_payload{trans};
359 trans.Send<void>(Opcode, send_payload.Data(), send_payload.Size(),
391 Transaction trans{client};
393 rpc::ClientPayload<rpc::SendBuffer> send_payload{trans};
398 auto status = trans.Send<R>(Opcode, send_payload.Data(),
[all …]
/frameworks/base/obex/javax/obex/
DClientSession.java75 public ClientSession(final ObexTransport trans) throws IOException { in ClientSession() argument
76 mInput = trans.openInputStream(); in ClientSession()
77 mOutput = trans.openOutputStream(); in ClientSession()
80 mLocalSrmSupported = trans.isSrmSupported(); in ClientSession()
81 mTransport = trans; in ClientSession()
91 public ClientSession(final ObexTransport trans, final boolean supportsSrm) throws IOException { in ClientSession() argument
92 mInput = trans.openInputStream(); in ClientSession()
93 mOutput = trans.openOutputStream(); in ClientSession()
97 mTransport = trans; in ClientSession()
DServerSession.java74 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) in ServerSession() argument
77 mTransport = trans; in ServerSession()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java254 Animation trans = new TranslateAnimation(0, dx, 0, dy); in hide() local
255 trans.setDuration(ANIM_DURATION); in hide()
256 trans.setFillAfter(true); in hide()
257 tab.startAnimation(trans); in hide()
258 text.startAnimation(trans); in hide()
271 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); in show() local
272 trans.setDuration(ANIM_DURATION); in show()
273 tab.startAnimation(trans); in show()
274 text.startAnimation(trans); in show()
315 TranslateAnimation trans = new TranslateAnimation(0, dx, 0, dy); in reset() local
[all …]
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_tool.cpp55 android::pdx::Transaction trans{*this}; in Reload() local
56 auto status = trans.Send<void>(android::pdx::opcodes::REPORT_SYSPROP_CHANGE, in Reload()
65 android::pdx::Transaction trans{*this}; in Dump() local
67 auto status = trans.Send<int>(android::pdx::opcodes::DUMP_STATE, nullptr, 0, in Dump()
/frameworks/base/libs/hwui/jni/
DGIFMovie.cpp278 static void getTransparencyAndDisposalMethod(const SavedImage* frame, bool* trans, int* disposal) in getTransparencyAndDisposalMethod() argument
280 *trans = false; in getTransparencyAndDisposalMethod()
286 *trans = ((eb->Bytes[0] & 1) == 1); in getTransparencyAndDisposalMethod()
403 bool trans; in onGetBitmap() local
405 getTransparencyAndDisposalMethod(cur, &trans, &disposal); in onGetBitmap()
406 if (!trans && gif->SColorMap != nullptr) { in onGetBitmap()
/frameworks/rs/driver/
DrsdShader.cpp393 GLenum trans[] = { in setupSampler() local
425 trans[s->mHal.state.minFilter]); in setupSampler()
427 switch (trans[s->mHal.state.minFilter]) { in setupSampler()
434 trans[s->mHal.state.minFilter]); in setupSampler()
449 trans[s->mHal.state.minFilter]); in setupSampler()
454 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_MAG_FILTER, trans[s->mHal.state.magFilter]); in setupSampler()
455 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, trans[s->mHal.state.wrapS]); in setupSampler()
456 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_T, trans[s->mHal.state.wrapT]); in setupSampler()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java138 byte[] trans = new byte[3]; in bcdPlmnToString()
139 trans[0] = (byte) ((data[0 + offset] << 4) | ((data[0 + offset] >> 4) & 0xF)); in bcdPlmnToString()
140 trans[1] = (byte) ((data[1 + offset] << 4) | (data[2 + offset] & 0xF)); in bcdPlmnToString()
141 trans[2] = (byte) ((data[2 + offset] & 0xF0) | ((data[1 + offset] >> 4) & 0xF)); in bcdPlmnToString()
142 String ret = bytesToHexString(trans); in bcdPlmnToString()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java620 final FragmentTransaction trans = mDecorToolbar.getViewGroup().isInEditMode() ? null : in selectTab() local
625 mSelectedTab.getCallback().onTabReselected(mSelectedTab, trans); in selectTab()
631 mSelectedTab.getCallback().onTabUnselected(mSelectedTab, trans); in selectTab()
635 mSelectedTab.getCallback().onTabSelected(mSelectedTab, trans); in selectTab()
639 if (trans != null && !trans.isEmpty()) { in selectTab()
640 trans.commit(); in selectTab()
/frameworks/base/media/jni/tuner/
DFrontendClient.cpp662 FrontendTransmissionMode trans; in getHidlStatusExt() local
665 trans.dvbt(static_cast<FrontendDvbtTransmissionMode>(aidlTran)); in getHidlStatusExt()
666 status.transmissionMode(trans); in getHidlStatusExt()
670 trans.isdbt(static_cast<FrontendIsdbtMode>(aidlTran)); in getHidlStatusExt()
671 status.transmissionMode(trans); in getHidlStatusExt()
675 trans.dtmb(static_cast<FrontendDtmbTransmissionMode>(aidlTran)); in getHidlStatusExt()
676 status.transmissionMode(trans); in getHidlStatusExt()
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp803 const float trans = M_SQRT2 * 16.0f; in TEST_P() local
804 Transaction().setMatrix(layer, rot, rot, -rot, rot).setPosition(layer, trans, 0).apply(); in TEST_P()
812 const int32_t unit = int32_t(trans / 2); in TEST_P()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp377 hardware::Return<void> trans = mSource->getStopTimeOffsetUs( in configure() local
383 if (!trans.isOk()) { in configure()
384 res = trans.isDeadObject() ? DEAD_OBJECT : UNKNOWN_ERROR; in configure()
/frameworks/av/media/libstagefright/
DACodec.cpp7789 hardware::Return<void> trans = mGraphicBufferSource->getStopTimeOffsetUs( in setParameters() local
7794 if (!trans.isOk()) { in setParameters()
7795 err = trans.isDeadObject() ? DEAD_OBJECT : UNKNOWN_ERROR; in setParameters()