Home
last modified time | relevance | path

Searched full:foo* (Results 51 - 75 of 32546) sorted by relevance

12345678910>>...1302

/applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/ets/MainAbility/pages/
H A DFoodDetail.ets17 import { FoodData } from '../model/FoodData'
27 Text('Food Detail')
42 struct FoodImageDisplay {
43 private foodItem: FoodData
47 Image(this.foodItem.image)
49 Text(this.foodItem.name)
61 private foodItem: FoodData
[all...]
/applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/ets/MainAbility/model/
H A DFoodDataModels.ets16 import { FoodData, Category } from './FoodData'
18 const FoodComposition: any[] = [
33 export function initializeOnStartup(): Array<FoodData> {
34 let FoodDataArray: Array<FoodData> = []
35 FoodComposition.forEach(item => {
36 FoodDataArray.push(new FoodData(item.name, item.image, item.category, item.calories, item.protein, item.fat, item.carbohydrates, item.vitaminC));
38 return FoodDataArray;
[all...]
H A DFoodData.ets25 export class FoodData {
/applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/main/
H A Dconfig.json57 "pages/FoodCategoryList",
58 "pages/FoodDetail"
/applications/standard/app_samples/code/UI/ArkTsComponentCollection/DefiningPageLayoutAndConnection/entry/src/ohosTest/ets/test/
H A Dapp.test.ets46 it(BUNDLE + 'FoodGridFunction_001', 0, async function () {
48 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 begin')
51 // foodDetail
52 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 foodDetail')
53 await driver.assertComponentExist(ON.id('foodGridItem1'))
54 let foodGridItem1 = await driver.findComponent(ON.id('foodGridItem1'))
55 await foodGridItem1.click()
58 hilog.info(DOMAIN, TAG, BUNDLE + 'FoodGridFunction_001 bac
[all...]
/applications/standard/app_samples/code/UI/ArkTsComponentCollection/MediaQuery/entry/src/main/resources/base/element/
H A Dstring.json25 "value": "Winter Olympic food record."
/applications/standard/app_samples/code/UI/ArkTsComponentCollection/MediaQuery/entry/src/main/resources/en_US/element/
H A Dstring.json21 "value": "Winter Olympic food record."
/applications/standard/camera/common/src/main/ets/default/redux/actions/
H A DAction.ts141 public static initFootBarWidth(footBarWidth: number): ActionData {
144 data: { footBarWidth: footBarWidth }
148 public static initFootBarHeight(footBarHeight: number): ActionData {
151 data: { footBarHeight: footBarHeight }
/applications/standard/camera/common/src/main/ets/default/redux/reducers/
H A DContextReducer.ts23 footBarWidth: number,
24 footBarHeight: number,
38 footBarWidth: 0,
39 footBarHeight: 0,
57 ...state, footBarWidth: action.data.footBarWidth
61 ...state, footBarHeight: action.data.footBarHeight
/applications/standard/camera/common/src/main/ets/default/utils/
H A DComponentPosition.ts23 private static footBarComponentWidth: number = 98
24 private static footBarInPreviewMaxMargin: number = 98
54 public static footBarPosition(screenWidth: number, screenHeight: number, previewWidth: number, previewHeight: number) {
55 Log.info(`${this.TAG} footBarPosition `)
61 let position = screenWidth <= previewWidth + this.footBarInPreviewMaxMargin * 2 ?
62 { x: (screenWidth / 2 + previewWidth / 2 - this.footBarComponentWidth), y: 0 } :
63 { x: (screenWidth * 3 / 4 + previewWidth / 4 - this.footBarComponentWidth / 2), y: 0}
103 if (screenWidth < previewWidth + this.footBarInPreviewMaxMargin * 2) {
104 xPosition = (screenWidth / 2 + previewWidth / 2 - ((this.footBarComponentWidth + this.zoomViewComponentWidth
/applications/standard/camera/product/phone/src/main/ets/pages/
H A DPreviewArea.ets58 footBarHeight: number = 0;
379 footBarHeight: state.contextReducer.footBarHeight,
H A DFootBar.ets36 class FootBarDispatcher {
45 export struct FootBar {
46 private TAG: string = '[FootBar]:';
50 private mAction: FootBarDispatcher = new FootBarDispatcher();
H A Dindex.ets35 import { FootBar } from './FootBar';
49 footBarHeight: number = 0;
71 public initFootBarHeight(footBarHeight: number): void {
72 this.mDispatch(Action.initFootBarHeight(footBarHeight));
139 footBarHeight: state.contextReducer.footBarHeight,
158 let footBarHeight: number = 0;
160 footBarHeight = px2vp(dis.width) * (4 / 3) - 160;
162 footBarHeight
[all...]
/applications/standard/camera/product/tablet/src/main/ets/pages/
H A DPreviewAreaLand.ets65 footBarHeight: number = 0;
383 footBarHeight: state.contextReducer.footBarHeight,
H A DindexLand.ets35 import { FootBarLand } from './FootBarLand';
366 FootBarLand({ screenSize: $screenSize })
371 } : ComponentPosition.footBarPosition(this.screenSize.width, this.screenSize.height,
H A DFootBarLand.ets44 class FootBarDispatcher {
53 export struct FootBarLand {
54 private TAG: string = '[FootBarLand]:';
59 private mAction: FootBarDispatcher = new FootBarDispatcher();
/applications/standard/dlp_manager/entry/src/main/ets/common/
H A Dconstant.ets18 public static FOOTER_ROW_WIDTH = '100%';
19 public static FOOTER_ROW_MARGIN = 8;
20 public static FOOTER_ROW_PAD_LEFT = 16;
21 public static FOOTER_ROW_PAD_RIGHT = 16;
29 public static FOOTER_WIDTH_BUTTON = '48%';
118 public static FOOTER_OPACITY_ONE = 1;
119 public static FOOTER_OPACITY_SEPC = 0.6;
120 public static FOOTER_OPACITY_MID = 0.5;
/applications/standard/dlp_manager/entry/src/main/ets/common/encryptionComponents/
H A DAddStaff.ets276 .width(Constants.FOOTER_ROW_WIDTH)
356 .opacity(this.focusFlag ? Constants.FOOTER_OPACITY_SEPC : Constants.FOOTER_OPACITY_ONE);
381 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
H A Dstaff.ets144 .opacity(Constants.FOOTER_OPACITY_MID);
153 .opacity(Constants.FOOTER_OPACITY_MID)
H A Dpermission_type_select.ets110 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
168 .opacity(this.isDisable ? Constants.DU_LINE_WIDTH : Constants.FOOTER_OPACITY_ONE)
/applications/standard/dlp_manager/entry/src/main/ets/pages/
H A DencryptionProtection.ets689 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
719 .width(Constants.FOOTER_ROW_WIDTH)
742 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
772 .width(Constants.FOOTER_ROW_WIDTH)
818 .width(Constants.FOOTER_ROW_WIDTH)
H A DchangeEncryption.ets525 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
550 .width(Constants.FOOTER_ROW_WIDTH)
568 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
593 .width(Constants.FOOTER_ROW_WIDTH)
594 .margin({ top: Constants.FOOTER_ROW_MARGIN })
679 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
705 .width(Constants.FOOTER_ROW_WIDTH)
723 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
749 .width(Constants.FOOTER_ROW_WIDTH)
H A DencryptionSuccess.ets237 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
262 .width(Constants.FOOTER_ROW_WIDTH)
280 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
305 .width(Constants.FOOTER_ROW_WIDTH)
393 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
419 .width(Constants.FOOTER_ROW_WIDTH)
437 .fontSize(`${Constants.FOOTER_ROW_PAD_RIGHT}vp`)
463 .width(Constants.FOOTER_ROW_WIDTH)
595 .width(Constants.FOOTER_WIDTH_BUTTON)
638 left: Constants.FOOTER_ROW_PAD_LEFT,
[all...]
H A DpermissionStatus.ets228 Text(this.authPerm === Constants.FOOTER_OPACITY_ONE ?
240 ForEach(this.authPerm === Constants.FOOTER_OPACITY_ONE ?
273 .height(Constants.FOOTER_OPACITY_ONE)
285 if (this.authPerm === Constants.FOOTER_OPACITY_ONE) {
331 top: Constants.FOOTER_ROW_PAD_LEFT,
333 left: Constants.FOOTER_ROW_PAD_LEFT,
334 right: Constants.FOOTER_ROW_PAD_RIGHT
/base/hiviewdfx/hiview/base/utility/
H A Dfreeze_json_util.cpp177 char foot = target[target.size() - 1]; in HasBeenWrapped() local
178 return (head == COMMON_QUOTE[0] && foot == COMMON_QUOTE[0]) || in HasBeenWrapped()
179 (head == COMMON_LEFT_BRACE[0] && foot == COMMON_RIGHT_BRACE[0]) || in HasBeenWrapped()
180 (head == COMMON_LEFT_SQUARE_BRACKET[0] && foot == COMMON_RIGHT_SQUARE_BREAKET[0]); in HasBeenWrapped()

Completed in 54 milliseconds

12345678910>>...1302