/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/ |
D | XDefine.js | 19 static ReSize(w, h) { argument 20 Scr.width = w; 23 Scr.logich = (Scr.logicw * h) / w; 25 Scr.logicw = (Scr.logich * w) / h; 28 static setLogicScreenSize(w, h) { argument 29 if (Scr.logicw == w && Scr.width == w && Scr.logich == h && Scr.height == h) { 32 Scr.logicw = w; 34 Scr.width = w;
|
D | RightMenu.js | 89 let w = RightMenu.MENUW; 104 e.rect = [x, y, w, 32]; 113 e.rect = [x, y, w, 0]; 114 X2DFast.px2f.drawLine(x, y, x + w, y, 0xff808080, 2); 136 x + w, 151 x + w, 160 RightMenu.DrawGroup(e.group, x + w, y); 165 x + w,
|
D | XTools.js | 21 static InRect(xx, yy, x, y, w, h) { argument 28 if (xx > x + w) {
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
D | XTexture.js | 73 this.ximages[rid] = { stat: 1, path: path, tex: texture, w: 1, h: 1 }; property 101 XTexture.pinstance_.ximages[rid].w = image.width; 107 TmpCut(rid, x = 0, y = 0, w = -1, h = -1, ww = 1024, hh = 1024) { argument 112 if (w == -1) { 113 w = ww; 122 w: w, property 126 u1: (x + w) / ww, 128 u2: (x + w) / ww, 136 makeCut(rid, x = 0, y = 0, w = -1, h = -1, ww = -1, hh = -1) { argument 138 ww = this.ximages[rid].w; [all …]
|
D | XMat4.js | 129 PerspectiveMatrix(n, f, w = NO_INITIAL_VAL, h = NO_INITIAL_VAL) { argument 130 if (w == NO_INITIAL_VAL) { 131 w = Scr.logicw; 136 let ret = w / (tan((30 * pi) / 180) * 2); 138 this.mat[0][0] = 2 / w; 148 orthoMat(x, y, w, h) { argument 149 this.move(-w / 2 - x, -h / 2 - y, 0); 150 this.scale(2 / w, -2 / h, 0);
|
D | X2DFast.js | 94 fillRect(x, y, w, h, c = 0xffffffff) { argument 95 this.drawCut(this.whiteCut, x, y, w, h, 0, 0, 0, c); 112 drawRect(x, y, w, h, c = 0xffffffff, lw = 1) { argument 113 this.drawLine(x - lw / 2, y, x + w + lw / 2, y, c, lw); 115 this.drawLine(x + w, y + h, x + w, y, c, lw); 116 this.drawLine(x + w + lw / 2, y + h, x - lw / 2, y + h, c, lw); 176 … pcut.w, 0.0, 0.0, pcut.u1, pcut.v1, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], c, 177 …pcut.w, pcut.h, 0.0, pcut.u2, pcut.v2, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], … 179 …pcut.w, pcut.h, 0.0, pcut.u2, pcut.v2, m00, m01, m10, m11, m22, m30, m31, this.ridDict[pcut.rid], … 209 X2DFast.testTransform(intX, intY, sw, sh, ra, ox, oy, pcut.w, pcut.h); [all …]
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | CanvasInput.js | 20 static SetSafeArea(x, y, w, h) { argument 21 CanvasInput.SAFE_AREA = [x, y, w, h]; 23 static Reset(x, y, w, h, value, cb, cb2) { argument 24 CanvasInput.SAFE_AREA = [x, y, w, h]; 28 ci.style.width = w + 'px';
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/control/ |
D | XSelect.js | 32 move(x, y, w, h) { argument 35 this.posW_ = w; 46 let w = this.posW_; 50 this.pm2f_.fillRect(x, y, w, h, this.backgroundColor_); 69 this.pm2f_.fillRect(x, y + h, w, 20 * this.list_.length, this.backgroundColor_); 72 this.pm2f_.fillRect(x, y + h + i * 20, w, 20, this.backgroundColor_); 75 this.pm2f_.fillRect(x, y + h + i * 20, w, 20, this.backgroundColor_);
|
D | XButton.js | 19 constructor(x, y, w, h, name) { argument 21 this.move(x, y, w, h); 31 move(x, y, w, h) { argument 34 this.posW_ = w;
|
/drivers/peripheral/display/composer/test/moduletest/ |
D | hdi_device_test.cpp | 240 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer() 288 static void AdjustLayerSettings(std::vector<LayerSettings> &settings, uint32_t w, uint32_t h) in AdjustLayerSettings() argument 293 DISPLAY_TEST_LOGD(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings() 294 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings() 296 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings() 297 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings() 300 setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, setting.rectRatio.h, in AdjustLayerSettings() 301 … setting.displayRect.x, setting.displayRect.y, setting.displayRect.w, setting.displayRect.h); in AdjustLayerSettings() 304 if ((setting.bufferRatio.h > 0.0f) || (setting.bufferRatio.w > 0.0f)) { in AdjustLayerSettings() 306 setting.bufferSize.w = static_cast<uint32_t>(setting.bufferRatio.w * w); in AdjustLayerSettings() [all …]
|
/drivers/peripheral/display/composer/test/common/ |
D | hdi_composition_check.h | 37 void Init(uint32_t w, uint32_t h) in Init() argument 39 dispW_ = w; in Init()
|
D | display_test_utils.h | 42 float w = 0; // ratio member 47 float w; member 52 uint32_t w; member
|
D | hdi_composition_check.cpp | 66 if ((point.x >= RECT.x) && (point.x < (RECT.x + RECT.w)) && (point.y >= RECT.y) && in GetCheckColors() 92 GetCheckPoints({RECT.x + RECT.w, RECT.y}, points); in Check() 93 GetCheckPoints({RECT.x + RECT.w, RECT.y + RECT.h}, points); in Check() 95 … GetCheckPoints({RECT.x + RECT.w / MID_POS, RECT.y + RECT.h / MID_POS}, points); // center point in Check()
|
D | hdi_test_layer.cpp | 29 HdiGrallocBuffer::HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, PixelFormat fmt) in HdiGrallocBuffer() argument 33 info.width = w; in HdiGrallocBuffer() 156 displayRect_.w = layerInfo_.width; in Init() 181 …OGD("x : %{public}d y : %{public}d w : %{public}d h : %{public}d", rect.x, rect.y, rect.w, rect.h); in SetLayerPosition() 187 …OGD("x : %{public}d y : %{public}d w : %{public}d h : %{public}d", rect.x, rect.y, rect.w, rect.h); in SetLayerCrop()
|
D | hdi_test_display.h | 38 std::shared_ptr<HdiTestLayer> CreateHdiTestLayer(uint32_t w, uint32_t h);
|
/drivers/peripheral/display/composer/test/unittest/ |
D | hdi_composer_ut.cpp | 62 …std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bu… in CreateTestLayer() 110 static void AdjustLayerSettings(std::vector<LayerSettings> &settings, uint32_t w, uint32_t h) in AdjustLayerSettings() argument 115 DISPLAY_TEST_LOGD(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings() 116 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings() 118 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings() 119 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings() 122 setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, setting.rectRatio.h, in AdjustLayerSettings() 123 … setting.displayRect.x, setting.displayRect.y, setting.displayRect.w, setting.displayRect.h); in AdjustLayerSettings() 126 if ((setting.bufferRatio.h > 0.0f) || (setting.bufferRatio.w > 0.0f)) { in AdjustLayerSettings() 128 setting.bufferSize.w = static_cast<uint32_t>(setting.bufferRatio.w * w); in AdjustLayerSettings() [all …]
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/ |
D | MainEditor.js | 603 let w = pm2f.getTextWidth(type == DataType.ATTR ? s + ' = ' : s, size); 605 return w; 642 return w; 683 arrayNodeProc(w, pm2f, data, offx, offy) { argument 689 …w = pm2f.drawText('.', 14, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / 2 - MainEditor.N… 691 …w = pm2f.drawText('..', 14, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / 2 - MainEditor.… 693 …w = pm2f.drawText('...', 14, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / 2 - MainEditor… 699 …w = pm2f.drawText(ss, 14, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / 2 - MainEditor.NO… 703 configNodeProc(w, pm2f, data, offx, offy, path) { argument 705 this.setNodeButton(pm2f, offx, offy + data.posY, w, MainEditor.NODE_TEXT_SIZE, path, data); [all …]
|
/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
D | hdi_layer.cpp | 92 …displayRect x: %{public}d y : %{public}d w : %{public}d h : %{public}d", rect->x, rect->y, rect->w, in SetLayerSize() 102 rect->y, rect->w, rect->h); in SetLayerCrop() 139 region->x, region->y, region->w, region->h); in SetLayerDirtyRegion() 146 rect->y, rect->w, rect->h); in SetLayerVisibleRegion()
|
/drivers/peripheral/light/hdi_service/ |
D | light_if_service.cpp | 130 lightEffectVdi.lightColor.colorValue.wrgbColor.w = effect.lightColor.colorValue.wrgbColor.w; in TurnOnLight() 162 lightColorVdi.colorValue.wrgbColor.w = iter.colorValue.wrgbColor.w; in TurnOnMultiLights()
|
/drivers/peripheral/light/hdi_impl/ |
D | light_interface_impl.cpp | 91 lightEffect.lightColor.colorValue.wrgbColor.w = effect.lightColor.colorValue.wrgbColor.w; in TurnOnLight() 122 lightColor[i++].colorValue.wrgbColor.w = iter.colorValue.wrgbColor.w; in TurnOnMultiLights()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
D | hdf_utils.py | 30 self.upper = '_'.join([w.upper() for w in self.words_list]) 31 self.lower = '_'.join([w.lower() for w in self.words_list]) 32 self.upper_camel = ''.join([w.capitalize() for w in self.words_list]) 56 words_list.extend([w for w in word.split('_') if w])
|
/drivers/peripheral/light/interfaces/v1_0/ |
D | ilight_type_vdi.h | 70 uint8_t w; member
|
/drivers/peripheral/light/interfaces/include/ |
D | light_type.h | 145 uint8_t w; /** White value range 0-255. */ member
|
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/ |
D | fb_composition.cpp | 31 fbFrameInfo.rect.w = clientlayer.GetCurrentBuffer()->GetWidth(); in FbFresh()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/composer/ |
D | hdi_gfx_composition.cpp | 160 …("crop x: %{public}d y : %{public}d w : %{public}d h: %{public}d", crop.x, crop.y, crop.w, crop.h); in BlitLayer() 162 displayRect.w, displayRect.h); in BlitLayer()
|