OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:portrait
(Results
1 - 25
of
42
) sorted by null
1
2
/cts/tools/utils/
rm_dup_holo_imgs.py
34
#
portrait
folder. The landscape images will then be deleted as Android will
35
# look up landscape resources in the
portrait
folder if it doesn't exist in the
45
portrait
= getAllHashes(portDir)
47
for f in
portrait
:
48
if f in landscape and landscape[f] ==
portrait
[f]:
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/orientation/
OrientationTestFragment.java
35
Button
portrait
= (Button) v.findViewById(R.id.
portrait
);
local
36
portrait
.setOnClickListener(new View.OnClickListener() {
/external/lisa/libs/utils/android/
viewer.py
91
def run(self, out_dir, uri,
portrait
=True, collect=''):
101
:param
portrait
: If True, display mode will be set to '
portrait
' prior
122
Screen.set_orientation(self._target,
portrait
=
portrait
)
screen.py
28
def set_orientation(target, auto=True,
portrait
=None):
34
# Force manual orientation of
portrait
specified
35
if
portrait
is not None:
39
usr_mode = 0 if
portrait
else 1
40
usr_mode_str = '
PORTRAIT
' if
portrait
else 'LANDSCAPE'
56
# Force
PORTRAIT
mode when activation AUTO rotation
/external/autotest/client/site_tests/platform_TabletMode/
platform_TabletMode.py
47
# Spoof sensor 0 and sensor 1 to force laptop into
portrait
tablet mode.
65
"""Spoofs sensors to change into tablet
portrait
mode."""
145
logging.info("Entering
portrait
mode.")
147
portrait
= self._take_screenshot('
portrait
')
155
self._verify_difference(landscape,
portrait
)
156
self._verify_difference(
portrait
, laptop_end)
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
CameraConfigurationManager.java
57
// We're landscape-only, and have apparently seen issues with display thinking it's
portrait
60
Log.i(TAG, "Display reports
portrait
orientation; assuming this is incorrect");
136
boolean
portrait
) {
144
int supportedWidth =
portrait
? supportedPreviewSize.height : supportedPreviewSize.width;
145
int supportedHeight =
portrait
? supportedPreviewSize.width : supportedPreviewSize.height;
/external/curl/docs/cmdline-opts/
form.d
23
the form-field to which
portrait
.jpg will be the input:
25
curl -F profile=@
portrait
.jpg https://example.com/upload.cgi
/external/lisa/libs/utils/android/workloads/
camera_preview.py
80
# Force screen in
PORTRAIT
mode
81
Screen.set_orientation(self._target,
portrait
=True)
app_startup.py
94
# Force screen in
PORTRAIT
mode
95
Screen.set_orientation(self._target,
portrait
=True)
camera_startup.py
84
# Force screen in
PORTRAIT
mode
85
Screen.set_orientation(self._target,
portrait
=True)
youtube.py
80
Screen.set_orientation(self._target,
portrait
=False)
geekbench.py
85
# Force screen in
PORTRAIT
mode
86
Screen.set_orientation(self._target,
portrait
=True)
gmaps.py
81
# Force screen in
PORTRAIT
mode
82
Screen.set_orientation(self._target,
portrait
=True)
exoplayer.py
172
# Force screen in
PORTRAIT
mode
173
Screen.set_orientation(self._target,
portrait
=True)
sysapp.py
114
# Force screen in
PORTRAIT
mode
115
Screen.set_orientation(self._target,
portrait
=True)
systemui.py
125
# Force screen in
PORTRAIT
mode
126
Screen.set_orientation(self._target,
portrait
=True)
uibench.py
134
# Force screen in
PORTRAIT
mode
135
Screen.set_orientation(self._target,
portrait
=True)
jankbench.py
162
# Force screen in
PORTRAIT
mode
163
Screen.set_orientation(self._target,
portrait
=True)
/tools/acloud/public/
config_test.py
40
orientation: "
portrait
"
81
value: "
portrait
"
108
self.assertEquals(cfg.orientation, "
portrait
")
144
self.assertEquals(device_resolution, {"nexus5": "
portrait
"})
acloud_main.py
38
orientation: "
portrait
"
/packages/experimental/KBars/app/src/main/java/js/kbars/
KBarsActivity.java
102
boolean
portrait
;
115
portrait
= true;
117
portrait
= false;
119
if (
portrait
) {
/packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java
189
* Compute optimal font and icon sizes offscreen for both
portrait
and landscape orientations
194
final RemoteViews
portrait
= relayoutWidget(context, wm, widgetId, options, true);
local
196
final RemoteViews widget = new RemoteViews(landscape,
portrait
);
205
Bundle options, boolean
portrait
) {
243
final int targetWidthPx =
portrait
? minWidthPx : maxWidthPx;
244
final int targetHeightPx =
portrait
? maxHeightPx : minHeightPx;
/frameworks/base/core/tests/coretests/src/android/widget/
RemoteViewsTest.java
163
RemoteViews
portrait
= new RemoteViews(mPackage, 33);
local
166
RemoteViews views = new RemoteViews(landscape,
portrait
);
167
assertTrue(getParcelSize(views) < (getParcelSize(landscape) + getParcelSize(
portrait
)));
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
CameraManager.java
549
boolean
portrait
= rotation == 0 || rotation == 180;
551
if (!
portrait
&& !cameraIsFrontFacing) {
558
if (
portrait
&& cameraIsFrontFacing) {
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
PhoneWindowManagerInsetsTest.java
56
public void
portrait
() throws Exception {
method in class:PhoneWindowManagerInsetsTest
Completed in 238 milliseconds
1
2