Home
last modified time | relevance | path

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

/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/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/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/core/jni/android/graphics/
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.java135 byte[] trans = new byte[3]; in bcdPlmnToString()
136 trans[0] = (byte) ((data[0 + offset] << 4) | ((data[0 + offset] >> 4) & 0xF)); in bcdPlmnToString()
137 trans[1] = (byte) ((data[1 + offset] << 4) | (data[2 + offset] & 0xF)); in bcdPlmnToString()
138 trans[2] = (byte) ((data[2 + offset] & 0xF0) | ((data[1 + offset] >> 4) & 0xF)); in bcdPlmnToString()
139 String ret = bytesToHexString(trans); in bcdPlmnToString()
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl33 float trans = smoothstep(0., uPer85, uReveal);
34 diffuse = mix(diffuse, lum, trans);
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java619 final FragmentTransaction trans = mDecorToolbar.getViewGroup().isInEditMode() ? null : in selectTab() local
624 mSelectedTab.getCallback().onTabReselected(mSelectedTab, trans); in selectTab()
630 mSelectedTab.getCallback().onTabUnselected(mSelectedTab, trans); in selectTab()
634 mSelectedTab.getCallback().onTabSelected(mSelectedTab, trans); in selectTab()
638 if (trans != null && !trans.isEmpty()) { in selectTab()
639 trans.commit(); in selectTab()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java451 float trans = mRotatedBackground ? mDivision.getTranslationX() in updatePosition() local
453 int viewTop = (int) (mTmp2[index] + trans); in updatePosition()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp2106 const float trans = M_SQRT2 * 16.0f; in TEST_P() local
2107 Transaction().setMatrix(layer, rot, rot, -rot, rot).setPosition(layer, trans, 0).apply(); in TEST_P()
2115 const int32_t unit = int32_t(trans / 2); in TEST_P()