Searched defs:hw (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DLayerDim.cpp46 void LayerDim::onDraw(const sp<const DisplayDevice>& hw, argument
52 computeGeometry(hw, mesh, useIdentityTransform);
H A DLayer.cpp183 const sp<const DisplayDevice> hw(mFlinger->getDefaultDisplayDevice());
184 updateTransformHint(hw);
215 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */,
461 Rect Layer::computeInitialCrop(const sp<const DisplayDevice>& hw) const {
480 if (!activeCrop.intersect(hw->getViewport(), &activeCrop)) {
491 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const {
500 Rect activeCrop = computeInitialCrop(hw);
503 auto parentCrop = p->computeInitialCrop(hw);
585 const sp<const DisplayDevice>& hw,
608 if (isSecure() && !hw
900 setPerFrameData(const sp<const DisplayDevice>& hw, HWComposer::HWCLayerInterface& layer) argument
977 getPosition( const sp<const DisplayDevice>& hw) argument
1005 draw(const sp<const DisplayDevice>& hw, const Region& clip) const argument
1009 draw(const sp<const DisplayDevice>& hw, bool useIdentityTransform) const argument
1039 onDraw(const sp<const DisplayDevice>& hw, const Region& clip, bool useIdentityTransform) const argument
1137 clearWithOpenGL(const sp<const DisplayDevice>& hw, float red, float green, float blue, float alpha) const argument
1152 drawWithOpenGL(const sp<const DisplayDevice>& hw, bool useIdentityTransform) const argument
1380 computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh, bool useIdentityTransform) const argument
[all...]
H A DSurfaceFlinger.cpp741 sp<const DisplayDevice> hw(getDefaultDisplayDevice());
742 info.orientation = hw->getOrientation();
808 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { argument
809 ALOGD("Set active config mode=%d, type=%d flinger=%p", mode, hw->getDisplayType(),
811 int32_t type = hw->getDisplayType();
812 int currentMode = hw->getActiveConfig();
815 ALOGD("Screen type=%d is already mode=%d", hw->getDisplayType(), mode);
824 hw->setActiveConfig(mode);
845 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay));
846 if (hw
899 setActiveColorModeInternal(const sp<DisplayDevice>& hw, android_color_mode_t mode) argument
1189 sp<DisplayDevice> hw = new DisplayDevice(this, DisplayDevice::DISPLAY_PRIMARY, type, isSecure, local
2090 sp<DisplayDevice> hw = local
3182 setPowerModeInternal(const sp<DisplayDevice>& hw, int mode) argument
4180 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
4251 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
4415 checkScreenshot(size_t w, size_t s, size_t h, void const* vaddr, const sp<const DisplayDevice>& hw, int32_t minLayerZ, int32_t maxLayerZ) argument
[all...]
H A DSurfaceFlinger_hwc1.cpp567 sp<DisplayDevice> hw = new DisplayDevice(this, local
576 hw->setPowerMode(HWC_POWER_MODE_NORMAL);
578 mDisplays.add(token, hw);
716 sp<const DisplayDevice> hw(getDefaultDisplayDevice());
717 info.orientation = hw->getOrientation();
777 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { argument
778 ALOGD("Set active config mode=%d, type=%d flinger=%p", mode, hw->getDisplayType(),
780 int32_t type = hw->getDisplayType();
781 int currentMode = hw->getActiveConfig();
784 ALOGD("Screen type=%d is already mode=%d", hw
1755 sp<DisplayDevice> hw = new DisplayDevice(this, local
2123 doDisplayComposition(const sp<const DisplayDevice>& hw, const Region& inDirtyRegion) argument
2180 doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty) argument
2308 drawWormhole(const sp<const DisplayDevice>& hw, const Region& region) const argument
2842 setPowerModeInternal(const sp<DisplayDevice>& hw, int mode) argument
3781 renderScreenImplLocked( const sp<const DisplayDevice>& hw, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool yswap, bool useIdentityTransform, Transform::orientation_flags rotation) argument
3854 captureScreenImplLocked( const sp<const DisplayDevice>& hw, const sp<IGraphicBufferProducer>& producer, Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, int32_t minLayerZ, int32_t maxLayerZ, bool useIdentityTransform, Transform::orientation_flags rotation, bool isLocalScreenshot) argument
4010 checkScreenshot(size_t w, size_t s, size_t h, void const* vaddr, const sp<const DisplayDevice>& hw, int32_t minLayerZ, int32_t maxLayerZ) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DHardwareConfig.java199 public int compareTo(HardwareConfig hw) { argument
201 String two = hw.toString();
H A DTelephonyDevController.java87 HardwareConfig hw = new HardwareConfig(hwString);
88 if (hw != null) {
89 if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_MODEM) {
90 updateOrInsert(hw, mModems);
91 } else if (hw.type == HardwareConfig.DEV_HARDWARE_TYPE_SIM) {
92 updateOrInsert(hw, mSims);
147 private static void updateOrInsert(HardwareConfig hw, ArrayList<HardwareConfig> list) { argument
154 if (item.uuid.compareTo(hw.uuid) == 0) {
159 if (DBG) logd("updateOrInsert: inserting: " + hw);
160 list.add(hw);
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java166 final DisplayListCanvas hw = (DisplayListCanvas) c;
167 startPendingAnimation(hw, p);
170 return drawHardware(hw);
192 * @param hw hardware canvas on which the animation should draw
195 private void startPendingAnimation(DisplayListCanvas hw, Paint p) { argument
200 mHardwareAnimator.start(hw);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp941 CameraHardwareInterface *hw = hwi(w); local
944 if (hw->mPreviewScalingMode != NOT_SET) {
945 native_window_set_scaling_mode(a, hw->mPreviewScalingMode);
947 if (hw->mPreviewTransform != NOT_SET) {
948 native_window_set_buffers_transform(a, hw->mPreviewTransform);
950 if (hw->mPreviewWidth != NOT_SET) {
952 hw->mPreviewWidth, hw->mPreviewHeight);
953 native_window_set_buffers_format(a, hw->mPreviewFormat);
955 if (hw
974 CameraHardwareInterface *hw = hwi(w); local
989 CameraHardwareInterface *hw = hwi(w); local
1006 CameraHardwareInterface *hw = hwi(w); local
1014 CameraHardwareInterface *hw = hwi(w); local
[all...]

Completed in 1460 milliseconds