/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/ |
PinView.java | 15 private Bitmap pin; field in class:PinView 34 pin = BitmapFactory.decodeResource(this.getResources(), drawable.pushpin_blue); 35 float w = (density/420f) * pin.getWidth(); 36 float h = (density/420f) * pin.getHeight(); 37 pin = Bitmap.createScaledBitmap(pin, (int)w, (int)h, true); 44 // Don't draw pin before image is ready so it doesn't move around during setup. 51 if (sPin != null && pin != null) { 53 float vX = vPin.x - (pin.getWidth()/2); 54 float vY = vPin.y - pin.getHeight() [all...] |
/external/webrtc/webrtc/modules/video_capture/windows/ |
help_functions_ds.cc | 38 IPin* pin = NULL; local 46 // get first unconnected pin 47 hr = pPinEnum->Reset(); // set to first pin 49 while (S_OK == pPinEnum->Next(1, &pin, NULL)) 52 pin->QueryDirection(&pPinDir); 53 if (PINDIR_INPUT == pPinDir) // This is an input pin 56 if (S_OK != pin->ConnectedTo(&tempPin)) // The pint is not connected 59 return pin; 62 pin->Release(); 71 IPin* pin = NULL local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wps-ap-cli | 16 echo "Enter a PIN from a station to be enrolled to the network." 17 echo -n "Enrollee PIN: " 18 read pin 19 cpin=`$CLI wps_check_pin "$pin" | tail -1` 22 echo -n "Do you want to use this PIN (y/n)? " 26 cpin=`echo "$pin" | sed "s/[^1234567890]//g"` 34 echo "Invalid PIN: $pin" 37 echo "Enabling Enrollee PIN: $cpin" 51 echo "2: Enter Enrollee PIN" [all...] |
openCryptoki.conf | 6 # Please enter User PIN: 38 # set the PIN code; leave this out to configure the PIN to be requested 40 pin="123456"
|
/frameworks/base/wifi/java/android/net/wifi/ |
WpsResult.java | 36 public String pin; field in class:WpsResult 40 pin = null; 45 pin = null; 52 sbuf.append(" pin: ").append(pin); 66 pin = source.pin; 73 dest.writeString(pin); 82 result.pin = in.readString();
|
WpsInfo.java | 34 /** Display pin method configuration - pin is generated and displayed on device 38 /** Keypad pin method configuration - pin is entered on device 42 /** Label pin method configuration - pin is labelled on device 56 /** Passed with pin method KEYPAD 61 /** Passed with pin method configuration 64 public String pin; field in class:WpsInfo 71 pin = null [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_colormatrix.rs | 31 float4 pin = 0.f; 36 pin.xyzw = rsGetElementAt_float4(in, x, y); 39 pin.xyz = rsGetElementAt_float3(in, x, y); 42 pin.xy = rsGetElementAt_float2(in, x, y); 45 pin.x = rsGetElementAt_float(in, x, y); 66 pin = rsUnpackColor8888(u); 69 pin = rsMatrixMultiply(&m, pin); 70 pin += add; 75 rsSetElementAt_float4(out, pin, x, y) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 59 * wpas_dbus_iface_wps_pin - Establish the PIN number of the enrollee 72 char *pin = NULL; local 78 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 90 if (os_strlen(pin) > 0) 91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 100 "Could not init PIN"); 109 pin = npin; 111 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, 118 * wpas_dbus_iface_wps_reg - Request credentials using the PIN of the AP 130 char *pin = NULL local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InputStreamReaderTest.java | 32 PipedInputStream pin = new PipedInputStream(); local 33 PipedOutputStream pos = new PipedOutputStream(pin); 36 InputStreamReader reader = new InputStreamReader(pin);
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
vsync.c | 72 struct Gpio *pin; member in struct:SensorTask 113 if (!extiIsPendingGpio(data->pin)) { 125 extiClearPendingGpio(data->pin); 129 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) 131 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); 132 syscfgSetExtiPort(pin); 133 extiEnableIntGpio(pin, EXTI_TRIGGER_FALLING); 138 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) 141 extiDisableIntGpio(pin); 159 extiClearPendingGpio(mTask.pin); [all...] |
/device/google/contexthub/firmware/os/drivers/hall/ |
hall.c | 52 struct Gpio *pin; member in struct:SensorTask 68 bool pinState = gpioGet(mTask.pin); 86 bool pinState = gpioGet(data->pin); 88 if (!extiIsPendingGpio(data->pin)) { 100 extiClearPendingGpio(data->pin); 104 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) 106 gpioConfigInput(pin, GPIO_SPEED_LOW, GPIO_PULL_NONE); 107 syscfgSetExtiPort(pin); 108 extiEnableIntGpio(pin, EXTI_TRIGGER_BOTH); 113 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 40 public String pin; field in class:WifiP2pProvDiscEvent 51 * P2P-PROV-DISC-ENTER-PIN 42:fc:89:e1:e2:27 52 * P2P-PROV-DISC-SHOW-PIN 42:fc:89:e1:e2:27 44490607 66 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; 67 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; 75 pin = tokens[2]; 83 sbuf.append("\n pin: ").append(pin);
|
/frameworks/base/core/java/android/security/net/config/ |
PinSet.java | 26 new PinSet(Collections.<Pin>emptySet(), Long.MAX_VALUE); 28 public final Set<Pin> pins; 30 public PinSet(Set<Pin> pins, long expirationTime) { 41 for (Pin pin : pins) { 42 algorithms.add(pin.digestAlgorithm);
|
/system/tpm/trunks/ftdi/ |
support.c | 136 /* For I2C we need to ensure that the clock pin is set low prior to 227 int gpio_write(struct mpsse_context* mpsse, int pin, int direction) { 232 mpsse->bitbang |= (1 << pin); 234 mpsse->bitbang &= ~(1 << pin); 243 if (pin < NUM_GPIOL_PINS && mpsse->status == STOPPED) { 244 /* Convert pin number (0-3) to the corresponding pin bit */ 245 pin = (GPIO0 << pin); 248 mpsse->pstart |= pin; [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CheckHandshake.java | 35 String pin = CertificatePinner.pin(certificate); 36 if (blacklist.contains(pin)) { 37 throw new IOException("Blacklisted peer certificate: " + pin);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_connect.py | 19 print " -a <addr> [-p <pin>] [-g <go_intent>] \ " 25 print " -p = pin number (8 digits)" 66 global pin 79 pin,wps_method,go_intent): 86 self.pin = pin 155 # Display requires a pin, and a go intent of 15 157 if (self.pin != None): 158 self.p2p_connect_arguements.update({'pin':self.pin}) 228 pin = None variable in class:P2P_Connect [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CertificatePinner.java | 46 * The easiest way to pin a host is turn on pinning with a broken configuration 52 * <p>For example, to pin {@code https://publicobject.com}, start with a broken 95 * Pinning is per-hostname and/or per-wildcard pattern. To pin both 126 * {@link CertificatePinner} can not be used to pin self-signed certificate 162 // If we couldn't find a matching pin, format a nice exception. 168 message.append("\n ").append(pin(x509Certificate)) 172 for (ByteString pin : pins) { 173 message.append("\n sha1/").append(pin.base64()); 222 public static String pin(Certificate certificate) { method in class:CertificatePinner 241 * @param pins SHA-1 hashes. Each pin is a SHA-1 hash of [all...] |
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
misc_utils.h | 57 // Returns a string holding the wps pin. 58 inline std::string convertWpsPinToString(int pin) 61 snprintf(pin_str, sizeof(pin_str), "%08d", pin);
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/ |
misc_utils.h | 57 // Returns a string holding the wps pin. 58 inline std::string convertWpsPinToString(int pin) 61 snprintf(pin_str, sizeof(pin_str), "%08d", pin);
|
/frameworks/base/core/jni/ |
android_os_MemoryFile.cpp | 30 jboolean pin) { 32 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0));
|
/external/skia/src/core/ |
SkDeviceProfile.cpp | 17 static float pin(float value, float min, float max) { function 28 fGammaExponent = pin(gammaExp, 0, 10); 29 fContrastScale = pin(contrast, 0, 1);
|
/external/skqp/src/core/ |
SkDeviceProfile.cpp | 17 static float pin(float value, float min, float max) { function 28 fGammaExponent = pin(gammaExp, 0, 10); 29 fContrastScale = pin(contrast, 0, 1);
|
/external/autotest/client/site_tests/kernel_Lmbench/ |
kernel_Lmbench.py | 64 To improve determinism, we sometimes use taskset to pin to a CPU and
|
/external/autotest/server/cros/ |
usb_mux_controller.py | 23 # Values passed to each GPIO pin to enable a specific port. 89 def enable_gpio_pins(self, pin): 91 Enables the given GPIO pin by exporting the pin and setting the 94 @param pin: GPIO pin to be enabled. 97 if 'gpio' + pin not in self.host.servo.system_output(LS_GPIO_DIRECTORY): 98 self.host.servo.system(EXPORT_GPIO_PIN % pin) 99 self.host.servo.system(SET_GPIO_DIRECTION % pin)
|
/external/icu/icu4c/source/i18n/ |
smallintformatter.h | 34 int32_t pin(int32_t digitCount) const;
|