| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | brightness.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-46/packages/expo-brightness' 5 packageName: 'expo-brightness' 6 iconUrl: '/static/images/packages/expo-brightness.png' 14 An API to get and set screen brightness. 16 …brightness setting, and each app has its own brightness setting that can optionally override the g… 26 <SnackInline label='Basic Brightness Usage' dependencies={['expo-brightness']}> 31 import * as Brightness from 'expo-brightness'; 67 import * as Brightness from 'expo-brightness'; 70 <APISection packageName="expo-brightness" apiName="Brightness" /> 76 An error occurred when getting or setting the app brightness. [all …]
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | brightness.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-47/packages/expo-brightness' 5 packageName: 'expo-brightness' 6 iconUrl: '/static/images/packages/expo-brightness.png' 14 An API to get and set screen brightness. 16 …brightness setting, and each app has its own brightness setting that can optionally override the g… 26 <SnackInline label='Basic Brightness Usage' dependencies={['expo-brightness']}> 31 import * as Brightness from 'expo-brightness'; 67 import * as Brightness from 'expo-brightness'; 70 <APISection packageName="expo-brightness" apiName="Brightness" /> 76 An error occurred when getting or setting the app brightness. [all …]
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | brightness.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/main/packages/expo-brightness' 5 packageName: 'expo-brightness' 6 iconUrl: '/static/images/packages/expo-brightness.png' 16 An API to get and set screen brightness. 18 …brightness setting, and each app has its own brightness setting that can optionally override the g… 36 <SnackInline label='Basic Brightness Usage' dependencies={['expo-brightness']}> 41 import * as Brightness from 'expo-brightness'; 77 import * as Brightness from 'expo-brightness'; 80 <APISection packageName="expo-brightness" apiName="Brightness" /> 86 An error occurred when getting or setting the app brightness. [all …]
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | brightness.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-49/packages/expo-brightness' 5 packageName: 'expo-brightness' 6 iconUrl: '/static/images/packages/expo-brightness.png' 16 An API to get and set screen brightness. 18 …brightness setting, and each app has its own brightness setting that can optionally override the g… 36 <SnackInline label='Basic Brightness Usage' dependencies={['expo-brightness']}> 41 import * as Brightness from 'expo-brightness'; 77 import * as Brightness from 'expo-brightness'; 80 <APISection packageName="expo-brightness" apiName="Brightness" /> 86 An error occurred when getting or setting the app brightness. [all …]
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | brightness.mdx | 4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-48/packages/expo-brightness' 5 packageName: 'expo-brightness' 6 iconUrl: '/static/images/packages/expo-brightness.png' 16 An API to get and set screen brightness. 18 …brightness setting, and each app has its own brightness setting that can optionally override the g… 36 <SnackInline label='Basic Brightness Usage' dependencies={['expo-brightness']}> 41 import * as Brightness from 'expo-brightness'; 77 import * as Brightness from 'expo-brightness'; 80 <APISection packageName="expo-brightness" apiName="Brightness" /> 86 An error occurred when getting or setting the app brightness. [all …]
|
| /expo/packages/expo-brightness/ |
| H A D | README.md | 2 <a href="https://docs.expo.dev/versions/latest/sdk/brightness/"> 4 src="../../.github/resources/expo-brightness.svg" 5 alt="expo-brightness" 10 Provides an API to get and set screen brightness. 14 … branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/brightness.mdx) 15 …Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/brightness/) 19 …ocumentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/brightness/). 28 npx expo install expo-brightness
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | BrightnessScreen.tsx | 2 import * as Brightness from 'expo-brightness'; 38 const [brightness, setBrightness] = React.useState<number | null>(null); 48 const brightness = await Brightness.getBrightnessAsync(); 50 setBrightness(brightness); 55 const brightnessLevelListener = Brightness.addBrightnessListener(({ brightness }) => { 56 setBrightness(brightness); 74 setSliderBrightness((brightness) => ({ ...brightness, [type]: value })); 83 Brightness: brightness,
|
| /expo/packages/expo-brightness/build/ |
| H A D | Brightness.js.map | 1 …brightness mode cannot be determined.\n */\n UNKNOWN = 0,\n /**\n * Mode in which the device…
|
| H A D | Brightness.d.ts | 21 brightness: number;
|
| /expo/packages/expo-brightness/android/src/main/java/expo/modules/brightness/ |
| H A D | BrightnessModule.kt | 1 package expo.modules.brightness in <lambda>() 38 … val brightness = if (lp.screenBrightness == WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE) { in <lambda>() constant 45 return@AsyncFunction brightness in <lambda>() 110 val brightness = Settings.System.getFloat( in <lambda>() constant 115 (brightness + 1.0f) / 2 in <lambda>() 117 val brightness = Settings.System.getString( in <lambda>() constant 121 brightness.toInt() / 255f in <lambda>()
|
| H A D | Exceptions.kt | 1 package expo.modules.brightness
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/brightness/ |
| H A D | BrightnessModule.kt | 1 package abi49_0_0.expo.modules.brightness in <lambda>() 39 … val brightness = if (lp.screenBrightness == WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE) { in <lambda>() constant 46 return@AsyncFunction brightness in <lambda>() 111 val brightness = Settings.System.getFloat( in <lambda>() constant 116 (brightness + 1.0f) / 2 in <lambda>() 118 val brightness = Settings.System.getString( in <lambda>() constant 122 brightness.toInt() / 255f in <lambda>()
|
| H A D | Exceptions.kt | 1 package abi49_0_0.expo.modules.brightness
|
| /expo/packages/expo-camera/src/ts-declarations/ |
| H A D | image-capture.d.ts | 54 brightness: MediaSettingsRange; 78 brightness?: W3C.ConstrainDouble; 99 brightness: number; 120 brightness: boolean;
|
| /expo/packages/expo-brightness/ios/ |
| H A D | BrightnessModule.swift | 42 UIScreen.main.brightness = brightnessValue in definition() 47 return UIScreen.main.brightness in definition() 82 sendEvent(brightnessChangeEvent, ["brightness": UIScreen.main.brightness]) in brightnessDidChange()
|
| /expo/ios/versioned/sdk48/ExpoBrightness/ |
| H A D | BrightnessModule.swift | 42 UIScreen.main.brightness = brightnessValue in definition() 47 return UIScreen.main.brightness in definition() 82 sendEvent(brightnessChangeEvent, ["brightness": UIScreen.main.brightness]) in brightnessDidChange()
|
| /expo/ios/versioned/sdk49/ExpoBrightness/ |
| H A D | BrightnessModule.swift | 42 UIScreen.main.brightness = brightnessValue in definition() 47 return UIScreen.main.brightness in definition() 82 sendEvent(brightnessChangeEvent, ["brightness": UIScreen.main.brightness]) in brightnessDidChange()
|
| /expo/ios/versioned/sdk47/EXBrightness/EXBrightness/ |
| H A D | ABI47_0_0EXBrightness.m | 75 [UIScreen mainScreen].brightness = [brightnessValue floatValue]; 86 result = [UIScreen mainScreen].brightness; 98 result = [UIScreen mainScreen].brightness; 100 [_eventEmitter sendEventWithName:@"Expo.brightnessDidChange" body:@{@"brightness": @(result)}];
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/brightness/ |
| H A D | BrightnessModule.kt | 1 package abi47_0_0.expo.modules.brightness 87 val brightness = Settings.System.getFloat( in getSystemBrightnessAsync() constant 92 promise.resolve((brightness + 1.0f) / 2) in getSystemBrightnessAsync() 94 val brightness = Settings.System.getString( in getSystemBrightnessAsync() constant 98 promise.resolve(brightness.toInt() / 255f) in getSystemBrightnessAsync()
|
| H A D | BrightnessPackage.kt | 1 package abi47_0_0.expo.modules.brightness
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/brightness/ |
| H A D | BrightnessModule.kt | 1 package abi48_0_0.expo.modules.brightness 87 val brightness = Settings.System.getFloat( in getSystemBrightnessAsync() constant 92 promise.resolve((brightness + 1.0f) / 2) in getSystemBrightnessAsync() 94 val brightness = Settings.System.getString( in getSystemBrightnessAsync() constant 98 promise.resolve(brightness.toInt() / 255f) in getSystemBrightnessAsync()
|
| H A D | BrightnessPackage.kt | 1 package abi48_0_0.expo.modules.brightness
|
| /expo/packages/expo-maps/ios/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 30 clusterObject.color?.getHue(&hue, saturation: nil, brightness: nil, alpha: nil) in setClusters() 31 let color = clusterObject.color ?? UIColor(hue: hue, saturation: 1, brightness: 1, alpha: 1) in setClusters()
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 30 clusterObject.color?.getHue(&hue, saturation: nil, brightness: nil, alpha: nil) in setClusters() 31 let color = clusterObject.color ?? UIColor(hue: hue, saturation: 1, brightness: 1, alpha: 1) in setClusters()
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 30 clusterObject.color?.getHue(&hue, saturation: nil, brightness: nil, alpha: nil) in setClusters() 31 let color = clusterObject.color ?? UIColor(hue: hue, saturation: 1, brightness: 1, alpha: 1) in setClusters()
|